aboutsummaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2014-10-04 15:58:24 +0000
committerJason E. Hale <jhale@FreeBSD.org>2014-10-04 15:58:24 +0000
commit00ac9acb26fddd96a48181f568fc894a9aa1fbd3 (patch)
tree915aad6ff40e09bc34ad281596815cfc8c1c9d45 /astro
parent2d1f50c4055c22a896400b46dab80d6be1beaef9 (diff)
downloadports-00ac9acb26fddd96a48181f568fc894a9aa1fbd3.tar.gz
ports-00ac9acb26fddd96a48181f568fc894a9aa1fbd3.zip
Notes
Diffstat (limited to 'astro')
-rw-r--r--astro/py-pyfits/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/astro/py-pyfits/Makefile b/astro/py-pyfits/Makefile
index 136693ac23f4..e2a5abdda150 100644
--- a/astro/py-pyfits/Makefile
+++ b/astro/py-pyfits/Makefile
@@ -11,14 +11,16 @@ 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 \
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS= ${PYNUMPY} \
${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 \
+RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}d2to1>=0:${PORTSDIR}/devel/py-d2to1
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= autoplist distutils
.include <bsd.port.mk>