summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg>2009-02-16 13:17:13 +0000
committerjoerg <joerg>2009-02-16 13:17:13 +0000
commita0f12c7b3dc633b200a7e5d9977c705af28b1031 (patch)
tree2984bad4f66b1d7587484814a3f1d4f5fc1c4d84 /net
parentcaf4ad9a51f71f16d2eb48b924e2b9941a1a65b8 (diff)
downloadpkgsrc-a0f12c7b3dc633b200a7e5d9977c705af28b1031.tar.gz
DESTDIR support.
Diffstat (limited to 'net')
-rw-r--r--net/mping/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/mping/Makefile b/net/mping/Makefile
index 94853791c20..8341a13c694 100644
--- a/net/mping/Makefile
+++ b/net/mping/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/01/03 15:52:42 tv Exp $
+# $NetBSD: Makefile,v 1.3 2009/02/16 13:17:13 joerg Exp $
DISTNAME= mping-2.01
CATEGORIES= net
@@ -8,12 +8,14 @@ MAINTAINER= miwi@FreeBSD.org
HOMEPAGE= http://mping.uninett.no/
COMMENT= Mping network statistics collector
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/mping ${PREFIX}/sbin/mping
- ${INSTALL_MAN} ${WRKSRC}/man/mping.8 ${PREFIX}/${PKGMANDIR}/man8
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/mping ${DESTDIR}${PREFIX}/sbin/mping
+ ${INSTALL_MAN} ${WRKSRC}/man/mping.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
PKG_OPTIONS_VAR= PKG_OPTIONS.mping
PKG_OPTIONS_REQUIRED_GROUPS= inet6 # require inet6 capability