freebsd-ports/graphics/tinyows/Makefile

32 lines
855 B
Makefile

PORTNAME= tinyows
PORTVERSION= 1.2.0
PORTREVISION= 5
CATEGORIES= graphics www geography
MASTER_SITES= https://download.osgeo.org/mapserver/
MAINTAINER= joris.dedieu@gmail.com
COMMENT= High Performance WFS-T server
WWW= https://mapserver.org/tinyows/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/share/postgresql/extension/postgis.control:databases/postgis31
LIB_DEPENDS= libxml2.so:textproc/libxml2
RUN_DEPENDS= ${LOCALBASE}/share/postgresql/extension/postgis.control:databases/postgis31
USES= autoreconf pgsql
GNU_CONFIGURE= yes
OPTIONS_DEFINE= FASTCGI
OPTIONS_DEFAULT=FASTCGI
FASTCGI_LIB_DEPENDS= libfcgi.so:www/fcgi
FASTCGI_CONFIGURE_WITH= fastcgi=${LOCALBASE}
post-install:
${MKDIR} ${STAGEDIR}${WWWDIR}/cgi-bin/
${INSTALL_PROGRAM} ${WRKSRC}/tinyows ${STAGEDIR}${WWWDIR}/cgi-bin/tinyows
.include <bsd.port.mk>