Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2012 19:49:13 +0000 (UTC)
From:      Gabor Pali <pgj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306562 - head/net/beacon
Message-ID:  <201210281949.q9SJnDDa086122@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@bsd.hu
-#
+# Created by:	Janos.Mohacsi@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



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