aboutsummaryrefslogtreecommitdiff
path: root/math/mesquite/Makefile
blob: 90a13dcce027ce6d553563dc4192eb395129059f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
PORTNAME=	mesquite
DISTVERSION=	2.3.0
CATEGORIES=	math
MASTER_SITES=	https://software.sandia.gov/mesquite/
PKGNAMESUFFIX=	-mesh-toolkit

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Mesh Quality Improvement Toolkit is a suite of mesh algorithms
WWW=		https://software.sandia.gov/mesquite

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/lgpl.txt

USES=		gmake libtool
USE_LDCONFIG=	yes

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>