diff --git a/.portsignore b/.portsignore index 53d72bae719f..699e3c57e8fb 100644 --- a/.portsignore +++ b/.portsignore @@ -961,6 +961,7 @@ converters/fix-mime-charset converters/ish converters/linux-c7-fribidi converters/linux-rl9-fribidi +converters/osm2pgsql converters/p5-Unicode-MapUTF8 converters/p5-WAP-wbxml converters/pdf2djvu diff --git a/converters/Makefile b/converters/Makefile index 676d4f55671d..1608b673da22 100644 --- a/converters/Makefile +++ b/converters/Makefile @@ -54,7 +54,6 @@ SUBDIR += ocaml-jsonm SUBDIR += osm2mp SUBDIR += osm2pgrouting - SUBDIR += osm2pgsql SUBDIR += p5-Bencode SUBDIR += p5-Boulder SUBDIR += p5-Convert-ASCII-Armour diff --git a/converters/osm2pgsql/Makefile b/converters/osm2pgsql/Makefile deleted file mode 100644 index 3b44a8ff8e1e..000000000000 --- a/converters/osm2pgsql/Makefile +++ /dev/null @@ -1,63 +0,0 @@ -PORTNAME= osm2pgsql -PORTVERSION= 2.1.1 -CATEGORIES= converters geography - -MAINTAINER= amdmi3@FreeBSD.org -COMMENT= Convert OSM XML data to PostgreSQL database -WWW= https://osm2pgsql.org/ \ - https://wiki.openstreetmap.org/wiki/Osm2pgsql \ - https://github.com/openstreetmap/osm2pgsql - -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING - -NOT_FOR_ARCHS= armv7 i386 powerpc -NOT_FOR_ARCHS_REASON= needs a 64 bit architecture - -LIB_DEPENDS= libproj.so:graphics/proj \ - libexpat.so:textproc/expat2 -BUILD_DEPENDS= ${LOCALBASE}/include/osmium/version.hpp:astro/libosmium \ - ${LOCALBASE}/include/protozero/version.hpp:devel/protozero \ - ${LOCALBASE}/include/nlohmann/json.hpp:devel/nlohmann-json \ - ${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 -USE_GITHUB= yes -GH_ACCOUNT= openstreetmap -SHEBANG_FILES= scripts/osm2pgsql-replication -CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_Git \ - EXTERNAL_LIBOSMIUM \ - EXTERNAL_PROTOZERO \ - EXTERNAL_CLI11 -# EXTERNAL_FMT # XXX: does not build with libfmt from ports, so use bundled version until upstream fixes -CMAKE_ARGS= -DLUA_EXE="${LOCALBASE}/bin/${LUA_CMD}" - -PORTDOCS= AUTHORS CONTRIBUTING.md README.md -PORTDATA= * - -OPTIONS_DEFINE= DOCS LUAJIT TEST - -LUAJIT_DESC= Build with LuaJIT support -LUAJIT_CMAKE_BOOL= WITH_LUAJIT -LUAJIT_USES= luajit lua:54:build # lua is needed just for running tests -LUAJIT_USES_OFF= lua:54 -TEST_CMAKE_BOOL= BUILD_TESTS -TEST_TEST_TARGET= test -TEST_CMAKE_ON= -DCMAKE_CTEST_ARGUMENTS="--label-regex;NoDB;--output-on-failure" -TEST_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}behave>=0:devel/py-behave@${PY_FLAVOR} -TEST_TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}behave>=0:devel/py-behave@${PY_FLAVOR} - -post-patch: - @${REINPLACE_CMD} -e 's|find_package(Lua |&${LUA_VER} EXACT |' \ - ${WRKSRC}/CMakeLists.txt - @${REINPLACE_CMD} -Ee '/find_(path|library)/ s,(potrace|opencv),no&,' \ - ${WRKSRC}/CMakeLists.txt - -post-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ -.endfor - -.include diff --git a/converters/osm2pgsql/distinfo b/converters/osm2pgsql/distinfo deleted file mode 100644 index 3206f75fdcf9..000000000000 --- a/converters/osm2pgsql/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1744633038 -SHA256 (openstreetmap-osm2pgsql-2.1.1_GH0.tar.gz) = b084e4a79317043410ff13ece4350a801384bd34e6c2c5959fa1e1424ce195b0 -SIZE (openstreetmap-osm2pgsql-2.1.1_GH0.tar.gz) = 2712681 diff --git a/converters/osm2pgsql/files/patch-CMakeLists.txt b/converters/osm2pgsql/files/patch-CMakeLists.txt deleted file mode 100644 index a51af717ff99..000000000000 --- a/converters/osm2pgsql/files/patch-CMakeLists.txt +++ /dev/null @@ -1,18 +0,0 @@ ---- CMakeLists.txt.orig 2024-09-19 13:10:47 UTC -+++ CMakeLists.txt -@@ -28,6 +28,7 @@ option(BUILD_COVERAGE "Build with coverage" OFF) - - option(BUILD_TESTS "Build test suite" OFF) - option(BUILD_COVERAGE "Build with coverage" OFF) -+option(BUILD_GEN "Build osm2pgsql-gen" OFF) - option(WITH_LUAJIT "Build with LuaJIT support" OFF) - option(WITH_PROJ "Build with Projection support" ON) - -@@ -253,7 +254,6 @@ else() - message(STATUS "Did not find opencv and/or potrace library. Not building osm2pgsql-gen.") - else() - message(STATUS "Found opencv and potrace library. Building osm2pgsql-gen.") -- set(BUILD_GEN 1) - include_directories(SYSTEM ${POTRACE_INCLUDE_DIR}) - add_executable(osm2pgsql-gen src/gen/osm2pgsql-gen.cpp - src/gen/canvas.cpp diff --git a/converters/osm2pgsql/pkg-descr b/converters/osm2pgsql/pkg-descr deleted file mode 100644 index a61b8724af4c..000000000000 --- a/converters/osm2pgsql/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -Converts OSM planet.osm data to a PostgreSQL database suitable -for rendering into map tiles by Mapnik. - -The format of the database is optimised for ease of rendering -by mapnik. It may be less suitable for other general purpose -processing. diff --git a/converters/osm2pgsql/pkg-plist b/converters/osm2pgsql/pkg-plist deleted file mode 100644 index 040cb3369780..000000000000 --- a/converters/osm2pgsql/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -bin/osm2pgsql -bin/osm2pgsql-replication -share/man/man1/osm2pgsql.1.gz -share/man/man1/osm2pgsql-replication.1.gz