freebsd-ports/math/petiga/Makefile
2024-01-01 12:49:51 +01:00

37 lines
749 B
Makefile

PORTNAME= petiga
DISTVERSION= g20221208
PORTREVISION= 6
CATEGORIES= math python
MAINTAINER= yuri@FreeBSD.org
COMMENT= Framework for High Performance Isogeometric Analysis
WWW= https://github.com/dalcinl/PetIGA
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
LIB_DEPENDS= libblas.so:math/blas \
liblapack.so:math/lapack \
libmpich.so:net/mpich \
libpetsc.so:science/PETSc
USES= gmake compiler:c++14-lang fortran xorg
USE_LDCONFIG= yes
USE_XORG= x11
MAKEFILE= makefile
MAKE_ENV= PETSC_DIR=${LOCALBASE}
MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX}
USE_GITHUB= yes
GH_ACCOUNT= dalcinl
GH_PROJECT= PetIGA
GH_TAGNAME= 218fdfa
TEST_TARGET= check
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpetiga.so
.include <bsd.port.mk>