2013-02-17 00:01:20 +00:00
|
|
|
# Created by: Wen Heping <wenheping@gmail.com>
|
2010-12-27 01:02:12 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= RO
|
2013-02-17 00:01:20 +00:00
|
|
|
PORTVERSION= 3.2.0
|
2010-12-27 01:02:12 +00:00
|
|
|
CATEGORIES= astro python
|
|
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= wen@FreeBSD.org
|
|
|
|
COMMENT= Package of Python astronomical utilities
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy/core/numeric.py:${PORTSDIR}/math/py-numpy
|
2012-01-21 17:40:15 +00:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2010-12-27 01:02:12 +00:00
|
|
|
|
2013-02-17 00:01:20 +00:00
|
|
|
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
|
2010-12-27 01:02:12 +00:00
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS=easy_install
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2013-02-17 00:01:20 +00:00
|
|
|
.if ${PORT_OPTIONS:MMATPLOTLIB}
|
2010-12-27 01:02:12 +00:00
|
|
|
RUN_DEPENDS+= ${PKGNAMEPREFIX}matplotlib>=0.98:${PORTSDIR}/math/py-matplotlib
|
|
|
|
.endif
|
|
|
|
|
2013-02-17 00:01:20 +00:00
|
|
|
.if ${PORT_OPTIONS:MPYFITS}
|
2010-12-27 01:02:12 +00:00
|
|
|
RUN_DEPENDS+= ${PKGNAMEPREFIX}pyfits>=1.1:${PORTSDIR}/astro/py-pyfits
|
|
|
|
.endif
|
|
|
|
|
2013-02-17 00:01:20 +00:00
|
|
|
.if ${PORT_OPTIONS:MPYGAME}
|
2010-12-27 01:02:12 +00:00
|
|
|
RUN_DEPENDS+= ${PKGNAMEPREFIX}game>=1.8.1:${PORTSDIR}/devel/py-game
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|