From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 21 23:50:01 2012 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DCCD83C0 for ; Wed, 21 Nov 2012 23:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id B0DF88FC12 for ; Wed, 21 Nov 2012 23:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qALNo01j046042 for ; Wed, 21 Nov 2012 23:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qALNo0S7046041; Wed, 21 Nov 2012 23:50:00 GMT (envelope-from gnats) Resent-Date: Wed, 21 Nov 2012 23:50:00 GMT Resent-Message-Id: <201211212350.qALNo0S7046041@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Chris Petrik Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7AE1C387 for ; Wed, 21 Nov 2012 23:43:16 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 62C488FC08 for ; Wed, 21 Nov 2012 23:43:16 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qALNhGO2010775 for ; Wed, 21 Nov 2012 23:43:16 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qALNhGdr010774; Wed, 21 Nov 2012 23:43:16 GMT (envelope-from nobody) Message-Id: <201211212343.qALNhGdr010774@red.freebsd.org> Date: Wed, 21 Nov 2012 23:43:16 GMT From: Chris Petrik To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/173822: [PATCH] astro/py-RO optionsng X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 23:50:01 -0000 >Number: 173822 >Category: ports >Synopsis: [PATCH] astro/py-RO optionsng >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Nov 21 23:50:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Chris Petrik >Release: >Organization: na >Environment: >Description: Options NG Changes >How-To-Repeat: >Fix: Patch attached with submission follows: Index: py-RO/Makefile =================================================================== --- py-RO/Makefile (revision 305494) +++ py-RO/Makefile (working copy) @@ -1,9 +1,5 @@ -# New ports collection makefile for: py-RO -# Date created: Dec 26, 2010 -# Whom: Wen Heping -# +# Created by: Wen Heping # $FreeBSD$ -# PORTNAME= RO PORTVERSION= 2.9.3 @@ -17,24 +13,27 @@ BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy/core/numeric.py:${PORTSDIR}/math/py-numpy RUN_DEPENDS:= ${BUILD_DEPENDS} -OPTIONS= MATPLOTLIB "Add support for Matplotlib" Off \ - PYFITS "Add Support for PyFITS" On \ - PYGAME "Add Support for PyGame" Off +OPTIONS_DEFINE= MATPLOTLIB PYFITS PYGAME +OPTIONS_DEFAULT= PYFITS +MATPLOTLIB_DESC= Add support for Matplotlib +PYFITS_DESC= Add Support for PyFITS +PYGAME_DESC= Add Support for PyGame + USE_PYTHON= yes USE_PYDISTUTILS=easy_install .include -.if defined(WITH_MATPLOTLIB) +.if ${PORT_OPTIONS:MMATPLOTLIB} RUN_DEPENDS+= ${PKGNAMEPREFIX}matplotlib>=0.98:${PORTSDIR}/math/py-matplotlib .endif -.if !defined(WITHOUT_PYFITS) +.if ${PORT_OPTIONS:MPYFITS} RUN_DEPENDS+= ${PKGNAMEPREFIX}pyfits>=1.1:${PORTSDIR}/astro/py-pyfits .endif -.if defined(WITH_PYGAME) +.if ${PORT_OPTIONS:MPYGAME} RUN_DEPENDS+= ${PKGNAMEPREFIX}game>=1.8.1:${PORTSDIR}/devel/py-game .endif >Release-Note: >Audit-Trail: >Unformatted: