summaryrefslogtreecommitdiff
path: root/www/osrm-backend/Makefile
blob: c1308f9d5ba23fd8234c0205eea71f482d3caa21 (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
PORTNAME=	osrm-backend
DISTVERSIONPREFIX=	v
DISTVERSION=	5.24.0
CATEGORIES=	www

MAINTAINER=	freebsd@mosedal.net
COMMENT=	Open Source Routing Machine (Backend)

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

pre-install:
	@${MKDIR} ${STAGEDIR}/var/db/osrm-backend

.include <bsd.port.post.mk>