mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
0b055d47f2
- Switch to C++14 for libboost_system to support C++14 consumers Changes: http://www.boost.org/users/history/version_1_68_0.html PR: 229569 Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D16165
39 lines
854 B
Makefile
39 lines
854 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= osm2pgrouting
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 2.3.3
|
|
PORTREVISION= 4
|
|
CATEGORIES= converters databases geography
|
|
|
|
MAINTAINER= lbartoletti@tuxfamily.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:outsource compiler:c++11-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/mapconfig.xml|' \
|
|
${WRKSRC}/src/utilities/prog_options.cpp \
|
|
${WRKSRC}/Readme.md
|
|
|
|
post-install:
|
|
@for cf in ${STAGEDIR}${PREFIX}/etc/*.xml; do \
|
|
${MV} $${cf} $${cf}.sample; \
|
|
done
|
|
|
|
.include <bsd.port.mk>
|