summaryrefslogtreecommitdiff
path: root/net/waste
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
commit3b0d97b0de8516db29699676c860489da3f7f0e1 (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /net/waste
parent10abca39942a8f34d088f39ccc073fee44271274 (diff)
downloadpkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz
Add DESTDIR support.
Diffstat (limited to 'net/waste')
-rw-r--r--net/waste/Makefile11
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"