freebsd-ports/astro/py-pyfits/Makefile
Mathieu Arnold 7f4572eae4 Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:29:15 +00:00

28 lines
705 B
Makefile

# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= pyfits
PORTVERSION= 3.4
CATEGORIES= astro python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python Interface to FITS Formatted Files
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}d2to1>=0:devel/py-d2to1 \
${PYTHON_PKGNAMEPREFIX}stsci.distutils>=0:devel/py-stsci.distutils
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}d2to1>=0:devel/py-d2to1
USES= python
USE_PYTHON= autoplist distutils
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pyfits/compression.so
.include <bsd.port.mk>