diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-27 16:52:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-27 16:52:13 +0000 |
commit | 33186421f8c444f31146da42048bc1f931ec5b81 (patch) | |
tree | 9d6ef92caa3f4da88fc91862fe8a5c808dff16ed /security/hashcash | |
parent | 81524ebbd1ac6dce4c63268e8a8b68451362a3ed (diff) | |
download | pkgsrc-33186421f8c444f31146da42048bc1f931ec5b81.tar.gz |
DESTDIR support
Diffstat (limited to 'security/hashcash')
-rw-r--r-- | security/hashcash/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/security/hashcash/Makefile b/security/hashcash/Makefile index c6c18111447..54e162eda1a 100644 --- a/security/hashcash/Makefile +++ b/security/hashcash/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2007/03/19 16:40:28 tv Exp $ +# $NetBSD: Makefile,v 1.12 2010/01/27 17:13:24 joerg Exp $ # DISTNAME= hashcash-1.22 @@ -10,6 +10,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.hashcash.org/ COMMENT= Hash collision based postage stamp +PKG_DESTDIR_SUPPORT= user-destdir .include "../../mk/bsd.prefs.mk" @@ -17,7 +18,7 @@ CFLAGS+= -Dunix INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/hashcash ${PREFIX}/bin/ - ${INSTALL_DATA} ${WRKSRC}/hashcash.1 ${PREFIX}/${PKGMANDIR}/man1/ + ${INSTALL_PROGRAM} ${WRKSRC}/hashcash ${DESTDIR}${PREFIX}/bin/ + ${INSTALL_DATA} ${WRKSRC}/hashcash.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ .include "../../mk/bsd.pkg.mk" |