diff options
author | jlam <jlam@pkgsrc.org> | 2001-06-23 19:36:46 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-06-23 19:36:46 +0000 |
commit | 01cd2720880b647312b92729c1c758be6ed437c4 (patch) | |
tree | 566584f538f0453a18362583d87255af6c3ec357 | |
parent | cf38f6e8186aeafb727ec22d0da6521f13ea47be (diff) | |
download | pkgsrc-01cd2720880b647312b92729c1c758be6ed437c4.tar.gz |
Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. Also
use ${FIND}/${SORT} instead of find/sort.
-rw-r--r-- | x11/qt2-docs/Makefile | 11 | ||||
-rw-r--r-- | x11/qt2-examples/Makefile | 13 |
2 files changed, 13 insertions, 11 deletions
diff --git a/x11/qt2-docs/Makefile b/x11/qt2-docs/Makefile index aceb656d6ce..b948ecc81a0 100644 --- a/x11/qt2-docs/Makefile +++ b/x11/qt2-docs/Makefile @@ -1,13 +1,13 @@ -# $NetBSD: Makefile,v 1.8 2001/02/17 17:06:42 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2001/06/23 19:36:46 jlam Exp $ # PKGNAME= qt2-docs-${QTVERSION} - COMMENT= Documentation for the QT C++ X GUI toolkit .include "../qt2-libs/Makefile.common" -DEPENDS+= qt2-libs-${QTVERSION}:../../x11/qt2-libs +NO_BUILDLINK_ONLY= yes +BUILDLINK_DEPENDS.qt2-libs= qt2-libs-${QTVERSION} NO_PATCH= yes NO_CONFIGURE= yes @@ -32,15 +32,16 @@ do-install: ${INSTALL_DATA_DIR} ${QTPREFIX}/doc/html ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/README.QT ${QTPREFIX}/doc/html cd ${WRKSRC}; \ - DOCDIRS="`find doc/html -type d -print | sort`"; \ + DOCDIRS="`${FIND} doc/html -type d -print | ${SORT}`"; \ (for d in $${DOCDIRS}; do \ ${ECHO} installing ${QTPREFIX}/$${d}; \ ${INSTALL_DATA_DIR} ${QTPREFIX}/$${d}; \ done) ; \ - DOCFILES="`find doc/html -type f -print | sort`"; \ + DOCFILES="`${FIND} doc/html -type f -print | ${SORT}`"; \ (for f in $${DOCFILES}; do \ ${ECHO} installing ${QTPREFIX}/$${f}; \ ${INSTALL_DATA} $${f} ${QTPREFIX}/$${f}; \ done) +.include "../../x11/qt2-libs/buildlink.mk" .include "../../mk/bsd.pkg.mk" diff --git a/x11/qt2-examples/Makefile b/x11/qt2-examples/Makefile index f1d68d8893d..cc6a3678fd2 100644 --- a/x11/qt2-examples/Makefile +++ b/x11/qt2-examples/Makefile @@ -1,18 +1,18 @@ -# $NetBSD: Makefile,v 1.3 2001/02/17 17:06:42 wiz Exp $ +# $NetBSD: Makefile,v 1.4 2001/06/23 19:37:30 jlam Exp $ # PKGNAME= qt2-examples-${QTVERSION} - COMMENT= QT2 Tutorial, example code and HTML documentation .include "../qt2-libs/Makefile.common" -DEPENDS+= qt2-libs-${QTVERSION}:../../x11/qt2-libs +NO_BUILDLINK_ONLY= yes +BUILDLINK_DEPENDS.qt2-libs= qt2-libs-${QTVERSION} CONFIGURE_ENV+= QTDIR=${QTPREFIX} do-build: - @MFS="`find ${WRKSRC}/examples ${WRKSRC}/tutorial -name Makefile -print`"; \ + @MFS="`${FIND} ${WRKSRC}/examples ${WRKSRC}/tutorial -name Makefile -print`"; \ (for M in $${MFS}; do \ ${SED} \ -e "s:\\\$$[({]X11BASE[})]:${X11BASE}:g" \ @@ -25,15 +25,16 @@ do-build: do-install: @cd ${WRKSRC}; \ - DIRS="`find examples tutorial -type d -print | sort`"; \ + DIRS="`${FIND} examples tutorial -type d -print | ${SORT}`"; \ (for d in $${DIRS}; do \ ${ECHO} creating ${QTPREFIX}/$${d}; \ ${INSTALL_DATA_DIR} ${QTPREFIX}/$${d}; \ done); \ - ETFILES="`find examples tutorial -type f ! -name "Makefile.in" -print | sort`"; \ + ETFILES="`${FIND} examples tutorial -type f ! -name "Makefile.in" -print | ${SORT}`"; \ (for f in $${ETFILES}; do \ ${ECHO} installing ${QTPREFIX}/$${f}; \ ${INSTALL_DATA} $${f} ${QTPREFIX}/$${f}; \ done) +.include "../../x11/qt2-libs/buildlink.mk" .include "../../mk/bsd.pkg.mk" |