summaryrefslogtreecommitdiff
path: root/www/osrm-backend/Makefile
blob: 0fa476f4541ef3d54076ba88c20cf58a2339da67 (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
# $FreeBSD$

PORTNAME=		osrm-backend
DISTVERSIONPREFIX=	v
DISTVERSION=		5.17.2
PORTREVISION=		5
CATEGORIES=		www

MAINTAINER=		a.andersson.thn@gmail.com
COMMENT=		Open Source Routing Machine (Backend)

LICENSE=		BSD2CLAUSE
LICENSE_FILE=		${WRKSRC}/LICENSE.TXT

BUILD_DEPENDS=		${LOCALBASE}/lib/libstxxl.a:devel/stxxl
LIB_DEPENDS=		libtbb.so:devel/tbb \
			libtbbmalloc.so:devel/tbb \
			libluabind.so:devel/luabind \
			libboost_program_options.so:devel/boost-libs \
			libboost_date_time.so:devel/boost-libs \
			libboost_chrono.so:devel/boost-libs \
			libboost_filesystem.so:devel/boost-libs \
			libboost_iostreams.so:devel/boost-libs \
			libboost_thread.so:devel/boost-libs \
			libboost_system.so:devel/boost-libs \
			libboost_regex.so:devel/boost-libs \
			libexpat.so:textproc/expat2

USES=			cmake lua:53 compiler:c++14-lang
USE_GITHUB=		yes
GH_ACCOUNT=		Project-OSRM
USE_LDCONFIG=		yes
OPTIONS_DEFINE=		DEBUG
USE_RC_SUBR=		osrm

USERS=			osrm
GROUPS=			osrm

CMAKE_ON=		BUILD_SHARED_LIBS

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

.include <bsd.port.mk>