summaryrefslogtreecommitdiff
path: root/net/rootprobe
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-11 22:35:09 +0000
committerjoerg <joerg>2010-02-11 22:35:09 +0000
commitd7aa0be9152c3df1e1f4b41ae2fc0203799a3196 (patch)
tree0e91e98fc71687eb9457b2c1f247678cefb0de3b /net/rootprobe
parent1748118bad6dbf0f696c2432be919e60133b5035 (diff)
downloadpkgsrc-d7aa0be9152c3df1e1f4b41ae2fc0203799a3196.tar.gz
DESTDIR support
Diffstat (limited to 'net/rootprobe')
-rw-r--r--net/rootprobe/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/rootprobe/Makefile b/net/rootprobe/Makefile
index a3661e55e2e..4ea066494e3 100644
--- a/net/rootprobe/Makefile
+++ b/net/rootprobe/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/03/04 21:30:24 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2010/02/11 22:39:23 joerg Exp $
#
DISTNAME= rootprobe-20030115
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://mawi.wide.ad.jp/mawi/dnsprobe/
COMMENT= Root DNS server performance analysis
+PKG_DESTDIR_SUPPORT= user-destdir
+
NOT_FOR_PLATFORM= Interix-*-* # no <net/if.h> support
WRKSRC= ${WRKDIR}/rootprobe
@@ -17,7 +19,7 @@ WRKSRC= ${WRKDIR}/rootprobe
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/rootprobe ${PREFIX}/bin
- (cd ${PREFIX}/bin; ${LN} rootprobe cctldprobe)
+ ${INSTALL_PROGRAM} ${WRKSRC}/rootprobe ${DESTDIR}${PREFIX}/bin
+ (cd ${DESTDIR}${PREFIX}/bin; ${LN} rootprobe cctldprobe)
.include "../../mk/bsd.pkg.mk"