opnsense-ports/graphics/tinyows/Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

33 lines
852 B
Makefile

# Created by: Joris Dedieu <joris.dedieu@gmail.com>
# $FreeBSD$
PORTNAME= tinyows
PORTVERSION= 1.1.0
PORTREVISION= 1
CATEGORIES= graphics www geography
MASTER_SITES= http://download.osgeo.org/mapserver/
MAINTAINER= joris.dedieu@gmail.com
COMMENT= High Performance WFS-T server
LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2
BUILD_DEPENDS= ${LOCALBASE}/lib/postgresql/postgis-2.1.so:${PORTSDIR}/databases/postgis21
USES= tar:bzip2
GNU_CONFIGURE= YES
OPTIONS_DEFINE= FASTCGI
OPTIONS_DEFAULT= FASTCGI
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MFASTCGI}
BUILD_DEPENDS+= ${LOCALBASE}/bin/cgi-fcgi:${PORTSDIR}/www/fcgi
CONFIGURE_ARGS+= --with-fastcgi=${LOCALBASE}
.endif
post-install:
${MKDIR} ${STAGEDIR}${WWWDIR}/cgi-bin/
${INSTALL_PROGRAM} ${WRKSRC}/tinyows ${STAGEDIR}${WWWDIR}/cgi-bin/tinyows
.include <bsd.port.mk>