mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
aeac01a4bb
Approved by: portmgr (not really, but touches unstaged ports)
34 lines
852 B
Makefile
34 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>
|