summaryrefslogtreecommitdiff
path: root/print/tcl-pdflib/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-27 22:18:35 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-27 22:18:35 +0000
commit161f2da27a363e691122d68aba3e2b96b2818886 (patch)
tree8335ced072c0bd3a3fe619bbeb52556c4b5859e0 /print/tcl-pdflib/Makefile
parentaefc21d5b5bf5c688266b2923175e6a57dd6a497 (diff)
downloadpkgsrc-161f2da27a363e691122d68aba3e2b96b2818886.tar.gz
DESTDIR support for tcl-pdflib
Diffstat (limited to 'print/tcl-pdflib/Makefile')
-rw-r--r--print/tcl-pdflib/Makefile18
1 files changed, 4 insertions, 14 deletions
diff --git a/print/tcl-pdflib/Makefile b/print/tcl-pdflib/Makefile
index 81743170b9a..be41ddcff64 100644
--- a/print/tcl-pdflib/Makefile
+++ b/print/tcl-pdflib/Makefile
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2010/01/18 09:59:24 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2010/01/27 22:18:35 joerg Exp $
+
+PKG_DESTDIR_SUPPORT= user-destdir
.include "../../print/pdflib/Makefile.common"
@@ -13,23 +15,11 @@ CONFIGURE_ARGS+= --with-tclincl="${BUILDLINK_PREFIX.tcl}/include"
CONFIGURE_ARGS+= --with-tclpkg="${PREFIX}/lib/tcl8.4"
TCLSH= ${BUILDLINK_PREFIX.tcl}/bin/tclsh
-DIRS_TO_BUILD= bind/tcl
+BUILD_DIRS= bind/tcl
pre-build:
${TOUCH} ${WRKSRC}/pdflib/libpdf.la
-do-build:
-.for DIR in ${DIRS_TO_BUILD}
- cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV} \
- ${MAKE_PROGRAM} ${MAKE_FLAGS} ${BUILD_TARGET}
-.endfor
-
-do-install:
-.for DIR in ${DIRS_TO_BUILD}
- cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV} \
- ${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_TARGET}
-.endfor
-
.include "../../print/pdflib/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"