blob: d4de1f9eb99ef297306e9a8a476ec90e9ec2183e (
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
41
42
43
44
45
46
47
48
49
50
|
# $NetBSD: Makefile,v 1.2 2017/09/04 18:08:27 wiz Exp $
#
DISTNAME= ndisc6-${VERSION}
PKGNAME= tcptraceroute6-${VERSION}
VERSION= 1.0.3
CATEGORIES= net
MASTER_SITES= http://www.remlab.net/files/ndisc6/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= he@NetBSD.org
HOMEPAGE= https://www.remlab.net/ndisc6/
COMMENT= Traceroute6 implementation using TCP packets
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
#DOCDIR= ${PREFIX}/share/doc/tcptraceroute
.include "../../mk/bsd.prefs.mk"
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
INSTALL_PROGS+= tcptraceroute6
INSTALL_PROGS+= tracert6
INSTALL_PROGS+= rltraceroute6
INSTALL_MANS+= rltraceroute6.8
do-install:
for p in ${INSTALL_PROGS}; do \
${INSTALL_PROGRAM} ${WRKSRC}/src/$$p \
${DESTDIR}${PREFIX}/sbin; \
done
for m in ${INSTALL_MANS}; do \
${INSTALL_MAN} ${WRKSRC}/doc/$$m \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man8; \
done
(cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8; \
for a in tcptraceroute6 ; do \
${RM} -f $$a.8; \
${LN} -s rltraceroute6.8 $$a.8; \
done; \
)
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|