2018-09-30 11:46:43 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.24 2018/09/30 11:46:43 landry Exp $
|
2014-12-16 21:34:35 +00:00
|
|
|
|
|
|
|
COMMENT = geospatial routing extension for PostgreSQL
|
|
|
|
|
2018-09-30 11:46:43 +00:00
|
|
|
V = 2.6.1
|
2018-04-01 18:44:59 +00:00
|
|
|
DISTNAME = pgrouting-${V}
|
2018-04-05 15:05:21 +00:00
|
|
|
MASTER_SITES = https://github.com/pgRouting/pgrouting/releases/download/v${V}/
|
2017-11-30 16:23:07 +00:00
|
|
|
|
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>
|