diff options
author | joerg <joerg> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-06-12 02:14:13 +0000 |
commit | 39d7fb93432416d872ed34e0025741cc93068c06 (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /print/pscal | |
parent | cce8b72ae5b66d3a54ac565ef8ac6780597301bc (diff) | |
download | pkgsrc-39d7fb93432416d872ed34e0025741cc93068c06.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'print/pscal')
-rw-r--r-- | print/pscal/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/print/pscal/Makefile b/print/pscal/Makefile index 2e27249b9c1..84df87d0936 100644 --- a/print/pscal/Makefile +++ b/print/pscal/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2006/03/04 21:30:31 jlam Exp $ +# $NetBSD: Makefile,v 1.9 2008/06/12 02:14:43 joerg Exp $ # DISTNAME= pscal-1.16 @@ -9,13 +9,14 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.panix.com/~mbh/projects.html COMMENT= Produces simple, nice-looking PostScript calendars -INSTALLATION_DIRS= bin +PKG_DESTDIR_SUPPORT= user-destdir -do-build: +INSTALLATION_DIRS= bin share/doc/pscal + +NO_BUILD= yes do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/pscal ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pscal - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/pscal + ${INSTALL_SCRIPT} ${WRKSRC}/pscal ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/pscal .include "../../mk/bsd.pkg.mk" |