From fae909cdb2847de9f855157dc5be9dbbf555eb1b Mon Sep 17 00:00:00 2001 From: espie Date: Mon, 8 Apr 2002 20:50:40 +0000 Subject: [PATCH] using a `built' kdelibs adds extra files without useful contents (dcop generated stub classes). should fix inconsistent build issues. --- x11/kde/libs2-doc/Makefile | 22 +++++++++++++--------- x11/kde/libs2-doc/distinfo | 3 +++ x11/kde/libs2-doc/pkg/PLIST | 11 +---------- 3 files changed, 17 insertions(+), 19 deletions(-) create mode 100644 x11/kde/libs2-doc/distinfo diff --git a/x11/kde/libs2-doc/Makefile b/x11/kde/libs2-doc/Makefile index e15108e5070..894351e2fdb 100644 --- a/x11/kde/libs2-doc/Makefile +++ b/x11/kde/libs2-doc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2001/12/31 12:30:54 espie Exp $ +# $OpenBSD: Makefile,v 1.7 2002/04/08 20:50:40 espie Exp $ COMMENT= "X11 toolkit, libraries documentation" CATEGORIES= x11 x11/kde devel @@ -6,28 +6,32 @@ NEED_VERSION= 1.504 VERSION= 2.2.2 PKGNAME= kdelibs-doc-${VERSION} +DISTNAME= kdelibs-${VERSION} HOMEPAGE= http://www.kde.org -DISTFILES= -NO_CHECKSUM= Yes +MASTER_SITES= ${MASTER_SITE_KDE} +MASTER_SITE_SUBDIR= stable/${VERSION}/src +EXTRACT_SUFX= .tar.bz2 +DIST_SUBDIR= kde -BUILD_DEPENDS= ::x11/kde/kdoc2 ::x11/kde/libs2:patch ::x11/qt2,-html +BUILD_DEPENDS= ::x11/kde/kdoc2 ::x11/qt2,-html MAINTAINER= Marc Espie -WRKDIST= ${WRKDIR} DDIR= ${PREFIX}/share/doc/html/kdelibs +PATCH_LIST=${PORTSDIR}/x11/kde/libs2/patches/{p,patch}-* -KSRC=`cd ${PORTSDIR} && cd x11/kde/libs2 && make show=WRKSRC` +post-patch: + mkdir -p ${WRKDIST}/qt do-build: qt2kdoc -u "file:${LOCALBASE}/share/doc/qt2/html" \ - -o ${WRKDIST} ${LOCALBASE}/share/doc/qt2/html + -o ${WRKDIST}/qt ${LOCALBASE}/share/doc/qt2/html do-install: mkdir -p ${DDIR} - makekdedoc --libdir=${WRKDIST} --outputdir ${DDIR} \ + makekdedoc --libdir=${WRKDIST}/qt --outputdir ${DDIR} \ --url "file:${TRUEPREFIX}/share/doc/html/kdelibs" \ - --srcdir ${KSRC} + --srcdir ${WRKDIST} # GPL PERMIT_DISTFILES_CDROM= Yes diff --git a/x11/kde/libs2-doc/distinfo b/x11/kde/libs2-doc/distinfo new file mode 100644 index 00000000000..fded5ad3669 --- /dev/null +++ b/x11/kde/libs2-doc/distinfo @@ -0,0 +1,3 @@ +MD5 (kde/kdelibs-2.2.2.tar.bz2) = 51ec17dce9c62b50a3c2e97e4511cdcf +RMD160 (kde/kdelibs-2.2.2.tar.bz2) = 97973d3757984bd5329e4e6f4980b5fccbacbbb2 +SHA1 (kde/kdelibs-2.2.2.tar.bz2) = 6ae1096ffb547f317adca6b29cb9ce9dcaf1863c diff --git a/x11/kde/libs2-doc/pkg/PLIST b/x11/kde/libs2-doc/pkg/PLIST index 9f66ebf55c2..a4cd36b8cb6 100644 --- a/x11/kde/libs2-doc/pkg/PLIST +++ b/x11/kde/libs2-doc/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.6 2002/04/04 22:52:12 espie Exp $ +@comment $OpenBSD: PLIST,v 1.7 2002/04/08 20:50:40 espie Exp $ share/doc/html/kdelibs/dcop/DCOPClient.html share/doc/html/kdelibs/dcop/DCOPConnection.html share/doc/html/kdelibs/dcop/DCOPMsg.html @@ -1404,7 +1404,6 @@ share/doc/html/kdelibs/kio/KDEDesktopMimeType.html share/doc/html/kdelibs/kio/KDEDesktopMimeType__Service.html share/doc/html/kdelibs/kio/KDirLister.html share/doc/html/kdelibs/kio/KDirNotify.html -share/doc/html/kdelibs/kio/KDirNotify_stub.html share/doc/html/kdelibs/kio/KDirWatch.html share/doc/html/kdelibs/kio/KEMailSettings.html share/doc/html/kdelibs/kio/KExecMimeType.html @@ -1490,7 +1489,6 @@ share/doc/html/kdelibs/kio/KURLCompletion.html share/doc/html/kdelibs/kio/KURLPixmapProvider.html share/doc/html/kdelibs/kio/ListProgress.html share/doc/html/kdelibs/kio/Observer.html -share/doc/html/kdelibs/kio/Observer_stub.html share/doc/html/kdelibs/kio/ParseContext.html share/doc/html/kdelibs/kio/ParseTreeAND.html share/doc/html/kdelibs/kio/ParseTreeBOOL.html @@ -1515,7 +1513,6 @@ share/doc/html/kdelibs/kio/ProgressBase.html share/doc/html/kdelibs/kio/ProgressItem.html share/doc/html/kdelibs/kio/StatusbarProgress.html share/doc/html/kdelibs/kio/UIServer.html -share/doc/html/kdelibs/kio/UIServer_stub.html share/doc/html/kdelibs/kio/all-globals.html share/doc/html/kdelibs/kio/authinfo_h.html share/doc/html/kdelibs/kio/chmodjob_h.html @@ -1529,7 +1526,6 @@ share/doc/html/kdelibs/kio/full-list-KDEDesktopMimeType.html share/doc/html/kdelibs/kio/full-list-KDEDesktopMimeType__Service.html share/doc/html/kdelibs/kio/full-list-KDirLister.html share/doc/html/kdelibs/kio/full-list-KDirNotify.html -share/doc/html/kdelibs/kio/full-list-KDirNotify_stub.html share/doc/html/kdelibs/kio/full-list-KDirWatch.html share/doc/html/kdelibs/kio/full-list-KEMailSettings.html share/doc/html/kdelibs/kio/full-list-KExecMimeType.html @@ -1615,7 +1611,6 @@ share/doc/html/kdelibs/kio/full-list-KURLCompletion.html share/doc/html/kdelibs/kio/full-list-KURLPixmapProvider.html share/doc/html/kdelibs/kio/full-list-ListProgress.html share/doc/html/kdelibs/kio/full-list-Observer.html -share/doc/html/kdelibs/kio/full-list-Observer_stub.html share/doc/html/kdelibs/kio/full-list-ParseContext.html share/doc/html/kdelibs/kio/full-list-ParseTreeAND.html share/doc/html/kdelibs/kio/full-list-ParseTreeBOOL.html @@ -1640,7 +1635,6 @@ share/doc/html/kdelibs/kio/full-list-ProgressBase.html share/doc/html/kdelibs/kio/full-list-ProgressItem.html share/doc/html/kdelibs/kio/full-list-StatusbarProgress.html share/doc/html/kdelibs/kio/full-list-UIServer.html -share/doc/html/kdelibs/kio/full-list-UIServer_stub.html share/doc/html/kdelibs/kio/global_h.html share/doc/html/kdelibs/kio/header-list.html share/doc/html/kdelibs/kio/hier.html @@ -1652,7 +1646,6 @@ share/doc/html/kdelibs/kio/job_h.html share/doc/html/kdelibs/kio/jobclasses_h.html share/doc/html/kdelibs/kio/kautomount_h.html share/doc/html/kdelibs/kio/kdirlister_h.html -share/doc/html/kdelibs/kio/kdirnotify__stub_h.html share/doc/html/kdelibs/kio/kdirnotify_h.html share/doc/html/kdelibs/kio/kdirwatch_h.html share/doc/html/kdelibs/kio/kemailsettings_h.html @@ -1689,7 +1682,6 @@ share/doc/html/kdelibs/kio/kurlcompletion_h.html share/doc/html/kdelibs/kio/kurlpixmapprovider_h.html share/doc/html/kdelibs/kio/kuserprofile_h.html share/doc/html/kdelibs/kio/netaccess_h.html -share/doc/html/kdelibs/kio/observer__stub_h.html share/doc/html/kdelibs/kio/observer_h.html share/doc/html/kdelibs/kio/passdlg_h.html share/doc/html/kdelibs/kio/paste_h.html @@ -1705,7 +1697,6 @@ share/doc/html/kdelibs/kio/slaveconfig_h.html share/doc/html/kdelibs/kio/slaveinterface_h.html share/doc/html/kdelibs/kio/statusbarprogress_h.html share/doc/html/kdelibs/kio/tcpslavebase_h.html -share/doc/html/kdelibs/kio/uiserver__stub_h.html share/doc/html/kdelibs/kio/uiserver_h.html share/doc/html/kdelibs/kio/yacc_h.html share/doc/html/kdelibs/kjs/DOM.html