From owner-svn-ports-all@FreeBSD.ORG Thu May 23 02:23:36 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3A695DA0; Thu, 23 May 2013 02:23:36 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 1CB6E9A1; Thu, 23 May 2013 02:23:36 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4N2NZcL080071; Thu, 23 May 2013 02:23:36 GMT (envelope-from jgh@svn.freebsd.org) Received: (from jgh@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4N2NYd4080058; Thu, 23 May 2013 02:23:34 GMT (envelope-from jgh@svn.freebsd.org) Message-Id: <201305230223.r4N2NYd4080058@svn.freebsd.org> From: Jason Helfman Date: Thu, 23 May 2013 02:23:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r318827 - in head/devel: py-yaml qtscriptgenerator talloc tevent thrift tijmp trac-bitten X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 02:23:36 -0000 Author: jgh Date: Thu May 23 02:23:34 2013 New Revision: 318827 URL: http://svnweb.freebsd.org/changeset/ports/318827 Log: - adoption of optionsNG - trim historical headers Approved by: portmgr (miwi) Modified: head/devel/py-yaml/Makefile head/devel/qtscriptgenerator/Makefile head/devel/talloc/Makefile head/devel/tevent/Makefile head/devel/thrift/Makefile head/devel/tijmp/Makefile head/devel/trac-bitten/Makefile Modified: head/devel/py-yaml/Makefile ============================================================================== --- head/devel/py-yaml/Makefile Thu May 23 02:19:02 2013 (r318826) +++ head/devel/py-yaml/Makefile Thu May 23 02:23:34 2013 (r318827) @@ -1,10 +1,5 @@ -# ex:ts=8 -# Ports collection makefile for: py-yaml -# Date created: Jan 3, 2003 -# Whom: ijliao -# +# Created by: ijliao@FreeBSD.org # $FreeBSD$ -# PORTNAME= yaml PORTVERSION= 3.10 @@ -16,7 +11,7 @@ DISTNAME= PyYAML-${PORTVERSION} MAINTAINER= jpaetzel@FreeBSD.org COMMENT= Python YAML parser -OPTIONS= YAML "Enable LibYAML binding" Off +OPTIONS_DEFINE= YAML USE_PYTHON= yes USE_PYDISTUTILS= yes @@ -27,14 +22,16 @@ OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} -.if !defined(NOPORTEXAMPLES) +.include + +.if ${PORT_OPTIONS:MEXAMPLES} post-install: @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}/) .endif .include -.if defined(WITH_YAML) +.if ${PORT_OPTIONS:MYAML} PYSETUP= setup.py --with-libyaml PYDISTUTILS_BUILD_TARGET= build_ext PYDISTUTILS_BUILDARGS+= --include-dirs=${LOCALBASE}/include \ Modified: head/devel/qtscriptgenerator/Makefile ============================================================================== --- head/devel/qtscriptgenerator/Makefile Thu May 23 02:19:02 2013 (r318826) +++ head/devel/qtscriptgenerator/Makefile Thu May 23 02:23:34 2013 (r318827) @@ -1,20 +1,19 @@ -# New ports collection makefile for: qtscriptgenerator -# Date Created: 13 Apr 2009 -# Whom: Mina R Waheeb -# +# Created by: Mina R Waheeb # $FreeBSD$ PORTNAME= qtscriptgenerator PORTVERSION= 0.2.0 PORTREVISION= 1 CATEGORIES= devel -MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} +MASTER_SITES= GOOGLE_CODE DISTNAME= ${PORTNAME}-src-${PORTVERSION} MAINTAINER= syncer@gmail.com COMMENT= Tool that generates Qt bindings for Qt Script -OPTIONS= PHONON "Build Phonon support" on +OPTIONS_DEFINE= PHONON +PHONON_DESC= Build Phonon support +OPTIONS_DEFAULT= PHONON USE_QT4= corelib declarative designer doc help help-tools gui \ iconengines imageformats inputmethods linguist network \ @@ -28,7 +27,7 @@ USE_LDCONFIG= yes .include -.if !defined(WITHOUT_PHONON) +.if ${PORT_OPTIONS:MPHONON} USE_QT4+= phonon PLIST_SUB+= PHONON="" .else Modified: head/devel/talloc/Makefile ============================================================================== --- head/devel/talloc/Makefile Thu May 23 02:19:02 2013 (r318826) +++ head/devel/talloc/Makefile Thu May 23 02:23:34 2013 (r318827) @@ -28,7 +28,8 @@ MAKE_JOBS_SAFE= yes PKGCONFIGDIR?= ${PREFIX}/libdata/pkgconfig PLIST_SUB+= PKGCONFIGDIR=${PKGCONFIGDIR:S;${PREFIX}/;;} -OPTIONS= PYTHON "Python bindings" on +OPTIONS_DEFINE= PYTHON +OPTIONS_DEFAULT= PYTHON .include @@ -52,7 +53,7 @@ _MAKE_JOBS= --jobs=${MAKE_JOBS_NUMBER} .endif .endif -.if defined(WITH_PYTHON) +.if ${PORT_OPTIONS:MPYTHON} USE_PYTHON_RUN= yes PLIST_FILES+= include/pytalloc.h \ lib/libpytalloc-util.so \ Modified: head/devel/tevent/Makefile ============================================================================== --- head/devel/tevent/Makefile Thu May 23 02:19:02 2013 (r318826) +++ head/devel/tevent/Makefile Thu May 23 02:23:34 2013 (r318827) @@ -28,7 +28,8 @@ MAKE_JOBS_SAFE= yes PKGCONFIGDIR?= ${PREFIX}/libdata/pkgconfig PLIST_SUB+= PKGCONFIGDIR=${PKGCONFIGDIR:S;${PREFIX}/;;} -OPTIONS= PYTHON "Python bindings" on +OPTIONS_DEFINE= PYTHON +OPTIONS_DEFAULT= PYTHON .include @@ -57,7 +58,7 @@ _MAKE_JOBS= --jobs=${MAKE_JOBS_NUMBER} .endif .endif -.if defined(WITH_PYTHON) +.if ${PORT_OPTIONS:MPYTHON} USE_PYTHON_RUN= yes PLIST_FILES+= %%PYTHON_SITELIBDIR%%/_tevent.so \ %%PYTHON_SITELIBDIR%%/tevent.py Modified: head/devel/thrift/Makefile ============================================================================== --- head/devel/thrift/Makefile Thu May 23 02:19:02 2013 (r318826) +++ head/devel/thrift/Makefile Thu May 23 02:23:34 2013 (r318827) @@ -31,8 +31,9 @@ CONFIGURE_ARGS= --with-boost=${LOCALBASE --enable-shared --enable-static --with-zlib CONFIGURE_ENV+= ${MAKE_ENV} -OPTIONS= GLIB "Building C (GLib) Library" off \ - QT "Building Qt Library" off +OPTIONS_DEFINE= GLIB QT4 +GLIB_DESC= C (GLib) Library + # For Perl support, use devel/p5-Thrift. # For Python support, use devel/py-thrift. # For Ruby support, use devel/rubygem-thrift. @@ -51,10 +52,11 @@ CONFIGURE_ARGS+= \ --without-python \ --without-ruby +.include .include .include "bsd.thrift.mk" -.if !defined(WITHOUT_GLIB) +.if ${PORT_OPTIONS:MGLIB} CONFIGURE_ARGS+= --with-c_glib LIB_DEPENDS+= glib-2.0:${PORTSDIR}/devel/glib20 PLIST_SUB+= GLIB="" @@ -64,7 +66,7 @@ CONFIGURE_ARGS+= \ PLIST_SUB+= GLIB="@comment " .endif -.if !defined(WITHOUT_QT) +.if ${PORT_OPTIONS:MQT4} CONFIGURE_ARGS+= --with-qt4 USE_QT4= network moc_build qmake_build rcc_build uic_build PLIST_SUB+= QT="" Modified: head/devel/tijmp/Makefile ============================================================================== --- head/devel/tijmp/Makefile Thu May 23 02:19:02 2013 (r318826) +++ head/devel/tijmp/Makefile Thu May 23 02:23:34 2013 (r318827) @@ -1,9 +1,5 @@ -# New ports collection makefile for: tijmp -# Date created: 8 October 2007 -# Whom: Ronald Klop -# +# Created by: Ronald Klop # $FreeBSD$ -# PORTNAME= tijmp PORTVERSION= 0.7 @@ -14,7 +10,7 @@ MASTER_SITES= http://www.khelekore.org/j MAINTAINER= ronald@echteman.nl COMMENT= Tools Interface Java Memory Profiler -OPTIONS= OPTIMIZED_CFLAGS "Compile with -O3" off +OPTIONS_DEFINE= OPTIMIZED_CFLAGS USE_GMAKE= yes USE_JAVA= yes @@ -32,9 +28,10 @@ PLIST_FILES= lib/lib${PORTNAME}.la \ lib/lib${PORTNAME}.so lib/lib${PORTNAME}.so.0 \ %%JAVAJARDIR%%/${PORTNAME}.jar +.include .include -.if defined(WITH_OPTIMIZED_CFLAGS) +.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} CFLAGS?= -O3 .endif Modified: head/devel/trac-bitten/Makefile ============================================================================== --- head/devel/trac-bitten/Makefile Thu May 23 02:19:02 2013 (r318826) +++ head/devel/trac-bitten/Makefile Thu May 23 02:23:34 2013 (r318827) @@ -1,9 +1,5 @@ -# New ports collection makefile for: trac-bitten -# Date created: Oct 26 2009 -# Whom: Tim Niemueller -# +# Created by: Tim Niemueller # $FreeBSD$ -# PORTNAME= bitten PORTVERSION= 0.6 @@ -26,11 +22,15 @@ GROUPS= bitten-slave BITTEN_UID= 952 BITTEN_GID= 952 -OPTIONS= BITTEN_MASTER "Build bitten master" ON +OPTIONS_DEFINE= BITTEN_MASTER +BITTEN_MASTER_DESC= Build bitten master + +OPTIONS_DEFAULT= BITTEN_MASTER + .include BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-distribute -.if defined(WITH_BITTEN_MASTER) +.if ${PORT_OPTIONS:MBITTEN_MASTER} RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac .endif @@ -48,11 +48,11 @@ PYDISTUTILS_PKGNAME= Bitten PATCH_STRIP= -p1 USE_RC_SUBR= bitten-slave -.if defined(WITHOUT_BITTEN_MASTER) +.if ${PORT_OPTIONS:MBITTEN_MASTER} +PLIST_SUB+= MASTER_PORT="" EGG_NAME="Bitten" +.else PYDISTUTILS_EXTRA_INSTALLARGS=--without-master PLIST_SUB+= MASTER_PORT="@comment " EGG_NAME="BittenSlave" -.else -PLIST_SUB+= MASTER_PORT="" EGG_NAME="Bitten" .endif # reproduce rule here with added PYDISTUTILS_EXTRA_INSTALLARGS