blob: c2add8a7cd82afac319c3481da93363968e0c914 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.15 2010/02/11 23:00:57 joerg Exp $
#
DISTNAME= tcptraceroute-1.4
PKGREVISION= 3
CATEGORIES= net
MASTER_SITES= http://michael.toren.net/code/tcptraceroute/
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
SPECIAL_PERMS+= sbin/tcptraceroute ${SETUID_ROOT_PERMS}
.include "../../mk/bsd.prefs.mk"
SUBST_CLASSES+= conf
SUBST_STAGE.conf= pre-build
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 ${DOCDIR}
do-install:
${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"
.include "../../mk/bsd.pkg.mk"
|