svn commit: r400004 - head/net/ipsumdump

Alexey Dokuchaev danfe at FreeBSD.org
Thu Oct 22 17:27:19 UTC 2015


Author: danfe
Date: Thu Oct 22 17:27:17 2015
New Revision: 400004
URL: https://svnweb.freebsd.org/changeset/ports/400004

Log:
  Utilize option helpers and avoid doing .include <bsd.port.options.mk>

Modified:
  head/net/ipsumdump/Makefile

Modified: head/net/ipsumdump/Makefile
==============================================================================
--- head/net/ipsumdump/Makefile	Thu Oct 22 17:24:23 2015	(r400003)
+++ head/net/ipsumdump/Makefile	Thu Oct 22 17:27:17 2015	(r400004)
@@ -21,18 +21,13 @@ PLIST_FILES=	bin/ipaggcreate bin/ipsumdu
 OPTIONS_DEFINE=	IPV6 DOCS
 OPTIONS_SUB=	yes
 
+IPV6_CATEGORIES=	ipv6
 IPV6_CONFIGURE_ENABLE=	ipv6
 
-.include <bsd.port.options.mk>
-
 # Try to unbreak parallel (-jX) builds
 post-patch:
 	@${ECHO_CMD} 'src: @LIBCLICK_TARGET@' >> ${WRKSRC}/Makefile.in
 
-.if ${PORT_OPTIONS:MIPV6}
-CATEGORIES+=	ipv6
-.endif
-
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}


More information about the svn-ports-all mailing list