aboutsummaryrefslogtreecommitdiff
path: root/math/ogdf
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2013-10-07 08:44:43 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2013-10-07 08:44:43 +0000
commit2b55c9af27699910082a73b8ffee55c89a937a9f (patch)
treea2f3d35fef31fd052f8c2cf0ee6597c43df9e673 /math/ogdf
parent0f708bf9abf38978baebac68cd4df05afbf44072 (diff)
downloadports-2b55c9af27699910082a73b8ffee55c89a937a9f.tar.gz
ports-2b55c9af27699910082a73b8ffee55c89a937a9f.zip
Notes
Diffstat (limited to 'math/ogdf')
-rw-r--r--math/ogdf/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/math/ogdf/Makefile b/math/ogdf/Makefile
index bddf4ca0247d..970af5bf23eb 100644
--- a/math/ogdf/Makefile
+++ b/math/ogdf/Makefile
@@ -12,23 +12,22 @@ DISTNAME= ogdf.v2012.07
MAINTAINER= gahr@FreeBSD.org
COMMENT= C++ class library for the automatic layout of diagrams
+LICENSE= GPLv2
+
OPTIONS_DEFINE= COIN ABACUS
COIN_DESC= Use the Coin Open Solver Interface (Osi)
ABACUS_DESC= Use the ABACUS branch-and-cut library
-LICENSE= GPLv2
-
USE_ZIP= yes
USE_LDCONFIG= yes
USE_PYTHON= build
WRKSRC= ${WRKDIR}/${PORTNAME:U}
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCOIN}
-LIB_DEPENDS+= Clp:${PORTSDIR}/math/coinmp
+LIB_DEPENDS+= libClp.so:${PORTSDIR}/math/coinmp
USE_COIN= true
.else
USE_COIN= false
@@ -36,7 +35,7 @@ USE_COIN= false
.if ${PORT_OPTIONS:MABACUS}
USE_GCC= 4.4+
-LIB_DEPENDS+= abacus-osi:${PORTSDIR}/math/abacus
+LIB_DEPENDS+= libabacus-osi.so:${PORTSDIR}/math/abacus
USE_ABACUS= true
USE_COIN= true
.else
@@ -55,8 +54,8 @@ do-configure:
cd ${WRKSRC} && ${PYTHON_CMD} makeMakefile.py
do-install:
- ${INSTALL_DATA} ${WRKSRC}/_release/libOGDF.so ${PREFIX}/lib/libOGDF.so.1
- ${LN} -sf libOGDF.so.1 ${PREFIX}/lib/libOGDF.so
- cd ${WRKSRC} && ${COPYTREE_SHARE} ogdf ${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/_release/libOGDF.so ${STAGEDIR}${PREFIX}/lib/libOGDF.so.1
+ ${LN} -sf libOGDF.so.1 ${STAGEDIR}${PREFIX}/lib/libOGDF.so
+ cd ${WRKSRC} && ${COPYTREE_SHARE} ogdf ${STAGEDIR}${PREFIX}/include
.include <bsd.port.mk>