summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-02-16 13:17:13 +0000
committerjoerg <joerg@pkgsrc.org>2009-02-16 13:17:13 +0000
commitf0cff0c9f9214e20d229d153ebf66b836b40391e (patch)
tree2984bad4f66b1d7587484814a3f1d4f5fc1c4d84
parent891359da3a785bfeecc396a774ad6a633d5b954c (diff)
downloadpkgsrc-f0cff0c9f9214e20d229d153ebf66b836b40391e.tar.gz
DESTDIR support.
-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