2017-11-30 16:23:07 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.21 2017/11/30 16:23:07 jeremy Exp $
|
2014-12-16 21:34:35 +00:00
|
|
|
|
|
|
|
COMMENT = geospatial routing extension for PostgreSQL
|
|
|
|
|
2017-11-21 20:41:18 +00:00
|
|
|
V = 2.5.2
|
|
|
|
GH_TAGNAME = v${V}
|
2014-12-16 21:34:35 +00:00
|
|
|
GH_PROJECT = pgrouting
|
|
|
|
GH_ACCOUNT = pgRouting
|
|
|
|
|
2017-11-30 16:23:07 +00:00
|
|
|
REVISION = 0
|
|
|
|
|
2014-12-16 21:34:35 +00:00
|
|
|
CATEGORIES = geo databases
|
|
|
|
|
|
|
|
HOMEPAGE = http://pgrouting.org/
|
|
|
|
|
|
|
|
MAINTAINER = Landry Breuil <landry@openbsd.org>
|
|
|
|
|
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2016-07-09 09:09:08 +00:00
|
|
|
WANTLIB += CGAL boost_system-mt boost_thread-mt gmp m pthread
|
2017-07-16 19:18:47 +00:00
|
|
|
WANTLIB += boost_atomic-mt boost_chrono-mt boost_date_time-mt ${COMPILER_LIBCXX}
|
2016-07-09 09:09:08 +00:00
|
|
|
|
2017-05-27 04:54:31 +00:00
|
|
|
MODULES = databases/postgresql devel/cmake
|
2017-11-16 23:20:37 +00:00
|
|
|
COMPILER = base-clang ports-gcc
|
2014-12-16 21:34:35 +00:00
|
|
|
|
|
|
|
LIB_DEPENDS = math/cgal
|
2014-12-19 21:16:55 +00:00
|
|
|
RUN_DEPENDS = geo/postgis
|
2014-12-16 21:34:35 +00:00
|
|
|
BUILD_DEPENDS = databases/postgresql,-server
|
2014-12-19 21:16:55 +00:00
|
|
|
TEST_DEPENDS = ${BUILD_PKGPATH}
|
2015-01-12 20:57:55 +00:00
|
|
|
TEST_ENV = LD_PRELOAD=libpthread.so
|
2017-11-21 20:41:18 +00:00
|
|
|
SUBST_VARS = V
|
2015-01-12 20:57:55 +00:00
|
|
|
MODPOSTGRESQL_TEST_CMD = \
|
|
|
|
cd ${WRKSRC}; \
|
2016-10-31 17:59:01 +00:00
|
|
|
./tools/testers/algorithm-tester.pl
|
2014-12-16 21:34:35 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|