freebsd-ports/databases/virtualpg/Makefile
Pawel Pekala b3b7e8761b VirtualPG is a loadable dynamic extension to both SQLite and SpatiaLite.
Its intended scope is supporting direct SQL access to PostgreSQL and PostGIS own
tables, so to make any possible kind of data exchange between these two popular
open source Spatial DBMSes as straightforward and simple as possible.

WWW: http://www.gaia-gis.it/fossil/virtualpg/index

PR:		197261
Submitted by:	Loïc BARTOLETTI <coder@tuxfamily.org>
2015-02-21 13:58:02 +00:00

28 lines
708 B
Makefile

# Created by: Loïc BARTOLETTI <coder@tuxfamily.org>
# $FreeBSD$
PORTNAME= virtualpg
PORTVERSION= 1.0.1
CATEGORIES= databases geography
MASTER_SITES= http://www.gaia-gis.it/gaia-sins/
MAINTAINER= coder@tuxfamily.org
COMMENT= Loadable dynamic extension to both SQLite and SpatiaLite
LICENSE= MPL LGPL21 GPLv2
LICENSE_COMB= dual
GNU_CONFIGURE= yes
USES= gmake iconv pathfix pkgconfig libtool pgsql
USE_SQLITE= yes
USE_LDCONFIG= yes
CFLAGS+= -I${WRKSRC}/src/headers -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
CONFIGURE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
PLIST_FILES= lib/mod_virtualpg.so \
lib/mod_virtualpg.so.1 \
lib/mod_virtualpg.so.1.0.0
.include <bsd.port.mk>