summaryrefslogtreecommitdiff
path: root/math/cminpack/Makefile
blob: b013b18f4b27b83c669a7648f79ec2274183d0c6 (plain)
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

PORTNAME=	cminpack
PORTVERSION=	1.3.6
DISTVERSIONPREFIX=	v
PORTREVISION=	4
CATEGORIES=	math

MAINTAINER=	fernape@FreeBSD.org
COMMENT=	Solving nonlinear equations and nonlinear least squares problems

LICENSE_FILE=	${WRKSRC}/CopyrightMINPACK.txt

USES=		blaslapack:openblas cmake localbase

USE_GITHUB=	yes
GH_ACCOUNT=	devernay

CMAKE_ON=	BUILD_SHARED_LIBS
CMAKE_OFF=	USE_BLAS

OPTIONS_DEFINE=	EXAMPLES

post-install-EXAMPLES-on:
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} "*.[ch] testdata" \
		${STAGEDIR}${EXAMPLESDIR})

.include <bsd.port.mk>