diff options
author | gahr <gahr@FreeBSD.org> | 2013-10-07 16:44:43 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2013-10-07 16:44:43 +0800 |
commit | e298654999b70890e358675513506e5c6737e58b (patch) | |
tree | a2f3d35fef31fd052f8c2cf0ee6597c43df9e673 /math/ogdf | |
parent | 997847bcbad8667a75145a67ff3d7a05fb3c7876 (diff) | |
download | freebsd-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/ogdf')
-rw-r--r-- | math/ogdf/Makefile | 15 |
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> |