freebsd-ports/math/lemon/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

33 lines
667 B
Makefile

# $FreeBSD$
PORTNAME= lemon
DISTVERSION= 1.3.1
CATEGORIES= math
MASTER_SITES= https://lemon.cs.elte.hu/pub/sources/
PKGNAMEPREFIX= coin-or-
MAINTAINER= yuri@FreeBSD.org
COMMENT= Library for Efficient Modeling and Optimization in Networks
LICENSE= BSL
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libCbc.so:math/coinmp \
libglpk.so:math/glpk
USES= cmake
USE_LDCONFIG= yes
CMAKE_ON= BUILD_SHARED_LIBS
CONFLICTS_BUILD= SoPlex # Incompatible with SoPlex-4.0.0 optional dependency: https://lemon.cs.elte.hu/trac/lemon/ticket/616
OPTIONS_DEFINE= DOCS
PORTDOCS= *
post-install:
@${RM} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-0.x-to-1.x.sh
.include <bsd.port.mk>