openbsd-ports/geo/osrm-backend/Makefile

45 lines
1.1 KiB
Makefile

# devel/tbb does not support 64-bits atomics on ppc32, forcing them does
# not help, see tbb's ${WRKSRC}/include/tbb/machine/mac_ppc.h
NOT_FOR_ARCHS = powerpc
COMMENT = high-performance road network routing engine
GH_ACCOUNT = Project-OSRM
GH_PROJECT = osrm-backend
GH_TAGNAME = v5.22.0
REVISION = 0
CATEGORIES = geo
HOMEPAGE = http://project-osrm.org/
# BSD 2-clause
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} ${MODLUA_WANTLIB}
WANTLIB += boost_chrono-mt boost_date_time-mt boost_filesystem-mt
WANTLIB += boost_iostreams-mt boost_program_options-mt boost_regex-mt
WANTLIB += boost_system-mt boost_thread-mt bz2 c expat m tbb tbbmalloc z
COMPILER = base-clang ports-gcc base-gcc
MODULES = devel/cmake \
lang/lua
MODLUA_VERSION = 5.3
BUILD_DEPENDS = devel/protozero \
devel/utfcpp \
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/utfcpp
# Requires network access, and http access to sample osrm data is 403'd
NO_TEST = Yes
.include <bsd.port.mk>