diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-27 14:27:39 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-27 14:27:39 +0000 |
commit | f5273ab3b2dae5252fb31b1b4efb60be61330005 (patch) | |
tree | 8cd1ed7b89d08cd379bd69b0e172700964548399 /security | |
parent | 4022af98275cafb94dbc6b3047ad5e0deffdf693 (diff) | |
download | pkgsrc-f5273ab3b2dae5252fb31b1b4efb60be61330005.tar.gz |
DESTDIR support
Diffstat (limited to 'security')
-rw-r--r-- | security/md5-collision/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/security/md5-collision/Makefile b/security/md5-collision/Makefile index abb5f918664..2b28f64e673 100644 --- a/security/md5-collision/Makefile +++ b/security/md5-collision/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2006/03/04 21:30:35 jlam Exp $ +# $NetBSD: Makefile,v 1.4 2010/01/27 14:27:39 joerg Exp $ DISTNAME= md5coll PKGNAME= md5-collision-20051118 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.stachliu.com/collisions.html COMMENT= MD5 Collision generator +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} INSTALLATION_DIRS= bin @@ -18,6 +20,6 @@ do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} -o md5coll md5coll.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/md5coll ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/md5coll ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" |