aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipsumdump
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-10-19 17:03:50 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-10-19 17:03:50 +0800
commitd1f880dd8f60f2427da62a338955d8f4e8d25ace (patch)
tree170eb52cb99b342212ff5e14e590bb7683c67314 /net/ipsumdump
parent71680ff0e2deac10f6fbc08a811b376424e79dbf (diff)
downloadfreebsd-ports-gnome-d1f880dd8f60f2427da62a338955d8f4e8d25ace.tar.gz
freebsd-ports-gnome-d1f880dd8f60f2427da62a338955d8f4e8d25ace.tar.zst
freebsd-ports-gnome-d1f880dd8f60f2427da62a338955d8f4e8d25ace.zip
- Add LICENSE
- Switch to options helpers
Diffstat (limited to 'net/ipsumdump')
-rw-r--r--net/ipsumdump/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/net/ipsumdump/Makefile b/net/ipsumdump/Makefile
index 9775c31ba348..2027f3a07d32 100644
--- a/net/ipsumdump/Makefile
+++ b/net/ipsumdump/Makefile
@@ -9,6 +9,11 @@ MASTER_SITES= http://www.cs.ucla.edu/~kohler/ipsumdump/
MAINTAINER= ports@FreeBSD.org
COMMENT= Produce ASCII summary of network traffic or tcpdump(1) file
+LICENSE= CLICK
+LICENSE_NAME= Click license
+LICENSE_FILE= ${WRKSRC}/libclick-2.1/LICENSE
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
USES= gmake perl5
GNU_CONFIGURE= yes
USE_PERL5= build
@@ -29,10 +34,12 @@ post-patch:
@${ECHO_CMD} 'src: @LIBCLICK_TARGET@' >> ${WRKSRC}/Makefile.in
post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ipsumdump
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ipaggcreate
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ipaggmanip
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ipsumdump
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ipaggcreate
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ipaggmanip
.include <bsd.port.mk>