blob: 80d743bf15c377954a3fa1b8bfef4d658ddc6f5d (
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
|
# Created by: Babak Farrokhi <babak@farrokhi.net>
# $FreeBSD$
PORTNAME= pathneck
PORTVERSION= 1.3
CATEGORIES= net
MASTER_SITES= http://www.cs.cmu.edu/~hnn/pathneck/ \
http://gs274.sp.cs.cmu.edu/www/pathneck/
MAINTAINER= farrokhi@FreeBSD.org
COMMENT= Active network path probing tool
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= tar:tgz
MAKEFILE= Makefile.bsd
MAKE_ARGS= CC="${CC}"
PLIST_FILES= sbin/pathneck \
sbin/get-choke
PORTDOCS= ChangeLog README
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's,^CFLAGS .=,CFLAGS +=,' \
${WRKSRC}/Makefile.bsd
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pathneck ${STAGEDIR}${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/get-choke ${STAGEDIR}${PREFIX}/sbin
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>
|