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/p5-PostScript-MailLabels/Makefile | |
parent | 3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff) | |
download | pkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'print/p5-PostScript-MailLabels/Makefile')
-rw-r--r-- | print/p5-PostScript-MailLabels/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/print/p5-PostScript-MailLabels/Makefile b/print/p5-PostScript-MailLabels/Makefile index 49731b2dd92..14dc3673934 100644 --- a/print/p5-PostScript-MailLabels/Makefile +++ b/print/p5-PostScript-MailLabels/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2007/11/15 20:39:22 jlam Exp $ +# $NetBSD: Makefile,v 1.17 2008/06/12 02:14:43 joerg Exp $ DISTNAME= PostScript-MailLabels-2.25 PKGNAME= p5-${DISTNAME} @@ -11,15 +11,18 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://oplnk.net/~ajackson/software/maillabels/ COMMENT= Create PostScript for printing on mailing label stock +PKG_DESTDIR_SUPPORT= user-destdir + PERL5_PACKLIST= auto/PostScript/MailLabels/.packlist REPLACE_PERL= ${WRKSRC}/demo/*.pl EGDIR= ${PREFIX}/share/examples/${PKGBASE} +INSTALLATION_DIRS= ${EGDIR} + post-install: - ${INSTALL_DATA_DIR} ${EGDIR} for file in ${REPLACE_PERL}; do \ - ${INSTALL_SCRIPT} $$file ${EGDIR}; \ + ${INSTALL_SCRIPT} $$file ${DESTDIR}${EGDIR}; \ done .include "../../lang/perl5/module.mk" |