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