summaryrefslogtreecommitdiff
path: root/security/hashcash/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/hashcash/Makefile')
-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"