1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/math/spectra/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

28 lines
617 B
Makefile

PORTNAME= spectra
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.0
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= C++ library for large scale eigenvalue problems
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= gmake>0:devel/gmake
USES= eigen:3,run
USE_GITHUB= yes
GH_ACCOUNT= yixuan
NO_BUILD= yes
NO_ARCH= yes
do-install:
cd ${WRKSRC} && ${COPYTREE_SHARE} include ${STAGEDIR}${PREFIX}
do-test: # some tests are known to fail: https://github.com/yixuan/spectra/issues/47
@cd ${WRKSRC}/test && ${SETENV} ${MAKE_ENV} CXXFLAGS=-I${LOCALBASE}/include/eigen3 ${GMAKE} all test
.include <bsd.port.mk>