aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2013-10-07 16:44:43 +0800
committergahr <gahr@FreeBSD.org>2013-10-07 16:44:43 +0800
commite298654999b70890e358675513506e5c6737e58b (patch)
treea2f3d35fef31fd052f8c2cf0ee6597c43df9e673 /math
parent997847bcbad8667a75145a67ff3d7a05fb3c7876 (diff)
downloadfreebsd-ports-gnome-e298654999b70890e358675513506e5c6737e58b.tar.gz
freebsd-ports-gnome-e298654999b70890e358675513506e5c6737e58b.tar.zst
freebsd-ports-gnome-e298654999b70890e358675513506e5c6737e58b.zip
- Connect math/ogdf to the build [1]
- Convert to new LIB_DEPENDS format - STAGE-clean Reported by: linimon [1]
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/ogdf/Makefile15
2 files changed, 8 insertions, 8 deletions
diff --git a/math/Makefile b/math/Makefile
index 07da1a2622f4..346e0b05433c 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -360,6 +360,7 @@
SUBDIR += octave-forge-video
SUBDIR += octave-forge-xraylib
SUBDIR += octave-forge-zenity
+ SUBDIR += ogdf
SUBDIR += oleo
SUBDIR += open-axiom
SUBDIR += openblas
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>