Index: Makefile =================================================================== --- Makefile (nonexistent) +++ Makefile (working copy) @@ -0,0 +1,28 @@ +# Created by: Loïc Bartoletti +# $FreeBSD$ + +PORTNAME= osm2pgrouting +DISTVERSIONPREFIX= v +DISTVERSION= 2.2.0 +CATEGORIES= converters databases geography + +MAINTAINER= lbartoletti@tuxfamily.org +COMMENT= Import OSM data into pgRouting Database + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +LIB_DEPENDS= libboost_system.so:devel/boost-libs \ + libexpat.so:textproc/expat2 + +USE_GITHUB= yes +USES= cmake pgsql compiler:c++11-lang +WANT_PGSQL= client +GH_ACCOUNT= pgRouting + +post-patch: + @${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|g' \ + ${WRKSRC}/CMakeLists.txt \ + ${WRKSRC}/Readme.md \ + ${WRKSRC}/src/prog_options.cpp +.include Property changes on: Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: distinfo =================================================================== --- distinfo (nonexistent) +++ distinfo (working copy) @@ -0,0 +1,3 @@ +TIMESTAMP = 1503657843 +SHA256 (pgRouting-osm2pgrouting-v2.2.0_GH0.tar.gz) = bdd3095123cf21ee2f56e5cf04b2ea7b781dea629bff909fa45ebc5dbe50f8a6 +SIZE (pgRouting-osm2pgrouting-v2.2.0_GH0.tar.gz) = 133563 Property changes on: distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: files/patch-CMakeLists.txt =================================================================== --- files/patch-CMakeLists.txt (nonexistent) +++ files/patch-CMakeLists.txt (working copy) @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2016-11-04 17:06:42 UTC ++++ CMakeLists.txt +@@ -36,7 +36,7 @@ ADD_EXECUTABLE(osm2pgrouting ${SRC}) + TARGET_LINK_LIBRARIES(osm2pgrouting ${POSTGRESQL_LIBRARIES} ${EXPAT_LIBRARIES} ${Boost_LIBRARIES} ) + + INSTALL(TARGETS osm2pgrouting +- RUNTIME DESTINATION "/usr/bin" ++ RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" + ) + + INSTALL(FILES Property changes on: files/patch-CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: files/patch-src_ConfigurationParserCallback.h =================================================================== --- files/patch-src_ConfigurationParserCallback.h (nonexistent) +++ files/patch-src_ConfigurationParserCallback.h (working copy) @@ -0,0 +1,18 @@ +--- src/ConfigurationParserCallback.h.orig 2017-08-25 16:00:38 UTC ++++ src/ConfigurationParserCallback.h +@@ -22,13 +22,13 @@ + #ifndef SRC_CONFIGURATIONPARSERCALLBACK_H_ + #define SRC_CONFIGURATIONPARSERCALLBACK_H_ + #pragma once +- ++/* + #if __GNUC__ > 4 || \ + (__GNUC__ == 4 && (__GNUC_MINOR__ >= 6)) + #else + #define nullptr NULL + #endif +- ++*/ + #include + #include "XMLParser.h" + Property changes on: files/patch-src_ConfigurationParserCallback.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: files/patch-src_OSMDocumentParserCallback.h =================================================================== --- files/patch-src_OSMDocumentParserCallback.h (nonexistent) +++ files/patch-src_OSMDocumentParserCallback.h (working copy) @@ -0,0 +1,18 @@ +--- src/OSMDocumentParserCallback.h.orig 2017-08-25 15:55:09 UTC ++++ src/OSMDocumentParserCallback.h +@@ -22,13 +22,13 @@ + #ifndef SRC_OSMDOCUMENTPARSERCALLBACK_H_ + #define SRC_OSMDOCUMENTPARSERCALLBACK_H_ + #pragma once +- ++/* + #if __GNUC__ > 4 || \ + (__GNUC__ == 4 && (__GNUC_MINOR__ >= 6)) + #else + #define nullptr NULL + #endif +- ++*/ + + #include + #include "./XMLParser.h" Property changes on: files/patch-src_OSMDocumentParserCallback.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: pkg-descr =================================================================== --- pkg-descr (nonexistent) +++ pkg-descr (working copy) @@ -0,0 +1,4 @@ +Easily import OpenStreetMap data into a pgRouting database using osm2pgrouting t +ool. + +WWW: http://pgrouting.org/docs/tools/osm2pgrouting.html Property changes on: pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: pkg-plist =================================================================== --- pkg-plist (nonexistent) +++ pkg-plist (working copy) @@ -0,0 +1,6 @@ +bin/osm2pgrouting +%%DATADIR%%/COPYING +%%DATADIR%%/Readme.md +%%DATADIR%%/mapconfig.xml +%%DATADIR%%/mapconfig_for_bicycles.xml +%%DATADIR%%/mapconfig_for_cars.xml Property changes on: pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property