blob: 63b38db9d8e559e1c1ba3d8e9cfd090ac5312788 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
PORTNAME= osm2pgrouting
DISTVERSIONPREFIX= v
DISTVERSION= 2.3.7
CATEGORIES= converters databases geography
MAINTAINER= lbartoletti@FreeBSD.org
COMMENT= Import OSM data into pgRouting database
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
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>
|