summaryrefslogtreecommitdiff
path: root/security/rc5des
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-27 21:32:58 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-27 21:32:58 +0000
commit7b75acb6fd1e2b2e1edd7f113a83eb8c6c81890d (patch)
tree2cef14950aaa755d53ed3072e9b0641cdb02b4c3 /security/rc5des
parentc764992617749b865d15e86df6d9f8c7f86b2973 (diff)
downloadpkgsrc-7b75acb6fd1e2b2e1edd7f113a83eb8c6c81890d.tar.gz
DESTDIR support
Diffstat (limited to 'security/rc5des')
-rw-r--r--security/rc5des/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/security/rc5des/Makefile b/security/rc5des/Makefile
index d6d56387df8..04865abc789 100644
--- a/security/rc5des/Makefile
+++ b/security/rc5des/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2008/05/26 02:13:23 joerg Exp $
+# $NetBSD: Makefile,v 1.20 2010/01/27 21:32:58 joerg Exp $
#
DISTNAME= rc5-mlg-004
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.distributed.net/rc5/
COMMENT= Binaries for taking part in the rc5des challenge
+PKG_DESTDIR_SUPPORT= user-destdir
+
EMUL_PLATFORMS= netbsd-alpha netbsd-arm netbsd-i386
EMUL_MODULES.netbsd= base
@@ -42,8 +44,9 @@ do-build:
#do-build:
# cd ${WRKSRC}; ${RM} -f master.ini.orig master.ini.in rc5.sh.orig
+INSTALLATION_DIRS+= RC5
+
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/RC5
- cd ${WRKSRC} && pax -rw . ${PREFIX}/RC5
+ cd ${WRKSRC} && pax -rw . ${DESTDIR}${PREFIX}/RC5
.include "../../mk/bsd.pkg.mk"