landry ef11de45d8 Import librttopo 1.1.0.
The RT Topology Library exposes an API to create and manage standard
(ISO 13249 aka SQL/MM) topologies using user-provided data stores.

The code is derived from PostGIS liblwgeom library enhanced to provide
thread-safety, have less dependencies and be independent from PostGIS release
cycles.

New requirement for upcoming geo/spatialite update

ok solene@
2020-10-11 16:11:15 +00:00

24 lines
536 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2020/10/11 16:11:15 landry Exp $
COMMENT = RT Topology Library
DISTNAME = librttopo-1.1.0
CATEGORIES = geo
SHARED_LIBS += rttopo 0.0 #2.0
HOMEPAGE = https://git.osgeo.org/gogs/rttopo/librttopo
# GPLv2
PERMIT_PACKAGE= Yes
MASTER_SITES = http://download.osgeo.org/librttopo/src/
CONFIGURE_STYLE=gnu
LIB_DEPENDS = geo/geos
WANTLIB += ${COMPILER_LIBCXX} geos geos_c m
# upstream checks for geos-config --includes but fails to use it..
MAKE_FLAGS = CFLAGS=-I${LOCALBASE}/include
.include <bsd.port.mk>