svn commit: r404921 - head/net/icmpinfo

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Dec 31 10:57:54 UTC 2015


Author: amdmi3
Date: Thu Dec 31 10:57:53 2015
New Revision: 404921
URL: https://svnweb.freebsd.org/changeset/ports/404921

Log:
  - Add LICENSE
  - Fix manpage installation
  - Switch to options helpers

Modified:
  head/net/icmpinfo/Makefile

Modified: head/net/icmpinfo/Makefile
==============================================================================
--- head/net/icmpinfo/Makefile	Thu Dec 31 10:54:08 2015	(r404920)
+++ head/net/icmpinfo/Makefile	Thu Dec 31 10:57:53 2015	(r404921)
@@ -3,22 +3,27 @@
 
 PORTNAME=	icmpinfo
 PORTVERSION=	1.11
+PORTREVISION=	1
 CATEGORIES=	net sysutils
 MASTER_SITES=	SUNSITE/system/network/admin
 
 MAINTAINER=	ports at 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}
 


More information about the svn-ports-head mailing list