blob: 3d5b881c17a5cacf3ecf13cc8667d09161d74812 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
PORTNAME= osrm-backend
DISTVERSIONPREFIX= v
DISTVERSION= 5.26.0
PORTREVISION= 4
CATEGORIES= www
MAINTAINER= freebsd@mosedal.net
COMMENT= Open Source Routing Machine (Backend)
WWW= https://project-osrm.org/
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
LIB_DEPENDS= libboost_chrono.so:devel/boost-libs \
libboost_date_time.so:devel/boost-libs \
libboost_filesystem.so:devel/boost-libs \
libboost_iostreams.so:devel/boost-libs \
libboost_program_options.so:devel/boost-libs \
libboost_regex.so:devel/boost-libs \
libboost_system.so:devel/boost-libs \
libboost_thread.so:devel/boost-libs \
libexpat.so:textproc/expat2 \
libluabind.so:devel/luabind \
libtbb.so:devel/tbb \
libtbbmalloc.so:devel/tbb
USES= cmake compiler:c++14-lang lua:53
USE_GITHUB= yes
GH_ACCOUNT= Project-OSRM
OPTIONS_DEFINE= DEBUG
USE_RC_SUBR= osrm
USERS= osrm
GROUPS= osrm
CMAKE_ON= BUILD_STATIC_LIBS
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 1300084
CXXFLAGS+= -Wno-range-loop-construct
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-Werror=all -Werror=extra|-Werror=extra|g' \
${PATCH_WRKSRC}/CMakeLists.txt
pre-install:
@${MKDIR} ${STAGEDIR}/var/db/osrm-backend
.include <bsd.port.post.mk>
|