[153886] trunk/dports/gis
khindenburg at macports.org
khindenburg at macports.org
Sat Oct 15 02:44:22 CEST 2016
Revision: 153886
https://trac.macports.org/changeset/153886
Author: khindenburg at macports.org
Date: 2016-10-14 17:44:22 -0700 (Fri, 14 Oct 2016)
Log Message:
-----------
routino: new port #49459
Added Paths:
-----------
trunk/dports/gis/routino/
trunk/dports/gis/routino/Portfile
trunk/dports/gis/routino/files/
trunk/dports/gis/routino/files/patch-Makefile_conf.diff
trunk/dports/gis/routino/files/patch-src_Makefile_dylib_extension.diff
Added: trunk/dports/gis/routino/Portfile
===================================================================
--- trunk/dports/gis/routino/Portfile (rev 0)
+++ trunk/dports/gis/routino/Portfile 2016-10-15 00:44:22 UTC (rev 153886)
@@ -0,0 +1,44 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name routino
+version 3.0
+
+categories gis
+platforms darwin
+maintainers web.de:framic5 openmaintainer
+
+description Route planner for OpenStreetMap data
+long_description Routino is an application for finding a route between two points using the dataset of \
+ topographical information collected by http://www.OpenStreetMap.org. \
+ This router uses a routing algorithm that takes OSM format data as its input and \
+ calculates either the shortest or quickest route between two points. To optimise the \
+ routing a custom database format is used. This allows the routing to be performed \
+ quickly after a modest one-off pre-processing stage.
+homepage http://routino.org/
+license GPL-3
+
+master_sites http://routino.org/download/
+extract.suffix .tgz
+
+checksums rmd160 ea9f8a1fd5f728f6f2a5382543be29ba1b2f1e00 \
+ sha256 376512ef9627ce5c12e8c7a98dba7fe5125acfb89a9f9ee6758fbe36b5cf942f
+
+patchfiles patch-Makefile_conf.diff \
+ patch-src_Makefile_dylib_extension.diff
+
+depends_lib port:libzip \
+ port:bzip2
+
+use_parallel_build no
+use_configure no
+
+post-patch {
+ reinplace -W ${worksrcpath} s|prefix=/usr/local|prefix=${prefix}|g Makefile.conf
+ reinplace -W ${worksrcpath} s|docdir=\$(prefix)/doc/routino|docdir=\$(prefix)/share/doc/routino|g Makefile.conf
+}
+
+build.args-append CC=${configure.cc} \
+ LD=${configure.cc}
Property changes on: trunk/dports/gis/routino/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/gis/routino/files/patch-Makefile_conf.diff
===================================================================
--- trunk/dports/gis/routino/files/patch-Makefile_conf.diff (rev 0)
+++ trunk/dports/gis/routino/files/patch-Makefile_conf.diff 2016-10-15 00:44:22 UTC (rev 153886)
@@ -0,0 +1,20 @@
+--- Makefile.conf.orig 2015-10-09 21:34:52.000000000 +0200
++++ Makefile.conf 2015-10-09 23:15:38.000000000 +0200
+@@ -89,7 +89,7 @@
+
+ # Extra flags for compiling libroutino shared library (visibility of symbols, shared)
+ CFLAGS_LIB=-fvisibility=hidden
+-LDFLAGS_LIB=-shared
++LDFLAGS_LIB=-dynamiclib -install_name /opt/local/lib/$@
+
+ ifeq ($(HOST),UNIX)
+ # Extra flags for compiling libroutino shared library (position independent code)
+@@ -98,7 +98,7 @@
+ endif
+
+ # Put the current directory in the shared library path for the router using libroutino
+-LDFLAGS_LDSO=-Wl,-R.
++LDFLAGS_LDSO=-Wl,-rpath,.
+
+
+ # Required for multi-threaded support (comment these two lines out if not required)
Added: trunk/dports/gis/routino/files/patch-src_Makefile_dylib_extension.diff
===================================================================
--- trunk/dports/gis/routino/files/patch-src_Makefile_dylib_extension.diff (rev 0)
+++ trunk/dports/gis/routino/files/patch-src_Makefile_dylib_extension.diff 2016-10-15 00:44:22 UTC (rev 153886)
@@ -0,0 +1,42 @@
+--- src/Makefile.orig 2015-10-09 23:19:21.000000000 +0200
++++ src/Makefile 2015-10-09 23:18:47.000000000 +0200
+@@ -35,7 +35,7 @@
+ filedumperx$(.EXE) filedumper$(.EXE) filedumper-slim$(.EXE) \
+ router+lib$(.EXE) router+lib-slim$(.EXE)
+
+-LIB=libroutino.so libroutino-slim.so
++LIB=libroutino.dylib libroutino-slim.dylib
+
+ ifeq ($(HOST),MINGW)
+ LIB+=routino.dll routino-slim.dll
+@@ -172,10 +172,10 @@
+
+ ROUTER_LIB_OBJ=router+lib.o
+
+-router+lib$(.EXE) : $(ROUTER_LIB_OBJ) libroutino.so
++router+lib$(.EXE) : $(ROUTER_LIB_OBJ) libroutino.dylib
+ $(LD) $^ -o $@ $(LDFLAGS) $(LDFLAGS_LDSO)
+
+-router+lib-slim$(.EXE) : $(ROUTER_LIB_OBJ) libroutino-slim.so
++router+lib-slim$(.EXE) : $(ROUTER_LIB_OBJ) libroutino-slim.dylib
+ $(LD) $^ -o $@ $(LDFLAGS) $(LDFLAGS_LDSO)
+
+ ########
+@@ -190,7 +190,7 @@
+ LIBROUTINO_OBJ+=mman-win32.o
+ endif
+
+-libroutino.so : $(LIBROUTINO_OBJ)
++libroutino.dylib : $(LIBROUTINO_OBJ)
+ $(LD) $^ -o $@ $(LDFLAGS) $(LDFLAGS_LIB)
+
+ routino.dll : libroutino.so
+@@ -214,7 +214,7 @@
+ LIBROUTINO_SLIM_OBJ+=mman-win32.o
+ endif
+
+-libroutino-slim.so : $(LIBROUTINO_SLIM_OBJ)
++libroutino-slim.dylib : $(LIBROUTINO_SLIM_OBJ)
+ $(LD) $^ -o $@ $(LDFLAGS) $(LDFLAGS_LIB)
+
+ routino-slim.dll : libroutino-slim.so
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161014/ea1ccd5c/attachment-0002.html>
More information about the macports-changes
mailing list