diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
commit | ba171a91fab519f587b027c1a2888cb6e3fce049 (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /print/pscal/Makefile | |
parent | 3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff) | |
download | pkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'print/pscal/Makefile')
-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" |