2018-09-30 11:46:43 +00:00

35 lines
883 B
Makefile

# $OpenBSD: Makefile,v 1.24 2018/09/30 11:46:43 landry Exp $
COMMENT = geospatial routing extension for PostgreSQL
V = 2.6.1
DISTNAME = pgrouting-${V}
MASTER_SITES = https://github.com/pgRouting/pgrouting/releases/download/v${V}/
CATEGORIES = geo databases
HOMEPAGE = http://pgrouting.org/
MAINTAINER = Landry Breuil <landry@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += CGAL boost_system-mt boost_thread-mt gmp m pthread
WANTLIB += boost_atomic-mt boost_chrono-mt boost_date_time-mt ${COMPILER_LIBCXX}
MODULES = databases/postgresql devel/cmake
COMPILER = base-clang ports-gcc
LIB_DEPENDS = math/cgal
RUN_DEPENDS = geo/postgis
BUILD_DEPENDS = databases/postgresql,-server
TEST_DEPENDS = ${BUILD_PKGPATH}
TEST_ENV = LD_PRELOAD=libpthread.so
SUBST_VARS = V
MODPOSTGRESQL_TEST_CMD = \
cd ${WRKSRC}; \
./tools/testers/algorithm-tester.pl
.include <bsd.port.mk>