25 lines
900 B
Makefile
25 lines
900 B
Makefile
# $NetBSD: Makefile,v 1.8 2020/05/25 05:29:32 rillig Exp $
|
|
|
|
DISTNAME= pyfits-3.5
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
|
|
CATEGORIES= graphics python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyfits/}
|
|
|
|
MAINTAINER= kamelderouiche@yahoo.com
|
|
HOMEPAGE= http://www.stsci.edu/resources/software_hardware/pyfits
|
|
COMMENT= Python module for reading, writing, and manipulating FITS files
|
|
LICENSE= modified-bsd
|
|
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-d2to1>=0.2.12:../../devel/py-d2to1
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-stsci.distutils>=0.3:../../devel/py-stsci.distutils
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} fitscheck fitscheck-${PYVERSSUFFIX} && \
|
|
${MV} fitsdiff fitsdiff-${PYVERSSUFFIX} && \
|
|
${MV} fitshead fitshead-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../math/py-numpy/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|