in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which has now moved from GCC 6 to GCC 7 by default. This includes ports - featuring USE_GCC=yes or USE_GCC=any, - featuring USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and those - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x, c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib. PR: 222542
39 lines
920 B
Makefile
39 lines
920 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= petiga
|
|
DISTVERSION= g20180518
|
|
PORTREVISION= 2
|
|
CATEGORIES= math python
|
|
MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Framework for High Performance Isogeometric Analysis
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
|
|
|
|
LIB_DEPENDS= libblas.so:math/blas \
|
|
liblapack.so:math/lapack \
|
|
libmpich.so:net/mpich2 \
|
|
libpetsc.so:science/PETSc
|
|
|
|
BB_ACCOUNT= dalcinl
|
|
BB_PROJECT= ${PORTNAME}
|
|
BB_COMMIT= e2a59b1ba054
|
|
|
|
WRKSRC= ${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}
|
|
|
|
USES= cmake:outsource compiler:c++14-lang fortran
|
|
USE_XORG= x11
|
|
USE_LDCONFIG= yes
|
|
|
|
PLIST_FILES= include/petiga.h \
|
|
lib/libpetiga.so \
|
|
lib/petiga/conf/rules \
|
|
lib/petiga/conf/test \
|
|
lib/petiga/conf/variables
|
|
|
|
post-install:
|
|
@cd ${STAGEDIR}${PREFIX}/include && ${RMDIR} petiga/cxx petiga/fad petiga
|
|
|
|
.include <bsd.port.mk>
|