summaryrefslogtreecommitdiff
path: root/math/coinmp/Makefile
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-08-05 12:49:55 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-08-05 12:49:55 +0000
commit40d72f68a6f1c944451b3b8eb97535598abb9154 (patch)
treeca498c4b7374df7cd3648574d2113eeee61f55a6 /math/coinmp/Makefile
parent- Update to 1.52 (diff)
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 <giffunip tutopia.com> (maintainer)
Notes
Notes: svn path=/head/; revision=324273
Diffstat (limited to 'math/coinmp/Makefile')
-rw-r--r--math/coinmp/Makefile27
1 files changed, 13 insertions, 14 deletions
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 <bsd.port.pre.mk>
+OPTIONS_DEFINE= DEBUG DOCS
-.ifdef WITH_GLPK
+PORTDOCS= *
+
+.include <bsd.port.options.mk>
+
+.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 <bsd.port.post.mk>
+.include <bsd.port.mk>