From c95a4ea28f1959647d6540d7d8500b37e88a160e Mon Sep 17 00:00:00 2001 From: Babak Farrokhi Date: Sat, 29 Aug 2015 18:35:52 +0000 Subject: [PATCH] - Clarify LICENSE Approved by: mat Differential Revision: https://reviews.freebsd.org/D3526 --- net/pathneck/Makefile | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/net/pathneck/Makefile b/net/pathneck/Makefile index be7bec8fff5f..80d743bf15c3 100644 --- a/net/pathneck/Makefile +++ b/net/pathneck/Makefile @@ -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}