summaryrefslogtreecommitdiff
path: root/net/overnet
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-11 22:24:33 +0000
committerjoerg <joerg>2010-02-11 22:24:33 +0000
commit1748118bad6dbf0f696c2432be919e60133b5035 (patch)
tree1e5615f84713026ae761d8b8d5bf57b7a022a630 /net/overnet
parent2bb3117590b67f1fe0a0c6ab3915e3876f19e80e (diff)
downloadpkgsrc-1748118bad6dbf0f696c2432be919e60133b5035.tar.gz
DESTDIR support
Diffstat (limited to 'net/overnet')
-rw-r--r--net/overnet/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/net/overnet/Makefile b/net/overnet/Makefile
index d09421aef81..96d5bf22cde 100644
--- a/net/overnet/Makefile
+++ b/net/overnet/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2007/07/29 05:19:47 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2010/02/11 22:31:25 joerg Exp $
#
DISTNAME= overnetclc-1.0.1
@@ -12,6 +12,8 @@ MAINTAINER= grant@NetBSD.org
HOMEPAGE= http://www.overnet.com/
COMMENT= Peer-to-peer file sharing client (binary pkg)
+PKG_DESTDIR_SUPPORT= user-destdir
+
EMUL_PLATFORMS= linux-i386
EMUL_MODULES.linux= compat
@@ -23,17 +25,15 @@ RPM2PKG_PLIST= # empty
RPM2PKG_STRIP= 0
RUN_LDCONFIG= no
-INSTALLATION_DIRS= bin
+INSTALLATION_DIRS= bin share/doc/overnetclc share/overnetclc
do-install:
- ${INSTALL_PROGRAM} ${WRKDIR}/usr/bin/overnetclc ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/overnetclc
+ ${INSTALL_PROGRAM} ${WRKDIR}/usr/bin/overnetclc ${DESTDIR}${PREFIX}/bin
.for f in ChangeLog LISEZMOI README
${INSTALL_DATA} ${WRKDIR}/usr/share/doc/overnetclc/${f} \
- ${PREFIX}/share/doc/overnetclc
+ ${DESTDIR}${PREFIX}/share/doc/overnetclc
.endfor
- ${INSTALL_DATA_DIR} ${PREFIX}/share/overnetclc
${INSTALL_DATA} ${WRKSRC}/usr/share/overnetclc/contact.dat \
- ${PREFIX}/share/overnetclc
+ ${DESTDIR}${PREFIX}/share/overnetclc
.include "../../mk/bsd.pkg.mk"