36 lines
843 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.20 2017/11/21 20:41:18 landry Exp $
COMMENT = geospatial routing extension for PostgreSQL
V = 2.5.2
GH_TAGNAME = v${V}
GH_PROJECT = pgrouting
GH_ACCOUNT = pgRouting
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
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>