diff options
author | heinz <heinz@pkgsrc.org> | 2008-02-16 15:45:10 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2008-02-16 15:45:10 +0000 |
commit | 754a542420c7da00bc7bd1e080676a0d363e1a4b (patch) | |
tree | 6f78d9a9ebd173675b37999144f9080555db215a /mail | |
parent | c0877edf7e6f610e03a37ad8e7a9c0bd812602fe (diff) | |
download | pkgsrc-754a542420c7da00bc7bd1e080676a0d363e1a4b.tar.gz |
Added support for installation to DESTDIR.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mb2md/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/mb2md/Makefile b/mail/mb2md/Makefile index e8fb4dc14da..dac9524a3a6 100644 --- a/mail/mb2md/Makefile +++ b/mail/mb2md/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2005/09/28 20:52:24 rillig Exp $ +# $NetBSD: Makefile,v 1.5 2008/02/16 15:45:10 heinz Exp $ # DISTNAME= mb2md-3.20.pl @@ -11,6 +11,8 @@ MAINTAINER= schmonz@NetBSD.org HOMEPAGE= http://batleth.sapienti-sat.org/projects/mb2md/ COMMENT= Converts one or more mboxes to maildirs +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= p5-TimeDate-[0-9]*:../../time/p5-TimeDate WRKSRC= ${WRKDIR} @@ -22,6 +24,6 @@ NO_BUILD= yes INSTALLATION_DIRS= bin do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PKGBASE} + ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${DESTDIR}${PREFIX}/bin/${PKGBASE} .include "../../mk/bsd.pkg.mk" |