From adf4417e57b409eae76b4ebefb512ab43867569c Mon Sep 17 00:00:00 2001 From: jhale Date: Sat, 4 Oct 2014 15:58:24 +0000 Subject: - Convert to USES=python - Add LICENSE --- astro/py-pyfits/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'astro') 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 -- cgit