diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
commit | a80fd13efc426f96e55870df48a2030daea0f14b (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /mail/mdfrm | |
parent | 31c6c3a796edf9dd9bae5586339c5e2e023ca408 (diff) | |
download | pkgsrc-a80fd13efc426f96e55870df48a2030daea0f14b.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'mail/mdfrm')
-rw-r--r-- | mail/mdfrm/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/mdfrm/Makefile b/mail/mdfrm/Makefile index 4f0b8fc9709..f9f8d1ce55b 100644 --- a/mail/mdfrm/Makefile +++ b/mail/mdfrm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2007/02/22 19:26:41 wiz Exp $ +# $NetBSD: Makefile,v 1.13 2008/03/04 17:57:18 jlam Exp $ # DISTNAME= mdfrm.pl @@ -12,6 +12,8 @@ COMMENT= Print a summary of mail in a Maildir waiting to be read DEPENDS+= p5-TimeDate-[0-9]*:../../time/p5-TimeDate +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} USE_TOOLS+= perl:run NO_BUILD= yes @@ -25,6 +27,6 @@ post-patch: ${MV} ${WRKSRC}/mdfrm.pl.done ${WRKSRC}/mdfrm.pl do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/mdfrm.pl ${PREFIX}/bin/mdfrm + ${INSTALL_SCRIPT} ${WRKSRC}/mdfrm.pl ${DESTDIR}${PREFIX}/bin/mdfrm .include "../../mk/bsd.pkg.mk" |