aboutsummaryrefslogtreecommitdiffstats
path: root/astro/py-pyfits/Makefile
blob: 136693ac23f473dca3a5d9d3c8e550898b7e2bad (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
# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$

PORTNAME=   pyfits
PORTVERSION=    3.3
PORTREVISION=   1
CATEGORIES= astro python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Python Interface to FITS Formatted Files

BUILD_DEPENDS=  ${PYTHON_SITELIBDIR}/numpy/core/numeric.py:${PORTSDIR}/math/py-numpy \
        ${PYTHON_PKGNAMEPREFIX}d2to1>=0:${PORTSDIR}/devel/py-d2to1 \
        ${PYTHON_PKGNAMEPREFIX}stsci.distutils>=0:${PORTSDIR}/devel/py-stsci.distutils
RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/numpy/core/numeric.py:${PORTSDIR}/math/py-numpy \
        ${PYTHON_PKGNAMEPREFIX}d2to1>=0:${PORTSDIR}/devel/py-d2to1

USE_PYTHON= yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_AUTOPLIST=  yes

.include <bsd.port.mk>