Lines 4-9
Link Here
|
4 |
PORTNAME= libmesh |
4 |
PORTNAME= libmesh |
5 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSIONPREFIX= v |
6 |
DISTVERSION= 1.6.0 |
6 |
DISTVERSION= 1.6.0 |
|
|
7 |
PORTREVISION= 1 |
7 |
CATEGORIES= math |
8 |
CATEGORIES= math |
8 |
|
9 |
|
9 |
MAINTAINER= yuri@FreeBSD.org |
10 |
MAINTAINER= yuri@FreeBSD.org |
Lines 12-18
Link Here
|
12 |
LICENSE= LGPL21 |
13 |
LICENSE= LGPL21 |
13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
14 |
LICENSE_FILE= ${WRKSRC}/COPYING |
14 |
|
15 |
|
15 |
LIB_DEPENDS= libboost_system.so:devel/boost-libs |
16 |
LIB_DEPENDS= libboost_system.so:devel/boost-libs \ |
|
|
17 |
libmetis.so:math/metis |
16 |
|
18 |
|
17 |
USES= compiler:c++11-lang eigen:3 gmake libtool perl5 |
19 |
USES= compiler:c++11-lang eigen:3 gmake libtool perl5 |
18 |
GNU_CONFIGURE= yes |
20 |
GNU_CONFIGURE= yes |
Lines 25-34
Link Here
|
25 |
--enable-tetgen \ |
27 |
--enable-tetgen \ |
26 |
--enable-triagle \ |
28 |
--enable-triagle \ |
27 |
--with-boost=${LOCALBASE} \ |
29 |
--with-boost=${LOCALBASE} \ |
|
|
30 |
--with-metis=${LOCALBASE} \ |
28 |
--with-eigen-include=${LOCALBASE}/include/eigen3 \ |
31 |
--with-eigen-include=${LOCALBASE}/include/eigen3 \ |
29 |
--disable-netcdf --disable-netcdf-4 # https://github.com/libMesh/libmesh/issues/1542 |
32 |
--disable-netcdf --disable-netcdf-4 # https://github.com/libMesh/libmesh/issues/1542 |
30 |
CONFIGURE_ARGS+= --disable-metaphysicl # enabling this causes libmesh to install a bundled metaphysicl that would conflict with the metaphysicl package |
33 |
CONFIGURE_ARGS+= --disable-metaphysicl # enabling this causes libmesh to install a bundled metaphysicl that would conflict with the metaphysicl package |
31 |
MAKE_ARGS= LDFLAGS="-pthread -lexecinfo" |
34 |
MAKE_ARGS= LDFLAGS="-pthread -lexecinfo -L${LOCALBASE}/lib" |
32 |
USE_LDCONFIG= yes |
35 |
USE_LDCONFIG= yes |
33 |
|
36 |
|
34 |
INSTALL_TARGET= install-strip |
37 |
INSTALL_TARGET= install-strip |