From owner-svn-ports-head@FreeBSD.ORG Thu May 23 02:27:23 2013 Return-Path: Delivered-To: svn-ports-head@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 649EAEBC; Thu, 23 May 2013 02:27:23 +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 472369BF; Thu, 23 May 2013 02:27:23 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4N2RNa1080801; Thu, 23 May 2013 02:27:23 GMT (envelope-from jgh@svn.freebsd.org) Received: (from jgh@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4N2RMi7080798; Thu, 23 May 2013 02:27:22 GMT (envelope-from jgh@svn.freebsd.org) Message-Id: <201305230227.r4N2RMi7080798@svn.freebsd.org> From: Jason Helfman Date: Thu, 23 May 2013 02:27:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r318828 - in head/devel: librcc poco poco-ssl 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: Thu, 23 May 2013 02:27:23 -0000 Author: jgh Date: Thu May 23 02:27:22 2013 New Revision: 318828 URL: http://svnweb.freebsd.org/changeset/ports/318828 Log: - adoption of optionsNG - trim historical headers Approved by: portmgr (miwi) Modified: head/devel/librcc/Makefile head/devel/poco-ssl/Makefile head/devel/poco/Makefile Modified: head/devel/librcc/Makefile ============================================================================== --- head/devel/librcc/Makefile Thu May 23 02:23:34 2013 (r318827) +++ head/devel/librcc/Makefile Thu May 23 02:27:22 2013 (r318828) @@ -1,9 +1,5 @@ -# New ports collection makefile for: librcc -# Date created: 30-12-2007 -# Whom: Ulrich Spoerlein -# +# Created by: Ulrich Spoerlein # $FreeBSD$ -# PORTNAME= librcc PORTVERSION= 0.2.9 @@ -35,15 +31,16 @@ LIBS= -L${LOCALBASE}/lib CONFIGURE_ENV= LIBS="${LIBS}" -OPTIONS= BDB "Translation database support" off \ - TRANSLATE "Online translation support" off \ - TOOLS "Install recode configuration utility" on \ - GTK1 "Use Gtk1 library/frontend" on \ - GTK2 "Use Gtk2 library/frontend" on +OPTIONS_DEFINE= BDB TRANSLATE TOOLS GTK1 GTK2 +BDB_DESC= Translation database support +TRANSLATE_DESC= Online translation support +TOOLS_DESC= Recode configuration utility + +OPTIONS_DEFAULT= TOOLS GTK1 GTK2 .include -.if defined(WITH_BDB) +.if ${PORT_OPTIONS:MBDB} USE_BDB= 41+ CPPFLAGS+= -I${BDB_INCLUDE_DIR} LIBS+= -L${BDB_LIB_DIR} @@ -52,14 +49,14 @@ CONFIGURE_ARGS+=--enable-bdb CONFIGURE_ARGS+=--disable-bdb .endif -.if defined(WITH_TRANSLATE) +.if ${PORT_OPTIONS:MTRANSLATE} LIB_DEPENDS+= translate.0:${PORTSDIR}/textproc/libtranslate CONFIGURE_ARGS+=--enable-libtranslate .else CONFIGURE_ARGS+=--disable-libtranslate .endif -.if defined(WITH_GTK1) +.if ${PORT_OPTIONS:MGTK1} USE_GNOME+= glib12 gtk12 PLIST_SUB+= WITH_GTK1="" .else @@ -67,7 +64,7 @@ CONFIGURE_ENV+= ac_cv_path_GTK_CONFIG=no PLIST_SUB+= WITH_GTK1="@comment " .endif -.if defined(WITH_GTK2) +.if ${PORT_OPTIONS:MGTK2} USE_GNOME+= gtk20 PLIST_SUB+= WITH_GTK2="" .else @@ -75,7 +72,7 @@ CONFIGURE_ARGS+=--disable-glib2 --disabl PLIST_SUB+= WITH_GTK2="@comment " .endif -.if defined(WITH_TOOLS) +.if ${PORT_OPTIONS:MTOOLS} EXTRA_PATCHES+= ${FILESDIR}/extrapatch-rcc-config PLIST_SUB+= TOOLS="" .else @@ -84,7 +81,7 @@ PLIST_SUB+= TOOLS="@comment " pre-everything:: .if ${ARCH} == "i386" -.if defined(WITH_BDB) || defined (WITH_TRANSLATE) +.if ${PORT_OPTIONS:MBDB) || ${PORT_OPTIONS:MTRANSLATE} @${ECHO} 'BDB/LibTranslate support may cause breakages in depended apps on ${ARCH}' @${ECHO} 'Use it with caution' .endif Modified: head/devel/poco-ssl/Makefile ============================================================================== --- head/devel/poco-ssl/Makefile Thu May 23 02:23:34 2013 (r318827) +++ head/devel/poco-ssl/Makefile Thu May 23 02:27:22 2013 (r318828) @@ -1,7 +1,4 @@ -# ex:ts=8 -# New ports collection makefile for: poco-ssl -# Date created: Jan 28, 2007 -# Whom: wes +# Created by: wes@FreeBSD.org # # $FreeBSD$ # @@ -19,49 +16,52 @@ COMMENT= C++ Portable Components library CONFLICTS= poco-[0-9]* -OPTIONS= TESTS "Build testsuites" off \ - SAMPLES "Build sample programs" off \ - MYSQL "Build MySQL driver" on \ - UODBC "Build with ODBC driver" off \ - IODBC "Build with iODBC driver" on \ - SQLITE "Build SQLite driver" on +OPTIONS_DEFINE= TEST SAMPLES MYSQL SQLITE +SAMPLES_DESC= Build sample programs +UODBC_DESC= Build with ODBC driver +IODBC_DESC= Build with iODBC driver + +OPTIONS_RADIO= ODBC +OPTIONS_RADIO_ODBC= UODBC IODBC +ODBC_DESC= ODBC Driver + +OPTIONS_DEFAULT= MYSQL IODBC SQLITE CONFIGURE_ARGS= --config=FreeBSD -.if !defined(WITH_TESTS) +.include + +.if ! ${PORT_OPTIONS:MTEST} CONFIGURE_ARGS+= --no-tests .endif -.if !defined(WITH_SAMPLES) +.if ! ${PORT_OPTIONS:MSAMPLES} CONFIGURE_ARGS+= --no-samples .endif # # ODBC # -.if defined(WITH_UODBC) && defined(WITH_IODBC) -IGNORE= please select either UODBC or IODBC, but not both -.endif -.if !defined(WITH_UODBC) && !defined(WITH_IODBC) +.if ! ${PORT_OPTIONS:MUODBC) && ! ${PORT_OPTIONS:MIODBC} CONFIGURE_ARGS+= --omit=Data/ODBC .endif -.if defined(WITH_UODBC) && !defined(WITH_IODBC) +.if ${PORT_OPTIONS:MUODBC) && ! ${PORT_OPTIONS:MIODBC} LIB_DEPENDS+= odbc.2:${PORTSDIR}/databases/unixODBC .endif -.if defined(WITH_IODBC) && !defined(WITH_UODBC) +.if ${PORT_OPTIONS:MIODBC) && ! ${PORT_OPTIONS:MUODBC} LIB_DEPENDS+= iodbc.3:${PORTSDIR}/databases/libiodbc .endif -.if defined(WITH_MYSQL) +.if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes .else CONFIGURE_ARGS+= --omit=Data/MySQL .endif -.if defined(WITH_SQLITE) +.if ${PORT_OPTIONS:MSQLITE} USE_SQLITE= yes .else CONFIGURE_ARGS+= --omit=Data/SQLite Modified: head/devel/poco/Makefile ============================================================================== --- head/devel/poco/Makefile Thu May 23 02:23:34 2013 (r318827) +++ head/devel/poco/Makefile Thu May 23 02:27:22 2013 (r318828) @@ -1,10 +1,5 @@ -# ex:ts=8 -# New ports collection makefile for: poco -# Date created: Nov 30, 2006 -# Whom: wes -# +# Created by: wes@FreeBSD.org # $FreeBSD$ -# PORTNAME= poco PORTVERSION= 1.4.3 @@ -17,16 +12,18 @@ COMMENT= C++ Portable Components library CONFLICTS= poco-ssl-[0-9]* -OPTIONS= TESTS "Build testsuites" off \ - SAMPLES "Build sample programs" off +OPTIONS_DEFINE= TEST SAMPLES +SAMPLES_DESC= Build sample programs CONFIGURE_ARGS= --config=FreeBSD -.if !defined(WITH_TESTS) +.include + +.if ! ${PORT_OPTIONS:MTEST} CONFIGURE_ARGS+= --no-tests .endif -.if !defined(WITH_SAMPLES) +.if ! ${PORT_OPTIONS:MSAMPLES} CONFIGURE_ARGS+= --no-samples .endif