diff options
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" |