aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/netleak
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-01-05 18:11:55 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-01-05 18:11:55 +0800
commitdb3568577deca449c87583d3b5a817e5bee18d9e (patch)
treee4af0215d8a3d9e175c4904c47c78f308a93992c /net-mgmt/netleak
parentaae11fec1d0a7d8e2a7826395d6cb8be2312d119 (diff)
downloadfreebsd-ports-gnome-db3568577deca449c87583d3b5a817e5bee18d9e.tar.gz
freebsd-ports-gnome-db3568577deca449c87583d3b5a817e5bee18d9e.tar.zst
freebsd-ports-gnome-db3568577deca449c87583d3b5a817e5bee18d9e.zip
- Add LICENSE
- Add NO_ARCH - Switch to options helpers
Diffstat (limited to 'net-mgmt/netleak')
-rw-r--r--net-mgmt/netleak/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net-mgmt/netleak/Makefile b/net-mgmt/netleak/Makefile
index 71ecab067e62..9949ebf66746 100644
--- a/net-mgmt/netleak/Makefile
+++ b/net-mgmt/netleak/Makefile
@@ -10,6 +10,9 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-devel/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool to detect connectivity between network segments
+LICENSE= GPLv2 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
+
RUN_DEPENDS= p5-Net-PcapUtils>=0:${PORTSDIR}/net/p5-Net-PcapUtils \
p5-NetPacket>=0:${PORTSDIR}/net/p5-NetPacket \
p5-Mail-Sendmail>=0:${PORTSDIR}/mail/p5-Mail-Sendmail \
@@ -18,6 +21,7 @@ RUN_DEPENDS= p5-Net-PcapUtils>=0:${PORTSDIR}/net/p5-Net-PcapUtils \
p5-NetAddr-IP>0:${PORTSDIR}/net-mgmt/p5-NetAddr-IP
NO_BUILD= yes
+NO_ARCH= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= perl5 shebangfix tar:tgz
@@ -28,7 +32,7 @@ PORTDOCS= BUGS README TODO
OPTIONS_DEFINE= DOCS
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}