37 lines
847 B
Makefile
37 lines
847 B
Makefile
# $OpenBSD: Makefile,v 1.10 2016/10/31 17:59:01 landry Exp $
|
|
|
|
COMMENT = geospatial routing extension for PostgreSQL
|
|
|
|
GH_TAGNAME = pgrouting-2.3.0
|
|
GH_PROJECT = pgrouting
|
|
GH_ACCOUNT = pgRouting
|
|
|
|
DISTNAME = ${GH_TAGNAME}
|
|
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
|
|
|
|
MODULES = databases/postgresql devel/cmake gcc4
|
|
MODGCC4_ARCHS = *
|
|
MODGCC4_LANGS = c c++
|
|
|
|
LIB_DEPENDS = math/cgal
|
|
RUN_DEPENDS = geo/postgis
|
|
BUILD_DEPENDS = databases/postgresql,-server
|
|
TEST_DEPENDS = ${BUILD_PKGPATH}
|
|
TEST_ENV = LD_PRELOAD=libpthread.so
|
|
|
|
MODPOSTGRESQL_TEST_CMD = \
|
|
cd ${WRKSRC}; \
|
|
./tools/testers/algorithm-tester.pl
|
|
|
|
.include <bsd.port.mk>
|