mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- Update to 0.94.0
This commit is contained in:
parent
444ccb0ab6
commit
b56a2da45e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=451615
@ -2,8 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= osm2pgsql
|
||||
PORTVERSION= 0.92.1
|
||||
PORTREVISION= 3
|
||||
PORTVERSION= 0.94.0
|
||||
CATEGORIES= converters geography
|
||||
|
||||
MAINTAINER= amdmi3@FreeBSD.org
|
||||
@ -13,7 +12,6 @@ LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
LIB_DEPENDS= libproj.so:graphics/proj \
|
||||
libgeos35.so:graphics/geos35 \
|
||||
libboost_system.so:devel/boost-libs \
|
||||
libexpat.so:textproc/expat2
|
||||
|
||||
@ -33,9 +31,7 @@ PORTDATA= *
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|include <geos|&35/geos|' \
|
||||
${WRKSRC}/contrib/libosmium/osmium/geom/geos.hpp \
|
||||
${WRKSRC}/geometry-builder.cpp
|
||||
@${REINPLACE_CMD} -e 's|share/man/man1|man/man1|' ${WRKSRC}/CMakeLists.txt
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1492513697
|
||||
SHA256 (openstreetmap-osm2pgsql-0.92.1_GH0.tar.gz) = 0912a344aaa38ed4b78f6dcab1a873975adb434dcc31cdd6fec3ec6a30025390
|
||||
SIZE (openstreetmap-osm2pgsql-0.92.1_GH0.tar.gz) = 1364504
|
||||
TIMESTAMP = 1507552761
|
||||
SHA256 (openstreetmap-osm2pgsql-0.94.0_GH0.tar.gz) = 9e67e400deca48185313921431884171fb087dfe9e0d21e31857b8b06f20d317
|
||||
SIZE (openstreetmap-osm2pgsql-0.94.0_GH0.tar.gz) = 1203310
|
||||
|
@ -1,9 +0,0 @@
|
||||
--- CMakeLists.txt.orig 2017-04-13 20:58:25 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -252,5 +252,5 @@ endif()
|
||||
#############################################################
|
||||
|
||||
install(TARGETS osm2pgsql DESTINATION bin)
|
||||
-install(FILES docs/osm2pgsql.1 DESTINATION share/man/man1)
|
||||
+install(FILES docs/osm2pgsql.1 DESTINATION man/man1)
|
||||
install(FILES default.style empty.style DESTINATION share/osm2pgsql)
|
@ -1,13 +0,0 @@
|
||||
--- cmake/FindOsmium.cmake.orig 2017-04-13 20:58:25 UTC
|
||||
+++ cmake/FindOsmium.cmake
|
||||
@@ -151,8 +151,8 @@ list(APPEND OSMIUM_LIBRARIES
|
||||
#----------------------------------------------------------------------
|
||||
# Component 'geos'
|
||||
if(Osmium_USE_GEOS)
|
||||
- find_path(GEOS_INCLUDE_DIR geos/geom.h)
|
||||
- find_library(GEOS_LIBRARY NAMES geos)
|
||||
+ find_path(GEOS_INCLUDE_DIR geos35/geos/geom.h)
|
||||
+ find_library(GEOS_LIBRARY NAMES geos35)
|
||||
|
||||
list(APPEND OSMIUM_EXTRA_FIND_VARS GEOS_INCLUDE_DIR GEOS_LIBRARY)
|
||||
if(GEOS_INCLUDE_DIR AND GEOS_LIBRARY)
|
Loading…
Reference in New Issue
Block a user