mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
ea8c8ec7da
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
28 lines
592 B
Makefile
28 lines
592 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pysofa
|
|
DISTVERSION= 0.1.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= astro devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Python binding for SOFA, the fundamental astronomy library
|
|
|
|
LICENSE= PD
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/libsofa_c.so:astro/sofa \
|
|
${PYNUMPY}
|
|
|
|
USES= python
|
|
NO_ARCH= yes
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|find_library('sofa_c')|\"${LOCALBASE}/lib/libsofa_c.so\"|" \
|
|
${WRKSRC}/pysofa/pysofa_ctypes.py
|
|
|
|
.include <bsd.port.mk>
|