Files
ports/geo/osrm-backend/Makefile
T

52 lines
1.3 KiB
Makefile

# CMake Error at CMakeLists.txt:118 (message):
# Building on a 32 bit system is not supported
ONLY_FOR_ARCHS = ${LP64_ARCHS}
COMMENT = high-performance road network routing engine
GH_ACCOUNT = Project-OSRM
GH_PROJECT = osrm-backend
GH_COMMIT = d9ce9cf780777c96d74e0430b7c6f1dee6930f9a
DISTNAME = osrm-backend-5.27.1pl1
REVISION = 2
CATEGORIES = geo
HOMEPAGE = https://project-osrm.org/
# BSD 2-clause
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} ${MODLUA_WANTLIB} boost_date_time-mt
WANTLIB += boost_iostreams-mt boost_program_options-mt boost_random-mt
WANTLIB += boost_regex-mt boost_thread-mt bz2 c expat m tbb z
COMPILER = base-clang ports-gcc
CXXFLAGS_base-clang = -Wno-error=unused-but-set-variable
MODULES = devel/cmake \
lang/lua
MODLUA_VERSION = 5.3
BUILD_DEPENDS = devel/protozero \
devel/utfcpp>=4.0.5 \
geo/libosmium
LIB_DEPENDS = archivers/bzip2 \
devel/boost \
devel/tbb
CONFIGURE_ARGS = -DOSMIUM_INCLUDE_DIR=${LOCALBASE}/include/osmium \
-DENABLE_CCACHE=Off
CXXFLAGS += -I${LOCALBASE}/include/utf8cpp
# Requires network access, and http access to sample osrm data is 403'd
NO_TEST = Yes
post-install:
# Hack to avoid shipping an old flatbuffers copy in the default
# include directory
mv ${PREFIX}/include/flatbuffers ${PREFIX}/include/osrm
.include <bsd.port.mk>