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/poppy/Makefile | |
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/poppy/Makefile')
-rw-r--r-- | mail/poppy/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/poppy/Makefile b/mail/poppy/Makefile index 5c238287bcc..e4516ab8571 100644 --- a/mail/poppy/Makefile +++ b/mail/poppy/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2007/01/07 09:13:59 rillig Exp $ +# $NetBSD: Makefile,v 1.9 2008/03/04 17:57:19 jlam Exp $ # DISTNAME= poppy-3.1 @@ -9,6 +9,8 @@ MAINTAINER= zuntum@NetBSD.org HOMEPAGE= http://www.cnpbagwell.com/projects.html COMMENT= Client to perform simple tasks with a POP3/IMAP server +PKG_DESTDIR_SUPPORT= user-destdir + NO_BUILD= YES USE_TOOLS+= perl:run REPLACE_PERL= poppy @@ -16,7 +18,7 @@ REPLACE_PERL= poppy INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/poppy ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/poppy.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_SCRIPT} ${WRKSRC}/poppy ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/poppy.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" |