2022-12-26 03:10:14 +00:00
|
|
|
PORTNAME= mathpresso
|
2023-01-08 23:04:51 +00:00
|
|
|
DISTVERSION= g20230108
|
2022-12-26 03:10:14 +00:00
|
|
|
CATEGORIES= math
|
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= Mathematical expression parser and JIT compiler
|
|
|
|
WWW= https://github.com/kobalicek/mathpresso
|
|
|
|
|
|
|
|
LICENSE= ZLIB
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
|
|
|
|
|
|
LIB_DEPENDS= libasmjit.so:devel/asmjit
|
|
|
|
|
|
|
|
USES= cmake:testing localbase:ldflags
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= kobalicek
|
2023-01-08 23:04:51 +00:00
|
|
|
GH_TAGNAME= 734c292
|
2022-12-26 03:10:14 +00:00
|
|
|
|
|
|
|
CMAKE_ARGS= -DASMJIT_CFLAGS="-I${LOCALBASE}/include" -DASMJIT_LIBS=asmjit
|
|
|
|
CMAKE_TESTING_ON= MATHPRESSO_TEST
|
|
|
|
CMAKE_TESTING_TARGET= mptest
|
|
|
|
|
|
|
|
post-test:
|
|
|
|
@cd ${TEST_WRKSRC} && ./mptest
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|