summaryrefslogtreecommitdiff
path: root/security/hashcash
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-27 16:52:13 +0000
committerjoerg <joerg>2010-01-27 16:52:13 +0000
commitd8285ba4da90a81b65ca4bf0d1402db407d863a4 (patch)
tree9d6ef92caa3f4da88fc91862fe8a5c808dff16ed /security/hashcash
parentd6bfae3856e53ed0d8da35a874a339995c86c44f (diff)
downloadpkgsrc-d8285ba4da90a81b65ca4bf0d1402db407d863a4.tar.gz
DESTDIR support
Diffstat (limited to 'security/hashcash')
-rw-r--r--security/hashcash/Makefile7
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"