diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-11 20:50:59 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-11 20:50:59 +0000 |
commit | 58250573bbcbf65d9b7fceb03a1ca730e232c636 (patch) | |
tree | 2043fbbbd079856002aabbb8346a5790c918af81 /net/freenet-tools | |
parent | 67c99775cf0499d02004b5ff1a9953cd05ea940e (diff) | |
download | pkgsrc-58250573bbcbf65d9b7fceb03a1ca730e232c636.tar.gz |
DESTDIR support
Diffstat (limited to 'net/freenet-tools')
-rw-r--r-- | net/freenet-tools/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/net/freenet-tools/Makefile b/net/freenet-tools/Makefile index 8b9e49a314f..ed726f6067f 100644 --- a/net/freenet-tools/Makefile +++ b/net/freenet-tools/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2007/03/19 16:40:28 tv Exp $ +# $NetBSD: Makefile,v 1.13 2010/02/11 20:54:51 joerg Exp $ # DISTNAME= ft-0.2.25 @@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://entropy.stop1984.com/ COMMENT= Freenet Tools, freesite manipulation tools for Freenet and Entropy +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake MAKE_FLAGS+= CC=${CC:Q} LD=${CC:Q} CFLAGS=${CFLAGS:M*:Q} LDFLAGS=${LDFLAGS:M*:Q} @@ -20,10 +22,10 @@ CFLAGS+= -DFT_BIN=\"${PREFIX}/bin\" -D_DEBUG INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/ft ${PREFIX}/bin/ft + ${INSTALL_PROGRAM} ${WRKSRC}/ft ${DESTDIR}${PREFIX}/bin/ft .for f in fcpbroadcast fcpchk fcpget fcpgetsite fcphello fcpinv fcpkey \ fcpput fcpputsite fcpreceive - ${LN} -s -f ft ${PREFIX}/bin/${f} + ${LN} -s -f ft ${DESTDIR}${PREFIX}/bin/${f} .endfor .include "../../mk/bsd.pkg.mk" |