1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Clarify LICENSE

Approved by:	mat
Differential Revision:	https://reviews.freebsd.org/D3526
This commit is contained in:
Babak Farrokhi 2015-08-29 18:35:52 +00:00
parent 41d3ef6182
commit c95a4ea28f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395565

View File

@ -5,30 +5,33 @@ PORTNAME= pathneck
PORTVERSION= 1.3
CATEGORIES= net
MASTER_SITES= http://www.cs.cmu.edu/~hnn/pathneck/ \
http://gs274.sp.cs.cmu.edu/www/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= COPYING ChangeLog README
MAKEFILE= Makefile.bsd
USES= tar:tgz
PORTDOCS= ChangeLog README
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's,^CC .=,CC ?=,' \
-e 's,^CFLAGS .=,CFLAGS +=,' \
@${REINPLACE_CMD} -e 's,^CFLAGS .=,CFLAGS +=,' \
${WRKSRC}/Makefile.bsd
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pathneck ${STAGEDIR}${PREFIX}/sbin/pathneck
${INSTALL_PROGRAM} ${WRKSRC}/get-choke \
${STAGEDIR}${PREFIX}/sbin/get-choke
${INSTALL_PROGRAM} ${WRKSRC}/pathneck ${STAGEDIR}${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/get-choke ${STAGEDIR}${PREFIX}/sbin
do-install-DOCS-on:
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}