PORTNAME= libsemigroups PORTVERSION= 3.5.5 DISTVERSIONPREFIX= v CATEGORIES= math MAINTAINER= thierry@FreeBSD.org COMMENT= C++ library for semigroups and monoids WWW= https://libsemigroups.readthedocs.io/en/latest/ LICENSE= GPLv3 BUILD_DEPENDS= HPCombi>0:math/hpcombi \ eigen5>0:math/eigen5 LIB_DEPENDS= libfmt.so:devel/libfmt TEST_DEPENDS= eigen5>0:math/eigen5 USE_GITHUB= yes USES= autoreconf compiler:c++17-lang libtool pathfix pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-external-fmt=yes \ --with-external-eigen \ --enable-hpcombi LIBS= -lm USE_LDCONFIG= yes INSTALL_TARGET= install-strip TEST_TARGET= check .include .if ${ARCH} != amd64 CONFIGURE_ARGS+= --disable-hpcombi .else CONFIGURE_ARGS+= --enable-hpcombi .endif .include