View | Details | Raw Unified | Return to bug 173822
Collapse All | Expand All

(-)py-RO/Makefile (working copy) (-11 / +10 lines)
Lines 1-9 Link Here
1
# New ports collection makefile for:   py-RO
1
# Created by: Wen Heping <wenheping@gmail.com>
2
# Date created:                                Dec 26, 2010
3
# Whom:                                        Wen Heping <wenheping@gmail.com>
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
PORTNAME=      RO
3
PORTNAME=      RO
8
PORTVERSION=   2.9.3
4
PORTVERSION=   2.9.3
Lines 17-40 Link Here
17
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy/core/numeric.py:${PORTSDIR}/math/py-numpy
13
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy/core/numeric.py:${PORTSDIR}/math/py-numpy
18
RUN_DEPENDS:=  ${BUILD_DEPENDS}
14
RUN_DEPENDS:=  ${BUILD_DEPENDS}
19
OPTIONS=       MATPLOTLIB "Add support for Matplotlib" Off \
15
OPTIONS_DEFINE=        MATPLOTLIB PYFITS PYGAME
20
               PYFITS     "Add Support for PyFITS" On \
16
OPTIONS_DEFAULT=       PYFITS
21
               PYGAME     "Add Support for PyGame" Off
17
MATPLOTLIB_DESC=       Add support for Matplotlib
18
PYFITS_DESC=           Add Support for PyFITS
19
PYGAME_DESC=           Add Support for PyGame
20
22
USE_PYTHON=    yes
21
USE_PYTHON=    yes
23
USE_PYDISTUTILS=easy_install
22
USE_PYDISTUTILS=easy_install
24
.include <bsd.port.pre.mk>
23
.include <bsd.port.pre.mk>
25
.if defined(WITH_MATPLOTLIB)
24
.if ${PORT_OPTIONS:MMATPLOTLIB}
26
RUN_DEPENDS+=  ${PKGNAMEPREFIX}matplotlib>=0.98:${PORTSDIR}/math/py-matplotlib
25
RUN_DEPENDS+=  ${PKGNAMEPREFIX}matplotlib>=0.98:${PORTSDIR}/math/py-matplotlib
27
.endif
26
.endif
28
.if !defined(WITHOUT_PYFITS)
27
.if ${PORT_OPTIONS:MPYFITS}
29
RUN_DEPENDS+=  ${PKGNAMEPREFIX}pyfits>=1.1:${PORTSDIR}/astro/py-pyfits
28
RUN_DEPENDS+=  ${PKGNAMEPREFIX}pyfits>=1.1:${PORTSDIR}/astro/py-pyfits
30
.endif
29
.endif
31
.if defined(WITH_PYGAME)
30
.if ${PORT_OPTIONS:MPYGAME}
32
RUN_DEPENDS+=  ${PKGNAMEPREFIX}game>=1.8.1:${PORTSDIR}/devel/py-game
31
RUN_DEPENDS+=  ${PKGNAMEPREFIX}game>=1.8.1:${PORTSDIR}/devel/py-game
33
.endif
32
.endif

Return to bug 173822