Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2016 13:59:25 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r405550 - head/net/icpld
Message-ID:  <201601081359.u08DxPci053747@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Jan  8 13:59:25 2016
New Revision: 405550
URL: https://svnweb.freebsd.org/changeset/ports/405550

Log:
  - Switch to options helpers

Modified:
  head/net/icpld/Makefile

Modified: head/net/icpld/Makefile
==============================================================================
--- head/net/icpld/Makefile	Fri Jan  8 13:51:10 2016	(r405549)
+++ head/net/icpld/Makefile	Fri Jan  8 13:59:25 2016	(r405550)
@@ -11,7 +11,7 @@ MASTER_SITES=	http://www.ibiblio.org/icp
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Internet connection performance logging daemon
 
-USES=	tar:bzip2
+USES=		tar:bzip2
 GNU_CONFIGURE=	yes
 
 PORTDOCS=	README
@@ -20,13 +20,7 @@ PLIST_FILES=	bin/icpld etc/icpld.conf.sa
 
 OPTIONS_DEFINE=	IPV6 DOCS
 
-.include  <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MIPV6}
-CONFIGURE_ARGS+=	--enable-ipv6
-.else
-CONFIGURE_ARGS+=	--disable-ipv6
-.endif
+IPV6_CONFIGURE_ENABLE=	ipv6
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@@ -36,12 +30,8 @@ do-install:
 	@${ECHO_MSG} '===> Installing ${STAGEDIR}${PREFIX}/etc/rc.d/icpld.sh.sample'
 	${INSTALL_SCRIPT} ${WRKSRC}/contrib/icpld.sh.sample ${STAGEDIR}${PREFIX}/etc/rc.d
 
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for i in README
-	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
-.endfor
-.endif
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601081359.u08DxPci053747>