freebsd-ports/math/ogdf/files/patch-makeMakefile.config
Pietro Cerutti 3764d29dad - New port: math/ogdf
OGDF (Open Graph Drawing Framework) is a self-contained C++ class library
  for the automatic layout of diagrams. OGDF offers sophisticated algorithms
  and data structures to use within your own applications or scientific
  projects.  The library provides:

  * A wide range of graph drawing algorithms that allow to reuse and replace
    particular algorithm phases by using a dedicated module mechanism.
  * Sophisticated data structures that are commonly used in graph drawing,
    equipped with rich public interfaces.
  * Self-contained code that does not require any additional libraries
    (except for some optional branch-and-cut algorithms).

  WWW: http://www.ogdf.net
2013-09-06 07:31:12 +00:00

59 lines
1.7 KiB
Text

--- makeMakefile.config.orig 2012-07-18 09:17:42.000000000 +0200
+++ makeMakefile.config 2013-06-18 12:18:55.000000000 +0200
@@ -1,20 +1,20 @@
[GENERAL]
#**********************************************************
#* build OGDF as a static library (false) or shared library (true)
-sharedLib = false
+sharedLib = true
#* name of the static (import) library
libName = libOGDF.a
#* name of the shared library (.dll for Windows, .so for Linux)
sharedlibName = libOGDF.so
-compilerCommand = g++
+compilerCommand = %%CXX%%
compilerParams = -I.
#* command used to create a static library
libCommand = ar
#* command used to create a shared library
-sharedlibCommand = g++
+sharedlibCommand = %%CXX%%
#* blank means don't call ranlib
ranlibCommand = ranlib
@@ -43,16 +43,16 @@
[COIN]
#**********************************************************
#* set to "true" to use COIN
-useCoin = false
-coinIncl = /somewhere/COIN/include
+useCoin = %%USE_COIN%%
+coinIncl = %%LOCALBASE%%/include
#* Select your solver for COIN
#* CPLEX:
# solver_name = COIN_OSI_CPX
# solver_incl = /somewhere/ILOG/cplex90/include/ilcplex
#* Coin's CLP:
-# solver_name = COIN_OSI_CLP
-# solver_incl =
+solver_name = COIN_OSI_CLP
+solver_incl = %%LOCALBASE%%/include
#* Coin's Symphony
# solver_name = COIN_OSI_SYM
# solver_incl = /home/plug/COIN/SYMPHONY/include
@@ -70,7 +70,7 @@
[ABACUS]
#**********************************************************
-useAbacus = false
-# abacusDef = -DABACUS_COMPILER_GCC
-# abacusIncl = /somewhere/abacus/include
-# abacusLib = -L/somewhere/abacus/lib/linux-gcc33 -labacus-cplex80
+useAbacus = %%USE_ABACUS%%
+abacusDef = -DABACUS_COMPILER_GCC
+abacusIncl = %%LOCALBASE%%/inclue/abacus
+abacusLib = -L%%LOCALBASE%%/lib -labacus-osi