From 40d72f68a6f1c944451b3b8eb97535598abb9154 Mon Sep 17 00:00:00 2001 From: William Grzybowski Date: Mon, 5 Aug 2013 12:49:55 +0000 Subject: math/coinmp: update to 1.7.0 - Update to 1.7.0 [1] - Drop maintainership [1] - Trim COMMENT to fit in the limit - Trim Makefile header - Convert to OptionsNG - Use PORTDOCS instead of pkg-plist PR: ports/181037 [1] Submitted by: Pedro Giffuni (maintainer) --- math/coinmp/Makefile | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'math/coinmp/Makefile') diff --git a/math/coinmp/Makefile b/math/coinmp/Makefile index 9c794334d165..56eb9cf865e0 100644 --- a/math/coinmp/Makefile +++ b/math/coinmp/Makefile @@ -1,19 +1,14 @@ -# New ports collection makefile for: CoinMP -# Date created: 22 June 2011 -# Whom: Pedro Giffuni -# +# Created by: Pedro Giffuni # $FreeBSD$ -# PORTNAME= CoinMP -PORTVERSION= 1.6.0 -PORTREVISION= 1 +PORTVERSION= 1.7.0 CATEGORIES= math MASTER_SITES= http://www.coin-or.org/download/source/CoinMP/ EXTRACT_SUFX= .tgz -MAINTAINER= giffunip@tutopia.com -COMMENT= Optimization library with support for most of COIN-OR CLP, CBC, and CGL +MAINTAINER= ports@FreeBSD.org +COMMENT= Optimization library with support for COIN-OR CLP, CBC, and CGL LICENSE= CPL LICENSE_NAME= Common Public License, Version 1.0 @@ -25,9 +20,13 @@ CONFLICTS= clp-[0-9]* USE_AUTOTOOLS= libtool USE_LDCONFIG= yes -.include +OPTIONS_DEFINE= DEBUG DOCS -.ifdef WITH_GLPK +PORTDOCS= * + +.include + +.if ${PORT_OPTIONS:MGLPK} BROKEN = the GLPK option requires math/glpk headers that are not currently installed by that port CONFIGURE_ARGS+= --with-gmpl-incdir=${LOCALBASE}/include \ --with-gmpl-lib="-L${LOCALBASE}/lib -lglpk" @@ -37,7 +36,7 @@ CONFIGURE_ARGS+= --disable-glpk-libcheck .endif CXXFLAGS+= -ffast-math -.ifndef WITH_DEBUG +.if ${PORT_OPTIONS:MDEBUG} CXXFLAGS+= -fomit-frame-pointer .endif @@ -54,7 +53,7 @@ pre-build: .endfor post-install: -.ifndef NOPORTDOCS +.if ${PORT_OPTIONS:MDOCS} ${MV} ${PREFIX}/share/coin/doc ${DOCSDIR} .endif ${RM} -rf ${PREFIX}/share/coin @@ -63,4 +62,4 @@ check regression-test test: build @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} \ ${MAKE_ARGS} test) -.include +.include -- cgit v1.2.3