Skip to content

Commit

Permalink
converters/osm2pgsql: update 1.8.1 → 1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Aug 21, 2023
1 parent 4689347 commit c6debc3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
14 changes: 10 additions & 4 deletions converters/osm2pgsql/Makefile
@@ -1,6 +1,5 @@
PORTNAME= osm2pgsql
PORTVERSION= 1.8.1
PORTREVISION= 3
PORTVERSION= 1.9.0
CATEGORIES= converters geography

MAINTAINER= amdmi3@FreeBSD.org
Expand All @@ -16,7 +15,8 @@ LIB_DEPENDS= libproj.so:graphics/proj \
libboost_system.so:devel/boost-libs \
libexpat.so:textproc/expat2
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

USE_GITHUB= yes
GH_ACCOUNT= openstreetmap
Expand All @@ -32,7 +32,7 @@ CMAKE_ARGS= -DLUA_EXE="${LOCALBASE}/bin/${LUA_CMD}"
PORTDOCS= AUTHORS CONTRIBUTING.md README.md
PORTDATA= *

OPTIONS_DEFINE= DOCS LUAJIT TEST
OPTIONS_DEFINE= DOCS LUAJIT TEST # GEN (utility built with this option is not installed)

LUAJIT_DESC= Build with LuaJIT support
LUAJIT_CMAKE_BOOL= WITH_LUAJIT
Expand All @@ -43,10 +43,16 @@ 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}
#GEN_DESC= Build experimental osm2pgsql-gen data generalization utility
#GEN_LIB_DEPENDS= libpotrace.so:graphics/libpotrace
#GEN_BUILD_DEPENDS= ${LOCALBASE}/include/CImg.h:graphics/cimg

post-patch:
@${REINPLACE_CMD} -e 's|find_package(Lua |&${LUA_VER} EXACT |' \
${WRKSRC}/CMakeLists.txt
# for post-patch-GEN-off: when GEN option is implemented
@${REINPLACE_CMD} -Ee '/find_(path|library)/ s,(potrace|CImg),no&,' \
${WRKSRC}/CMakeLists.txt

post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
Expand Down
6 changes: 3 additions & 3 deletions converters/osm2pgsql/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1676291675
SHA256 (openstreetmap-osm2pgsql-1.8.1_GH0.tar.gz) = 9e3cd9e13893fd7a153c7b42089bd23338867190c91b157cbdb4ff7176ecba62
SIZE (openstreetmap-osm2pgsql-1.8.1_GH0.tar.gz) = 2545767
TIMESTAMP = 1692617129
SHA256 (openstreetmap-osm2pgsql-1.9.0_GH0.tar.gz) = f568618809930d550fc21a1951180b58b72c091235e4b0bc93477e4c27d54e88
SIZE (openstreetmap-osm2pgsql-1.9.0_GH0.tar.gz) = 2598607

0 comments on commit c6debc3

Please sign in to comment.