summaryrefslogtreecommitdiff
path: root/net/tcptraceroute
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-11 22:57:40 +0000
committerjoerg <joerg>2010-02-11 22:57:40 +0000
commit9c515dd2cc50d85fa7187efbf95f8370b883e837 (patch)
tree892f24338b971c99ecdc3db1d871d95d58c28c61 /net/tcptraceroute
parent8eda6f6d1e1dff0e556c982ee53d650414103d57 (diff)
downloadpkgsrc-9c515dd2cc50d85fa7187efbf95f8370b883e837.tar.gz
DESTDIR support
Diffstat (limited to 'net/tcptraceroute')
-rw-r--r--net/tcptraceroute/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/net/tcptraceroute/Makefile b/net/tcptraceroute/Makefile
index 33604f6e2bc..c2add8a7cd8 100644
--- a/net/tcptraceroute/Makefile
+++ b/net/tcptraceroute/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2007/03/02 09:28:55 adrianp Exp $
+# $NetBSD: Makefile,v 1.15 2010/02/11 23:00:57 joerg Exp $
#
DISTNAME= tcptraceroute-1.4
@@ -10,11 +10,14 @@ MAINTAINER= kim@tac.nyc.ny.us
HOMEPAGE= http://michael.toren.net/code/tcptraceroute/
COMMENT= Traceroute implementation using TCP packets
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_TARGET= tcptraceroute
BUILDLINK_API_DEPENDS.libnet10+= libnet10>=1.0.2anb1
DOCDIR= ${PREFIX}/share/doc/tcptraceroute
-BINMODE= 4711
+
+SPECIAL_PERMS+= sbin/tcptraceroute ${SETUID_ROOT_PERMS}
.include "../../mk/bsd.prefs.mk"
@@ -24,13 +27,12 @@ SUBST_FILES.conf= Makefile
SUBST_SED.conf= -e "s|libnet-config|libnet10-config|g"
SUBST_MESSAGE.conf= Fixing configuration script.
-INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
+INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin ${DOCDIR}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/tcptraceroute ${PREFIX}/sbin
- ${INSTALL_MAN} ${WRKSRC}/tcptraceroute.8 ${PREFIX}/${PKGMANDIR}/man8
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/examples.txt ${DOCDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/tcptraceroute ${DESTDIR}${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/tcptraceroute.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+ ${INSTALL_DATA} ${WRKSRC}/examples.txt ${DESTDIR}${DOCDIR}
.include "../../devel/libnet10/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"