2010-12-27 02:02:12 +01:00
|
|
|
# New ports collection makefile for: py-RO
|
|
|
|
# Date created: Dec 26, 2010
|
|
|
|
# Whom: Wen Heping <wenheping@gmail.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= RO
|
2011-10-20 12:38:04 +02:00
|
|
|
PORTVERSION= 2.9.3
|
2010-12-27 02:02:12 +01: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 18:40:15 +01:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2010-12-27 02:02:12 +01:00
|
|
|
|
|
|
|
OPTIONS= MATPLOTLIB "Add support for Matplotlib" Off \
|
|
|
|
PYFITS "Add Support for PyFITS" On \
|
|
|
|
PYGAME "Add Support for PyGame" Off
|
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS=easy_install
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_MATPLOTLIB)
|
|
|
|
RUN_DEPENDS+= ${PKGNAMEPREFIX}matplotlib>=0.98:${PORTSDIR}/math/py-matplotlib
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_PYFITS)
|
|
|
|
RUN_DEPENDS+= ${PKGNAMEPREFIX}pyfits>=1.1:${PORTSDIR}/astro/py-pyfits
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_PYGAME)
|
|
|
|
RUN_DEPENDS+= ${PKGNAMEPREFIX}game>=1.8.1:${PORTSDIR}/devel/py-game
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|