aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-01-08 21:59:25 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-01-08 21:59:25 +0800
commit57fa3a3bdb1f632e2143213f82ca50316da10c61 (patch)
treed7c14c4b2a89d462bcb37bb2870b49b6a1e6b95f /net
parent8da10d1c92af139c438a3e5df316f9971dc19727 (diff)
downloadfreebsd-ports-graphics-57fa3a3bdb1f632e2143213f82ca50316da10c61.tar.gz
freebsd-ports-graphics-57fa3a3bdb1f632e2143213f82ca50316da10c61.tar.zst
freebsd-ports-graphics-57fa3a3bdb1f632e2143213f82ca50316da10c61.zip
- Switch to options helpers
Diffstat (limited to 'net')
-rw-r--r--net/icpld/Makefile18
1 files changed, 4 insertions, 14 deletions
diff --git a/net/icpld/Makefile b/net/icpld/Makefile
index 2aab6433ad0..6c11097fa13 100644
--- a/net/icpld/Makefile
+++ b/net/icpld/Makefile
@@ -11,7 +11,7 @@ MASTER_SITES= http://www.ibiblio.org/icpld/download/ \
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.sample etc/rc.d/icpld.sh.sample \
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>