From owner-svn-ports-head@FreeBSD.ORG Sun Oct 28 19:49:14 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 42BC0652; Sun, 28 Oct 2012 19:49:14 +0000 (UTC) (envelope-from pgj@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 2ABEA8FC19; Sun, 28 Oct 2012 19:49:14 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9SJnEZu086124; Sun, 28 Oct 2012 19:49:14 GMT (envelope-from pgj@svn.freebsd.org) Received: (from pgj@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9SJnDDa086122; Sun, 28 Oct 2012 19:49:13 GMT (envelope-from pgj@svn.freebsd.org) Message-Id: <201210281949.q9SJnDDa086122@svn.freebsd.org> From: Gabor Pali Date: Sun, 28 Oct 2012 19:49:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306562 - head/net/beacon X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2012 19:49:14 -0000 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 + +.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