mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
37 lines
832 B
Makefile
37 lines
832 B
Makefile
# New ports collection makefile for: Clp
|
|
# Date created: 22 July 2007
|
|
# Whom: Robin Schilham
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Clp
|
|
PORTVERSION= 1.6.0
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://www.coin-or.org/download/source/Clp/ \
|
|
http://www.mavetju.org/download/adopted/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= co9co9@gmail.com
|
|
COMMENT= Linear Programming Solver
|
|
|
|
LIB_DEPENDS= lapack.4:${PORTSDIR}/math/lapack
|
|
.ifdef WITH_GMPL
|
|
LIB_DEPENDS+= glpk.9:${PORTSDIR}/math/glpk
|
|
.endif
|
|
|
|
USE_FORTRAN= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
CONFIGURE_ENV+= ${MAKE_ENV}
|
|
CONFIGURE_ARGS= --with-blas="-L${LOCALBASE}/lib -lblas" \
|
|
--with-lapack="-L${LOCALBASE}/lib -llapack"
|
|
.ifdef WITH_GMPL
|
|
CONFIGURE_ARGS+=--with-gmpl-incdir=${LOCALBASE}/include/gmpl \
|
|
--with-gmpl-lib="-L${LOCALBASE}/lib -lglpk"
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|