| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/math/coin-or-metis/ |
Upload File : |
PORTNAME= metis
DISTVERSIONPREFIX= releases/
DISTVERSION= 1.3.10
CATEGORIES= math
MASTER_SITES= http://coin-or-tools.github.io/ThirdParty-Metis/:metis
PKGNAMEPREFIX= coin-or-
DISTFILES= metis-${METIS_VERSION}.tar.gz:metis
MAINTAINER= yuri@FreeBSD.org
COMMENT= COIN-OR autotools harness to build Metis
WWW= https://github.com/coin-or-tools/ThirdParty-Mumps
LICENSE= EPL
LIB_DEPENDS= libblas.so:math/blas
USES= fortran gmake libtool pkgconfig
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= coin-or-tools
GH_PROJECT= ThirdParty-Metis
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
METIS_VERSION= 4.0.3 # from the script get.Metis
.include <bsd.port.pre.mk>
.if ${GCC_DEFAULT} >= 10
# workaround for Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
# in theory, this should set FCFLAGS, but the port does not conform
FFLAGS+= -fallow-argument-mismatch
.endif
post-extract: # link MUMPS into the location in the tree
@cd ${WRKSRC} && ${LN} -s ${WRKDIR}/metis-${METIS_VERSION} metis-4.0
pre-build: # patching from get.Metis
@cd ${WRKDIR} && \
${PATCH} -p0 < ${WRKSRC}/metis.patch
.include <bsd.port.post.mk>