aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-31 10:57:53 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-31 10:57:53 +0000
commit5c4f03ab8a72c3b73eb69ce8570c2273e97b5636 (patch)
tree20d0a0e0d4d32f661402d062e08094e9f1564d2b /net
parent0cc1cd1ae1597c9e411b2b49f04306fe320ac41b (diff)
downloadports-5c4f03ab8a72c3b73eb69ce8570c2273e97b5636.tar.gz
ports-5c4f03ab8a72c3b73eb69ce8570c2273e97b5636.zip
- Add LICENSE
- Fix manpage installation - Switch to options helpers
Notes
Notes: svn path=/head/; revision=404921
Diffstat (limited to 'net')
-rw-r--r--net/icmpinfo/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/net/icmpinfo/Makefile b/net/icmpinfo/Makefile
index 676a0a7554a1..33776b981d27 100644
--- a/net/icmpinfo/Makefile
+++ b/net/icmpinfo/Makefile
@@ -3,22 +3,27 @@
PORTNAME= icmpinfo
PORTVERSION= 1.11
+PORTREVISION= 1
CATEGORIES= net sysutils
MASTER_SITES= SUNSITE/system/network/admin
MAINTAINER= ports@FreeBSD.org
COMMENT= Looks at the icmp messages received by the host
-ALL_TARGET=
+LICENSE= MIT
+
+ALL_TARGET= # empty
PLIST_FILES= "@(,,4555) bin/icmpinfo" \
- man/man1/icmpinfo.man.gz
+ man/man1/icmpinfo.1.gz
PORTDOCS= README
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/icmpinfo ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/icmpinfo.man ${STAGEDIR}${PREFIX}/man/man1/${MAN1}
+ ${INSTALL_MAN} ${WRKSRC}/icmpinfo.man ${STAGEDIR}${MAN1PREFIX}/man/man1/icmpinfo.1
-post-install:
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}