1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/math/mesquite/Makefile
Yuri Victorovich f2466b4e0a math/mesquite: Replace MASTER_SITES
Previous URL wasn't fetchable.
This project isn't under development any more and is probably
discontinued.
2023-07-10 13:49:32 -07:00

37 lines
923 B
Makefile

PORTNAME= mesquite
DISTVERSION= 2.3.0
CATEGORIES= math
MASTER_SITES= https://github.com/sandialabs/mesquite/raw/main/mesquite/
PKGNAMESUFFIX= -mesh-toolkit
MAINTAINER= yuri@FreeBSD.org
COMMENT= Mesh Quality Improvement Toolkit is a suite of mesh algorithms
WWW= https://www.sandia.gov/ccr/project/mesquite/
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/lgpl.txt
USES= gmake libtool
USE_LDCONFIG= yes
USE_CXXSTD= c++11 # attempt to fix build failing due to the use of std::unary_function that was removed in c++17
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --disable-static
INSTALL_TARGET= install-strip
TEST_TARGET= check
OPTIONS_DEFINE= EXAMPLES
PORTEXAMPLES= *
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${MV} ${STAGEDIR}${DOCSDIR}/examples/* ${STAGEDIR}${EXAMPLESDIR}
@${RM} -r ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-off:
@${RM} -r ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>