aboutsummaryrefslogblamecommitdiff
path: root/math/cminpack/Makefile
blob: f27b90130e04c048731ecfa72efeee791434d18f (plain) (tree)
1
2
3
4
5
6
7
8
9
                        
                     
                         
                 
                    
 
                                   
                                                                                
                                                       
 

                                              
                                                   
 
                   
                        
 
                                 

                        

                        
                         




                                                                        
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
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

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

.include <bsd.port.mk>