mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
34 lines
972 B
Makefile
34 lines
972 B
Makefile
PORTNAME= gpaw
|
|
DISTVERSION= 21.6.0
|
|
CATEGORIES= science python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= DFT and beyond within the projector-augmented wave method in chemistry
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYNUMPY}
|
|
LIB_DEPENDS= libblas.so:math/blas \
|
|
libmpich.so:net/mpich \
|
|
libopenblas.so:math/openblas \
|
|
libxc.so:science/libxc
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ase>0:science/py-ase@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
|
|
${PYNUMPY} \
|
|
${PYTHON_PKGNAMEPREFIX}scipy>=0:science/py-scipy@${PY_FLAVOR}
|
|
|
|
USES= gettext-runtime localbase python:3.7+ shebangfix
|
|
USE_PYTHON= distutils concurrent autoplist
|
|
SHEBANG_FILES= tools/*
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} "s|'/usr/local/|'${LOCALBASE}/|" ${WRKSRC}/gpaw/__init__.py
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_gpaw*.so
|
|
|
|
.include <bsd.port.mk>
|