diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 80f8f7c3b3aa5f5f64de1111703eed75cf2b333b (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /net/waste | |
parent | df12796d2c7ff30316099a62cbdf43f49006d442 (diff) | |
download | pkgsrc-80f8f7c3b3aa5f5f64de1111703eed75cf2b333b.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'net/waste')
-rw-r--r-- | net/waste/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/net/waste/Makefile b/net/waste/Makefile index 037be5dcac1..2eabd02dd4d 100644 --- a/net/waste/Makefile +++ b/net/waste/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/02/22 19:27:01 wiz Exp $ +# $NetBSD: Makefile,v 1.15 2008/06/20 01:09:32 joerg Exp $ # DISTNAME= waste-source @@ -13,6 +13,8 @@ MAINTAINER= jschauma@NetBSD.org HOMEPAGE= http://waste.2mbit.com/index2.html COMMENT= Secure file sharing network +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/waste RESTRICTED= Unclear legal status: AOL claims Nullsoft did not \ @@ -32,12 +34,11 @@ USE_LANGUAGES= c c++ LDFLAGS+= -lmd .endif -INSTALLATION_DIRS= sbin +INSTALLATION_DIRS= sbin share/doc/waste do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/wastesrv ${PREFIX}/sbin/wastesrv - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/waste - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/waste + ${INSTALL_PROGRAM} ${WRKSRC}/wastesrv ${DESTDIR}${PREFIX}/sbin/wastesrv + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/waste .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |