From owner-svn-ports-head@FreeBSD.ORG Tue May 21 07:09:47 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3A0074A0; Tue, 21 May 2013 07:09:47 +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 1D4C165D; Tue, 21 May 2013 07:09:47 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4L79kFW062968; Tue, 21 May 2013 07:09:47 GMT (envelope-from jgh@svn.freebsd.org) Received: (from jgh@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4L79k8E062965; Tue, 21 May 2013 07:09:46 GMT (envelope-from jgh@svn.freebsd.org) Message-Id: <201305210709.r4L79k8E062965@svn.freebsd.org> From: Jason Helfman Date: Tue, 21 May 2013 07:09:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r318650 - in head/devel: py-simpy py-tables 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: Tue, 21 May 2013 07:09:47 -0000 Author: jgh Date: Tue May 21 07:09:46 2013 New Revision: 318650 URL: http://svnweb.freebsd.org/changeset/ports/318650 Log: - adoption of optionsNG Approved by: maintainer, wen@ Modified: head/devel/py-simpy/Makefile head/devel/py-tables/Makefile Modified: head/devel/py-simpy/Makefile ============================================================================== --- head/devel/py-simpy/Makefile Tue May 21 06:44:17 2013 (r318649) +++ head/devel/py-simpy/Makefile Tue May 21 07:09:46 2013 (r318650) @@ -17,17 +17,20 @@ USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= SimPy -OPTIONS= TKINTER "Install py-tkinter for plot" off +OPTIONS_DEFINE= TKINTER +TKINTER_DESC= py-tkinter for plot + OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options +.include .include -.if defined(WITH_TKINTER) +.if ${PORT_OPTIONS:MTKINTER} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter .endif post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR}) .endif Modified: head/devel/py-tables/Makefile ============================================================================== --- head/devel/py-tables/Makefile Tue May 21 06:44:17 2013 (r318649) +++ head/devel/py-tables/Makefile Tue May 21 07:09:46 2013 (r318650) @@ -1,10 +1,5 @@ -# ex:ts=8 -# Ports collection makefile for: PyTables -# Date created: Dec 19, 2003 -# Whom: ijliao -# +# Created by: ijliao@FreeBSD.org # $FreeBSD$ -# PORTNAME= tables PORTVERSION= 2.4.0 @@ -15,7 +10,7 @@ DISTFILES= tables-${PORTVERSION}.tar.gz EXTRACT_ONLY= tables-${PORTVERSION}.tar.gz MAINTAINER= wen@FreeBSD.org -COMMENT= A hierarchical database for Python +COMMENT= Hierarchical database for Python BUILD_DEPENDS= ${PYNUMPY} \ ${LOCALBASE}/bin/cython:${PORTSDIR}/lang/cython \ @@ -30,12 +25,15 @@ USE_PYDISTUTILS= yes PLIST_FILES= bin/nctoh5 bin/ptdump bin/ptrepack -OPTIONS= PYREX "Use code generated by Pyrex to build" off +OPTIONS_DEFINE= PYREX +PYREX_DESC= Use code generated by Pyrex to build + OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options +.include .include -.if !defined(WITHOUT_PYREX) +.if ${PORT_OPTIONS:MPYREX} BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/Pyrex/__init__.py:${PORTSDIR}/devel/pyrex .endif @@ -48,7 +46,7 @@ post-install: @${FIND} ${PYTHONPREFIX_SITELIBDIR}/tables -type d | ${SORT} -r | \ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${DISTDIR}/pytablesmanual-${PORTVERSION}.pdf ${DOCSDIR} ${ECHO} '${DOCSDIR}/pytablesmanual-${PORTVERSION}.pdf' | ${SED} 's,^${PREFIX}/,,' \ @@ -57,7 +55,7 @@ post-install: >> ${TMPPLIST} .endif -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR} @${FIND} ${EXAMPLESDIR} ! -type d | \