1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/astro/py-RO/Makefile
Wen Heping 0aba595f84 - Update to 3.2.0
- Trim Makefile headers [1]
- Convert to optionsNG [1]

PR:		173822 [1]
Submitted by:	Chris Petrik <c.petrik.sosa@gmail.com> [1]
2013-02-17 00:01:20 +00:00

41 lines
993 B
Makefile

# 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>