summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2003-04-08 18:03:17 +0000
committerDan Armak <danarmak@gentoo.org>2003-04-08 18:03:17 +0000
commitd341096991fa8d6617011a4e8b5ab10459e32c4b (patch)
treebed85eaab963ea1750a859412fb605444dcca060 /app-doc
parentnew kde - see -core psots (diff)
downloadgentoo-2-d341096991fa8d6617011a4e8b5ab10459e32c4b.tar.gz
gentoo-2-d341096991fa8d6617011a4e8b5ab10459e32c4b.tar.bz2
gentoo-2-d341096991fa8d6617011a4e8b5ab10459e32c4b.zip
new kde - see -core psots
Diffstat (limited to 'app-doc')
-rw-r--r--app-doc/kdelibs-apidocs/files/digest-kdelibs-apidocs-3.1.1a2
-rw-r--r--app-doc/kdelibs-apidocs/kdelibs-apidocs-3.1.1a.ebuild50
2 files changed, 51 insertions, 1 deletions
diff --git a/app-doc/kdelibs-apidocs/files/digest-kdelibs-apidocs-3.1.1a b/app-doc/kdelibs-apidocs/files/digest-kdelibs-apidocs-3.1.1a
index 444128c4cbb6..35ef38026efd 100644
--- a/app-doc/kdelibs-apidocs/files/digest-kdelibs-apidocs-3.1.1a
+++ b/app-doc/kdelibs-apidocs/files/digest-kdelibs-apidocs-3.1.1a
@@ -1,3 +1,3 @@
-MD5 260c723564e70b621a39564e9451aa5e /kdelibs-apidocs-3.1.1a.ebuild 1456
+MD5 6a4fc2f768046d2ecd78aecc1a8a4947 /kdelibs-apidocs-3.1.1a.ebuild 1460
MD5 5687b1f9d7e0698f63c35c53322c786a kdelibs-3.1.1a.diff.bz2 156512
MD5 15eb9412c589126844b277b9e80cfffc kdelibs-3.1.1.tar.bz2 10313173
diff --git a/app-doc/kdelibs-apidocs/kdelibs-apidocs-3.1.1a.ebuild b/app-doc/kdelibs-apidocs/kdelibs-apidocs-3.1.1a.ebuild
new file mode 100644
index 000000000000..9b2bd5a23a06
--- /dev/null
+++ b/app-doc/kdelibs-apidocs/kdelibs-apidocs-3.1.1a.ebuild
@@ -0,0 +1,50 @@
+# 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.1a.ebuild,v 1.1 2003/04/08 18:02:56 danarmak Exp $
+
+PN=kdelibs P=$PN-$PV inherit kde kde.org
+
+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"
+
+DEPEND="app-doc/doxygen app-doc/qt-docs"
+RDEPEND=""
+
+PATCHES1="$PATCHES1 ${WORKDIR}/kdelibs-3.1.1a.diff"
+S=${WORKDIR}/kdelibs-3.1.1
+
+# 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
+}