cf118ccf87
Reported by: lwhsu
46 lines
1 KiB
Makefile
46 lines
1 KiB
Makefile
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>
|