diff options
author | Dan Armak <danarmak@gentoo.org> | 2003-05-07 11:05:58 +0000 |
---|---|---|
committer | Dan Armak <danarmak@gentoo.org> | 2003-05-07 11:05:58 +0000 |
commit | 2a6e83778300209f8737aa6a585a831d5dde80f9 (patch) | |
tree | 7d202dd4815977a209cd65697acfe59e8334c808 /app-doc/kdelibs-apidocs/kdelibs-apidocs-3.1.2.ebuild | |
parent | ebuilds for kde 3.1.2. it isn't released yet, the ebuilds are in testing. (diff) | |
download | gentoo-2-2a6e83778300209f8737aa6a585a831d5dde80f9.tar.gz gentoo-2-2a6e83778300209f8737aa6a585a831d5dde80f9.tar.bz2 gentoo-2-2a6e83778300209f8737aa6a585a831d5dde80f9.zip |
goes with kde 3.1.2
Diffstat (limited to 'app-doc/kdelibs-apidocs/kdelibs-apidocs-3.1.2.ebuild')
-rw-r--r-- | app-doc/kdelibs-apidocs/kdelibs-apidocs-3.1.2.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/app-doc/kdelibs-apidocs/kdelibs-apidocs-3.1.2.ebuild b/app-doc/kdelibs-apidocs/kdelibs-apidocs-3.1.2.ebuild new file mode 100644 index 000000000000..669ac6243ca9 --- /dev/null +++ b/app-doc/kdelibs-apidocs/kdelibs-apidocs-3.1.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-doc/kdelibs-apidocs/kdelibs-apidocs-3.1.2.ebuild,v 1.1 2003/05/07 11:05:47 danarmak Exp $ + +inherit kde + +IUSE="" +DESCRIPTION="API documentation autogenerated from the kde-base/kdelibs package" +KEYWORDS="x86 ~ppc ~sparc" +HOMEPAGE="http//developer.kde.org/" +SLOT="3.1" +LICENSE="GPL-2" +SRC_URI="mirror://kde/stable/$PV/src/kdelibs-${PV}.tar.bz2" +DEPEND="app-doc/doxygen app-doc/qt-docs" +RDEPEND="" + + +# get locations without messing with deps +set-qtdir 3 +set-kdedir $PV + +src_compile() { + ./configure # just give us a tolerable makefile + make apidox +} + +src_install() { + #make DESTDIR="$D" install-apidox # doesn't install all files + + einfo "Copying files..." + dodir ${KDEDIR}/share/doc/HTML/en/kdelibs-apidocs + cp -r ${S}/apidocs/* ${D}/$KDEDIR/share/doc/HTML/en/kdelibs-apidocs + + #cd ${S}/apidocs + #for x in k*; do + # MANDIRS="$MANDIRS:$KDEDIR/share/doc/HTML/en/kdelibs-apidocs/$x/man" + #done + #dodir /etc/env.d + #echo "MANPATH=$MANDIRS" > $D/etc/env.d/80kdelibs-apidocs +} + +pkg_postinst() { + # the link from $KDEDIR/share/doc/HTML/en/kdelibs-apidocs/common + # points to PORTAGE_TMPDIR, this fixes bug #15102 + rm $KDEDIR/share/doc/HTML/en/kdelibs-apidocs/common + ln -sf $KDEDIR/share/doc/HTML/en/common \ + $KDEDIR/share/doc/HTML/en/kdelibs-apidocs/common +} |