mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
2abcfc8e6b
- Uses c++17 and patch CMakeLists.txt (required by databases/postgresql-libpqxx) - Replace disconnect to close (libpqxx API change) in src/osm_elements/osm2pgrouting.cpp - While I'm here remove post-install part and update CMakeLists. Reported by: pkg-fallout
35 lines
753 B
Makefile
35 lines
753 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= osm2pgrouting
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 2.3.6
|
|
PORTREVISION= 4
|
|
CATEGORIES= converters databases geography
|
|
|
|
MAINTAINER= lbartoletti@FreeBSD.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
|
|
|
|
USES= cmake compiler:c++17-lang pgsql
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= pgRouting
|
|
|
|
WANT_PGSQL= client
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
PORTDOCS= Readme.md
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/share/osm2pgrouting/mapconfig.xml|${PREFIX}/etc/${PORTNAME}/mapconfig.xml|' \
|
|
${WRKSRC}/src/utilities/prog_options.cpp \
|
|
${WRKSRC}/Readme.md
|
|
|
|
.include <bsd.port.mk>
|