diff options
author | agc <agc> | 2002-06-28 11:36:05 +0000 |
---|---|---|
committer | agc <agc> | 2002-06-28 11:36:05 +0000 |
commit | df52ab4da26b35e02d61f27ade668b0928652820 (patch) | |
tree | 6317ee033c4ee9eaf51f674ede2528b7c11ef9a9 /x11 | |
parent | 67a097fd835b0b5e17e28dd71231858ac3741e98 (diff) | |
download | pkgsrc-df52ab4da26b35e02d61f27ade668b0928652820.tar.gz |
Make this package xpkgwedge-friendly
Make sure we pick up the correct formatting utilities by prefixing the
correct directory into the path.
Minor whitespace corrections
Diffstat (limited to 'x11')
-rw-r--r-- | x11/kdelibdocs2/Makefile | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/x11/kdelibdocs2/Makefile b/x11/kdelibdocs2/Makefile index da6f1f6f66c..37741b5df91 100644 --- a/x11/kdelibdocs2/Makefile +++ b/x11/kdelibdocs2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2002/03/13 17:37:58 fredb Exp $ +# $NetBSD: Makefile,v 1.7 2002/06/28 11:36:05 agc Exp $ DISTNAME= kdelibs-2.2.2 PKGNAME= ${DISTNAME:S/kdelib/kdelibdoc/} @@ -15,29 +15,29 @@ USE_X11BASE= yes NO_CONFIGURE= yes EVAL_PREFIX+= QT2DIR=qt2 -DOCINSTALLDIR= ${X11BASE}/share/doc/kde/HTML/en +DOCINSTALLDIR= ${X11PREFIX}/share/doc/kde/HTML/en do-build: ${MKDIR} ${WRKDIR}/kdelibs - ${LOCALBASE}/bin/qt2kdoc \ - --outdir=${WRKDIR}/kdelibs/kdoc-reference \ + ${SETENV} PATH=${LOCALBASE}/bin:${PATH} ${LOCALBASE}/bin/qt2kdoc \ + --outdir=${WRKDIR}/kdelibs/kdoc-reference \ ${QT2DIR}/qt2/doc/html - ${LOCALBASE}/bin/makekdedoc \ - --srcdir=${WRKSRC} \ - --outputdir=${WRKDIR}/kdelibs \ + ${SETENV} PATH=${LOCALBASE}/bin:${PATH} ${LOCALBASE}/bin/makekdedoc \ + --srcdir=${WRKSRC} \ + --outputdir=${WRKDIR}/kdelibs \ --libdir=${WRKDIR}/kdelibs/kdoc-reference do-install: - cd ${WRKDIR}; \ - DOCDIRS="`${FIND} kdelibs -type d -print | ${SORT}`"; \ - for d in $${DOCDIRS}; do \ - ${ECHO} creating directory ${DOCINSTALLDIR}/$${d}; \ - ${INSTALL_DATA_DIR} ${DOCINSTALLDIR}/$${d}; \ - done ; \ - DOCFILES="`${FIND} kdelibs -type f -print | ${SORT}`"; \ - (for f in $${DOCFILES}; do \ - ${ECHO} installing ${DOCINSTALLDIR}/$${f}; \ - ${INSTALL_DATA} $${f} ${DOCINSTALLDIR}/$${f}; \ + cd ${WRKDIR}; \ + DOCDIRS="`${FIND} kdelibs -type d -print | ${SORT}`"; \ + for d in $${DOCDIRS}; do \ + ${ECHO} creating directory ${DOCINSTALLDIR}/$${d}; \ + ${INSTALL_DATA_DIR} ${DOCINSTALLDIR}/$${d}; \ + done ; \ + DOCFILES="`${FIND} kdelibs -type f -print | ${SORT}`"; \ + (for f in $${DOCFILES}; do \ + ${ECHO} installing ${DOCINSTALLDIR}/$${f}; \ + ${INSTALL_DATA} $${f} ${DOCINSTALLDIR}/$${f}; \ done) .include "../../mk/bsd.pkg.mk" |