ports/math/cminpack/Makefile
Tobias C. Berner 707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +00:00

26 lines
502 B
Makefile

# $FreeBSD$
PORTNAME= cminpack
PORTVERSION= 1.3.6
DISTVERSIONPREFIX= v
CATEGORIES= math
MAINTAINER= fernape@FreeBSD.org
COMMENT= Solving nonlinear equations and nonlinear least squares problems
LICENSE_FILE= ${WRKSRC}/CopyrightMINPACK.txt
USES= cmake
USE_GITHUB= yes
GH_ACCOUNT= devernay
OPTIONS_DEFINE= EXAMPLES
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} "*.[ch] testdata" \
${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>