# Created by: Loïc BARTOLETTI # $FreeBSD: head/databases/virtualpg/Makefile 554984 2020-11-12 20:02:17Z lbartoletti $ PORTNAME= virtualpg PORTVERSION= 2.0.1 CATEGORIES= databases geography MASTER_SITES= http://www.gaia-gis.it/gaia-sins/ MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Loadable dynamic extension to both SQLite and SpatiaLite LICENSE= MPL11 LGPL21 GPLv2 LICENSE_COMB= dual LICENSE_FILE_MPL11= ${WRKSRC}/COPYING GNU_CONFIGURE= yes USES= gmake iconv pathfix pkgconfig libtool pgsql sqlite USE_LDCONFIG= yes CFLAGS+= -I${WRKSRC}/src/headers -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} CONFIGURE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libvirtualpg.so.0.1.1 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mod_virtualpg.so.0.1.1 .include