Index: /usr/local/poudriere/ports/default/converters/osm2pgrouting/Makefile =================================================================== --- /usr/local/poudriere/ports/default/converters/osm2pgrouting/Makefile (nonexistent) +++ /usr/local/poudriere/ports/default/converters/osm2pgrouting/Makefile (copie de travail) @@ -0,0 +1,29 @@ +# Created by: Loïc Bartoletti +# $FreeBSD$ + +PORTNAME= osm2pgrouting +DISTVERSIONPREFIX= v +DISTVERSION= 2.3.1 +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 \ + libpqxx.so:databases/postgresql-libpqxx + +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/utilities/prog_options.cpp +.include Modification de propriétés sur /usr/local/poudriere/ports/default/converters/osm2pgrouting/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: /usr/local/poudriere/ports/default/converters/osm2pgrouting/distinfo =================================================================== --- /usr/local/poudriere/ports/default/converters/osm2pgrouting/distinfo (nonexistent) +++ /usr/local/poudriere/ports/default/converters/osm2pgrouting/distinfo (copie de travail) @@ -0,0 +1,3 @@ +TIMESTAMP = 1508051085 +SHA256 (pgRouting-osm2pgrouting-v2.3.1_GH0.tar.gz) = a5923636a275c12b8bc7835e12028690a58f69e27d8adf3059387c2f42edf535 +SIZE (pgRouting-osm2pgrouting-v2.3.1_GH0.tar.gz) = 163986 Modification de propriétés sur /usr/local/poudriere/ports/default/converters/osm2pgrouting/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: /usr/local/poudriere/ports/default/converters/osm2pgrouting/files/patch-CMakeLists.txt =================================================================== --- /usr/local/poudriere/ports/default/converters/osm2pgrouting/files/patch-CMakeLists.txt (nonexistent) +++ /usr/local/poudriere/ports/default/converters/osm2pgrouting/files/patch-CMakeLists.txt (copie de travail) @@ -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 Modification de propriétés sur /usr/local/poudriere/ports/default/converters/osm2pgrouting/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: /usr/local/poudriere/ports/default/converters/osm2pgrouting/files/patch-include_parser_ConfigurationParserCallback.h =================================================================== --- /usr/local/poudriere/ports/default/converters/osm2pgrouting/files/patch-include_parser_ConfigurationParserCallback.h (nonexistent) +++ /usr/local/poudriere/ports/default/converters/osm2pgrouting/files/patch-include_parser_ConfigurationParserCallback.h (copie de travail) @@ -0,0 +1,17 @@ +--- include/parser/ConfigurationParserCallback.h.orig 2017-10-15 07:23:03 UTC ++++ include/parser/ConfigurationParserCallback.h +@@ -22,12 +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" Modification de propriétés sur /usr/local/poudriere/ports/default/converters/osm2pgrouting/files/patch-include_parser_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: /usr/local/poudriere/ports/default/converters/osm2pgrouting/files/patch-include_parser_OSMDocumentParserCallback.h =================================================================== --- /usr/local/poudriere/ports/default/converters/osm2pgrouting/files/patch-include_parser_OSMDocumentParserCallback.h (nonexistent) +++ /usr/local/poudriere/ports/default/converters/osm2pgrouting/files/patch-include_parser_OSMDocumentParserCallback.h (copie de travail) @@ -0,0 +1,18 @@ +--- include/parser/OSMDocumentParserCallback.h.orig 2017-10-15 07:23:50 UTC ++++ include/parser/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" Modification de propriétés sur /usr/local/poudriere/ports/default/converters/osm2pgrouting/files/patch-include_parser_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: /usr/local/poudriere/ports/default/converters/osm2pgrouting/pkg-descr =================================================================== --- /usr/local/poudriere/ports/default/converters/osm2pgrouting/pkg-descr (nonexistent) +++ /usr/local/poudriere/ports/default/converters/osm2pgrouting/pkg-descr (copie de travail) @@ -0,0 +1,4 @@ +Easily import OpenStreetMap data into a pgRouting database using osm2pgrouting t +ool. + +WWW: http://pgrouting.org/docs/tools/osm2pgrouting.html Modification de propriétés sur /usr/local/poudriere/ports/default/converters/osm2pgrouting/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: /usr/local/poudriere/ports/default/converters/osm2pgrouting/pkg-plist =================================================================== --- /usr/local/poudriere/ports/default/converters/osm2pgrouting/pkg-plist (nonexistent) +++ /usr/local/poudriere/ports/default/converters/osm2pgrouting/pkg-plist (copie de travail) @@ -0,0 +1,7 @@ +bin/osm2pgrouting +%%DATADIR%%/COPYING +%%DATADIR%%/Readme.md +%%DATADIR%%/mapconfig.xml +%%DATADIR%%/mapconfig_for_bicycles.xml +%%DATADIR%%/mapconfig_for_cars.xml +%%DATADIR%%/mapconfig_for_pedestrian.xml Modification de propriétés sur /usr/local/poudriere/ports/default/converters/osm2pgrouting/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