blob: a76ff93e1d3a931cf5256d691d3fca43de00cd0c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= RO
PORTVERSION= 3.2.0
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
RUN_DEPENDS:= ${BUILD_DEPENDS}
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 <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MMATPLOTLIB}
RUN_DEPENDS+= ${PKGNAMEPREFIX}matplotlib>=0.98:${PORTSDIR}/math/py-matplotlib
.endif
.if ${PORT_OPTIONS:MPYFITS}
RUN_DEPENDS+= ${PKGNAMEPREFIX}pyfits>=1.1:${PORTSDIR}/astro/py-pyfits
.endif
.if ${PORT_OPTIONS:MPYGAME}
RUN_DEPENDS+= ${PKGNAMEPREFIX}game>=1.8.1:${PORTSDIR}/devel/py-game
.endif
.include <bsd.port.post.mk>
|