summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-11 21:33:29 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-11 21:33:29 +0000
commitc1664a02eefa7c9bbd90fba48cfe81fa44e74507 (patch)
treebc07d0214d409774e49eaf3de5f775c4a607a401
parent7a24433f224ae449d94a502f8eefbd2b13810db3 (diff)
downloadpkgsrc-c1664a02eefa7c9bbd90fba48cfe81fa44e74507.tar.gz
DESTDIR support
-rw-r--r--net/ipcheck/Makefile6
-rw-r--r--net/iperf/Makefile6
-rw-r--r--net/iplog/Makefile9
3 files changed, 14 insertions, 7 deletions
diff --git a/net/ipcheck/Makefile b/net/ipcheck/Makefile
index 7cae958fdc5..bc311bc6201 100644
--- a/net/ipcheck/Makefile
+++ b/net/ipcheck/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2010/02/10 19:17:43 joerg Exp $
+# $NetBSD: Makefile,v 1.18 2010/02/11 21:33:29 joerg Exp $
#
DISTNAME= ipcheck.233
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ipcheck.sourceforge.net/
COMMENT= Python client for the dyndns service
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
DIST_SUBDIR= ${PKGNAME_NOREV}
EXTRACT_SUFX= #none
@@ -21,7 +23,7 @@ PYTHON_PATCH_SCRIPTS= ipcheck.py
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/ipcheck.py ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/ipcheck.py ${DESTDIR}${PREFIX}/bin
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/iperf/Makefile b/net/iperf/Makefile
index 03e03c16041..f39102bec9c 100644
--- a/net/iperf/Makefile
+++ b/net/iperf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2009/05/21 11:37:58 zafer Exp $
+# $NetBSD: Makefile,v 1.17 2010/02/11 21:34:34 joerg Exp $
DISTNAME= iperf-2.0.2
CATEGORIES= net
@@ -8,6 +8,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://dast.nlanr.net/Projects/Iperf/
COMMENT= TCP and UDP bandwidth performance measurement tool
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64)
@@ -27,7 +29,7 @@ PTHREAD_OPTS+= native optional
post-install:
for f in ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.gif; do \
- ${INSTALL_DATA} $$f ${PREFIX}/share/doc/html/${PKGBASE}; \
+ ${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/share/doc/html/${PKGBASE}; \
done
.include "../../mk/bsd.pkg.mk"
diff --git a/net/iplog/Makefile b/net/iplog/Makefile
index da9d9737028..cfb21350c9d 100644
--- a/net/iplog/Makefile
+++ b/net/iplog/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2006/02/05 23:10:25 joerg Exp $
+# $NetBSD: Makefile,v 1.14 2010/02/11 21:36:18 joerg Exp $
#
DISTNAME= iplog-2.2.3
@@ -10,6 +10,8 @@ MAINTAINER= gremlin@portal-to-web.de
HOMEPAGE= http://ojnk.sourceforge.net/
COMMENT= Iplog is a tool using pcap to log IP traffic
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
GNU_CONFIGURE= YES
@@ -17,13 +19,14 @@ RCD_SCRIPTS= iplog
EGDIR= ${PREFIX}/share/examples/iplog
+INSTALLATION_DIRS+= ${EGDIR}
+
post-patch:
cd ${WRKSRC}/src && ${SED} s,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g \
< iplog.h > iplog.h.patched && ${MV} iplog.h.patched iplog.h
post-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/example-iplog.conf ${EGDIR}/iplog.conf
+ ${INSTALL_DATA} ${WRKSRC}/example-iplog.conf ${DESTDIR}${EGDIR}/iplog.conf
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"