aboutsummaryrefslogtreecommitdiffstats
path: root/net/apinger
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-03-06 01:07:43 +0800
committermiwi <miwi@FreeBSD.org>2013-03-06 01:07:43 +0800
commitb5e88d7789bddf1e308d47c8c5b81b8d3f0c31d7 (patch)
tree268d74f9d8738f78b0c895672044611aa6343387 /net/apinger
parent4c148339a17778393b116c6e7051a9bc484e786a (diff)
downloadfreebsd-ports-gnome-b5e88d7789bddf1e308d47c8c5b81b8d3f0c31d7.tar.gz
freebsd-ports-gnome-b5e88d7789bddf1e308d47c8c5b81b8d3f0c31d7.tar.zst
freebsd-ports-gnome-b5e88d7789bddf1e308d47c8c5b81b8d3f0c31d7.zip
- Convert to OptionsNG
- Trim header Reviewed by: beat, bapt, kwm
Diffstat (limited to 'net/apinger')
-rw-r--r--net/apinger/Makefile17
1 files changed, 5 insertions, 12 deletions
diff --git a/net/apinger/Makefile b/net/apinger/Makefile
index cc5a3fa3570e..c22634b48e85 100644
--- a/net/apinger/Makefile
+++ b/net/apinger/Makefile
@@ -1,10 +1,5 @@
-# ex:ts=8
-# Ports collection makefile for: apinger
-# Date created: Tue Jul 17, 2002
-# Whom: Michael L. Hostbaek (mich@freebsdcluster.org)
-#
+# Created by: Michael L. Hostbaek (mich@freebsdcluster.org)
# $FreeBSD$
-#
PORTNAME= apinger
PORTVERSION= 0.6.1
@@ -20,27 +15,25 @@ GNU_CONFIGURE= yes
USE_RC_SUBR= apinger
SUB_FILES= pkg-message
-OPTIONS= IPV6 "With support for IPv6" on
+OPTIONS_DEFINE= IPV6
.include <bsd.port.options.mk>
-.if !defined(WITH_IPV6)
+.if !${PORT_OPTIONS:MIPV6}
CONFIGURE_ARGS+= --disable-ipv6
.endif
-.include <bsd.port.pre.mk>
-
post-install:
${INSTALL_DATA} ${WRKSRC}/src/apinger.conf ${PREFIX}/etc/apinger.conf.sample
.if !defined(BATCH)
@${CAT} ${PKGMESSAGE}
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}/NEWS
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}/AUTHORS
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>