svn commit: r306562 - head/net/beacon
Gabor Pali
pgj at FreeBSD.org
Sun Oct 28 19:49:14 UTC 2012
Author: pgj
Date: Sun Oct 28 19:49:13 2012
New Revision: 306562
URL: http://svn.freebsd.org/changeset/ports/306562
Log:
- Convert options to the new format
PR: ports/172527
Submitted by: pgj
Approved by: maintainer
Feature safe: yes
Modified:
head/net/beacon/Makefile
Modified: head/net/beacon/Makefile
==============================================================================
--- head/net/beacon/Makefile Sun Oct 28 19:48:11 2012 (r306561)
+++ head/net/beacon/Makefile Sun Oct 28 19:49:13 2012 (r306562)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: beacon
-# Date created: 26 February 2004
-# Whom: Janos.Mohacsi at bsd.hu
-#
+# Created by: Janos.Mohacsi at bsd.hu
# $FreeBSD$
-#
PORTNAME= beacon
PORTVERSION= 1.4
@@ -22,15 +18,22 @@ PLIST_SUB+= VERSION=${PORTVERSION}
USE_PERL5= yes
USE_AUTOTOOLS= autoconf
-OPTIONS= IPV6 "Enable IPv6 PTR lookups" off
+OPTIONS_DEFINE= IPV6
+OPTIONS_DEFAULT=
-.ifdef(WITH_IPV6)
+IPV6_DESC= Enable IPv6 PTR lookups
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MIPV6}
BUILD_DEPENDS+= p5-Socket6>=0:${PORTSDIR}/net/p5-Socket6
CONFIGURE_ARGS+= --enable-ipv6
+.else
+CONFIGURE_ARGS+= --disable-ipv6
.endif
post-install:
-.ifndef(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}/
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
.endif
More information about the svn-ports-all
mailing list