blob: 04a8f26470bb0fb9f34d7ab1d233ca66887f4103 (
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
32
33
34
35
36
37
38
|
# $FreeBSD$
PORTNAME= osm2pgrouting
DISTVERSIONPREFIX= v
DISTVERSION= 2.3.6
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 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/${PORTNAME}/mapconfig.xml|' \
${WRKSRC}/src/utilities/prog_options.cpp \
${WRKSRC}/Readme.md
post-install:
@for cf in ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/*.xml; do \
${MV} $${cf} $${cf}.sample; \
done
.include <bsd.port.mk>
|