diff options
author | joerg <joerg> | 2010-02-11 22:57:40 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-02-11 22:57:40 +0000 |
commit | 75db0a8d4d8c1b10e90f51a0827f26c0c9eabfac (patch) | |
tree | 892f24338b971c99ecdc3db1d871d95d58c28c61 /net/tcptraceroute | |
parent | 99d44c5e24649baeca752737a9e4b5ec5e030970 (diff) | |
download | pkgsrc-75db0a8d4d8c1b10e90f51a0827f26c0c9eabfac.tar.gz |
DESTDIR support
Diffstat (limited to 'net/tcptraceroute')
-rw-r--r-- | net/tcptraceroute/Makefile | 16 |
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" |