mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
07361563b1
https://github.com/devernay/cminpack/releases/tag/v1.3.11 * Fix BLAS usage * Fix testing on Windows * Fix pkg-config files * Bump minimum CMake version
37 lines
747 B
Makefile
37 lines
747 B
Makefile
PORTNAME= cminpack
|
|
PORTVERSION= 1.3.11
|
|
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>
|
|
|
|
.if ${ARCH:Mpowerpc*}
|
|
PLIST_SUB+= NOT_POWERPC="@comment "
|
|
.else
|
|
PLIST_SUB+= NOT_POWERPC=""
|
|
.endif
|
|
|
|
|
|
post-install-EXAMPLES-on:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} "*.[ch] testdata" \
|
|
${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|