freebsd-ports/graphics/tinyows/Makefile
Rene Ladan 1ff1befc8c - Update to 1.1.0
- Undeprecate
- Change MASTER_SITES
- Use new LIB_DEPENDS syntax

- Update postgis dependency to postgis21, this fixes INDEX [1]

Actually fix staging while here.

PR:		ports/185367
Submitted by:	Rainer Hurling <rhurlin@gwdg.de>
Approved by:	tabthorpe, maintainer timeout (	joris.dedieu@gmail.com )
Pointyhat:	rene [1]
2014-01-17 02:34:57 +00:00

32 lines
834 B
Makefile

# Created by: Joris Dedieu <joris.dedieu@gmail.com>
# $FreeBSD$
PORTNAME= tinyows
PORTVERSION= 1.1.0
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
USE_BZIP2= YES
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>