1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/astro/py-pysofa/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

26 lines
584 B
Makefile

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:3.6+
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>