1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/math/cminpack/Makefile
Fernando Apesteguía 07361563b1 math/cminpack: update to 1.3.11
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
2024-09-13 11:48:57 +02:00

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>