mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
converters/osm2pgsql: update 1.11.0 → 2.0.0
This commit is contained in:
parent
9449c05974
commit
9188e28a24
@ -1,6 +1,5 @@
|
|||||||
PORTNAME= osm2pgsql
|
PORTNAME= osm2pgsql
|
||||||
PORTVERSION= 1.11.0
|
PORTVERSION= 2.0.0
|
||||||
PORTREVISION= 2
|
|
||||||
CATEGORIES= converters geography
|
CATEGORIES= converters geography
|
||||||
|
|
||||||
MAINTAINER= amdmi3@FreeBSD.org
|
MAINTAINER= amdmi3@FreeBSD.org
|
||||||
@ -16,12 +15,12 @@ NOT_FOR_ARCHS= armv7 i386 powerpc
|
|||||||
NOT_FOR_ARCHS_REASON= needs a 64 bit architecture
|
NOT_FOR_ARCHS_REASON= needs a 64 bit architecture
|
||||||
|
|
||||||
LIB_DEPENDS= libproj.so:graphics/proj \
|
LIB_DEPENDS= libproj.so:graphics/proj \
|
||||||
libboost_system.so:devel/boost-libs \
|
|
||||||
libexpat.so:textproc/expat2
|
libexpat.so:textproc/expat2
|
||||||
BUILD_DEPENDS= ${LOCALBASE}/include/osmium/version.hpp:astro/libosmium \
|
BUILD_DEPENDS= ${LOCALBASE}/include/osmium/version.hpp:astro/libosmium \
|
||||||
${LOCALBASE}/include/protozero/version.hpp:devel/protozero \
|
${LOCALBASE}/include/protozero/version.hpp:devel/protozero \
|
||||||
${LOCALBASE}/include/nlohmann/json.hpp:devel/nlohmann-json \
|
${LOCALBASE}/include/nlohmann/json.hpp:devel/nlohmann-json \
|
||||||
${LOCALBASE}/include/CLI/Version.hpp:devel/cli11
|
${LOCALBASE}/include/CLI/Version.hpp:devel/cli11 \
|
||||||
|
${LOCALBASE}/include/boost/geometry.hpp:devel/boost-libs
|
||||||
|
|
||||||
USES= cmake compiler:c++17-lang pgsql python:run shebangfix
|
USES= cmake compiler:c++17-lang pgsql python:run shebangfix
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
TIMESTAMP = 1709050981
|
TIMESTAMP = 1726776348
|
||||||
SHA256 (openstreetmap-osm2pgsql-1.11.0_GH0.tar.gz) = 6b46313813b816f15ce906c04cd4108bbb05362740e0a1a8889055f4e25977d2
|
SHA256 (openstreetmap-osm2pgsql-2.0.0_GH0.tar.gz) = 05c2355b4a59d03a0f9855b4234a3bdc717b078faee625e73357947d1a82fe89
|
||||||
SIZE (openstreetmap-osm2pgsql-1.11.0_GH0.tar.gz) = 2722008
|
SIZE (openstreetmap-osm2pgsql-2.0.0_GH0.tar.gz) = 2712209
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
--- CMakeLists.txt.orig 2023-11-07 15:25:19 UTC
|
--- CMakeLists.txt.orig 2024-09-19 13:10:47 UTC
|
||||||
+++ CMakeLists.txt
|
+++ CMakeLists.txt
|
||||||
@@ -28,6 +28,7 @@ endif()
|
@@ -28,6 +28,7 @@ option(BUILD_COVERAGE "Build with coverage" OFF)
|
||||||
|
|
||||||
option(BUILD_TESTS "Build test suite" OFF)
|
option(BUILD_TESTS "Build test suite" OFF)
|
||||||
option(BUILD_COVERAGE "Build with coverage" OFF)
|
option(BUILD_COVERAGE "Build with coverage" OFF)
|
||||||
+option(BUILD_GEN "Build gen" OFF)
|
+option(BUILD_GEN "Build osm2pgsql-gen" OFF)
|
||||||
option(WITH_LUA "Build with Lua support" ON)
|
|
||||||
option(WITH_LUAJIT "Build with LuaJIT support" OFF)
|
option(WITH_LUAJIT "Build with LuaJIT support" OFF)
|
||||||
|
option(WITH_PROJ "Build with Projection support" ON)
|
||||||
|
|
||||||
@@ -289,7 +290,6 @@ if (${POTRACE_LIBRARY} STREQUAL "POTRACE_LIBRARY-NOTFO
|
@@ -253,7 +254,6 @@ else()
|
||||||
|
message(STATUS "Did not find opencv and/or potrace library. Not building osm2pgsql-gen.")
|
||||||
else()
|
else()
|
||||||
if (WITH_LUA)
|
|
||||||
message(STATUS "Found opencv and potrace library. Building osm2pgsql-gen.")
|
message(STATUS "Found opencv and potrace library. Building osm2pgsql-gen.")
|
||||||
- set(BUILD_GEN 1)
|
- set(BUILD_GEN 1)
|
||||||
include_directories(SYSTEM ${POTRACE_INCLUDE_DIR})
|
include_directories(SYSTEM ${POTRACE_INCLUDE_DIR})
|
||||||
|
Loading…
Reference in New Issue
Block a user