aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2014-10-04 23:58:24 +0800
committerjhale <jhale@FreeBSD.org>2014-10-04 23:58:24 +0800
commitadf4417e57b409eae76b4ebefb512ab43867569c (patch)
tree915aad6ff40e09bc34ad281596815cfc8c1c9d45 /astro
parent9d2686b32604bbbea94d3f70d53e7b7f661652e9 (diff)
downloadfreebsd-ports-gnome-adf4417e57b409eae76b4ebefb512ab43867569c.tar.gz
freebsd-ports-gnome-adf4417e57b409eae76b4ebefb512ab43867569c.tar.zst
freebsd-ports-gnome-adf4417e57b409eae76b4ebefb512ab43867569c.zip
- Convert to USES=python
- Add LICENSE
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>