7f4572eae4
With hat: portmgr Sponsored by: Absolight
28 lines
705 B
Makefile
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>
|