aboutsummaryrefslogtreecommitdiff
path: root/www/osrm-backend/Makefile
blob: 9bea0ec42188d5b7918c549fc08fcd264eb8cb40 (plain) (blame)
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
PORTNAME=	osrm-backend
DISTVERSIONPREFIX=	v
DISTVERSION=	5.28.0.d20240803
PORTREVISION=	1
CATEGORIES=	www

MAINTAINER=	freebsd@mosedal.net
COMMENT=	Open Source Routing Machine (Backend)
WWW=		https://project-osrm.org/

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

NOT_FOR_ARCHS=	armv7 i386
NOT_FOR_ARCHS_REASON=	Building on a 32 bit system is not supported

LIB_DEPENDS=	libboost_date_time.so:devel/boost-libs \
		libboost_iostreams.so:devel/boost-libs \
		libboost_program_options.so:devel/boost-libs \
		libboost_regex.so:devel/boost-libs \
		libboost_thread.so:devel/boost-libs \
		libexpat.so:textproc/expat2 \
		libtbb.so:devel/onetbb

USES=		cmake compiler:c++20-lang lua:54 pkgconfig
USE_GITHUB=	yes
GH_ACCOUNT=	Project-OSRM
GH_TAGNAME=	203314b1

USE_RC_SUBR=	osrm
CMAKE_ON=	BUILD_STATIC_LIBS
USERS=		osrm
GROUPS=		osrm

OPTIONS_DEFINE=	DEBUG

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.mk>