blob: 3084821b8563fef1e0000da275ac9bbb76bb34cf (
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
36
37
38
39
|
PORTNAME= cminpack
PORTVERSION= 1.3.11
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= math
MAINTAINER= fernape@FreeBSD.org
COMMENT= Solving nonlinear equations and nonlinear least squares problems
WWW= http://devernay.free.fr/hacks/cminpack/
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
.include <bsd.port.options.mk>
# libcminpackld is only built on platforms where
# sizeof(long double) > sizeof(double)
.if ${ARCH:Mpowerpc*} || ${ARCH:Marmv?}
PLIST_SUB+= LONG_DOUBLE="@comment "
.else
PLIST_SUB+= LONG_DOUBLE=""
.endif
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} "*.[ch] testdata" \
${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>
|