# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
description TinyOWS is a small footprint WFS server
long_description TinyOWS is a WFS server part of MapServer that can be installed in a\
standalone configuration using FastCGI.
homepage http://mapserver.osgeo.org/tinyows
master_sites http://download.osgeo.org/mapserver
checksums rmd160 9a929be2bb1856be7a38b0d80bb9650cc2799bff \
sha256 c9b6bec5c8c0302bd9c89c3d55df7b11efd194f1fd3d40ec50edbe3b9c24ab77
patchfiles patch-Makefile_in.diff \
depends_lib port:libxml2 \
configure.args --with-xml2-config=${prefix}/bin/xml2-config \
--with-pg_config=${prefix}/lib/postgresql10/bin/pg_config \
--with-shp2pgsql=${prefix}/lib/postgresql10/bin/pg_config \
--with-fastcgi=${prefix}/bin
# Insert ${prefix} in configuration file
reinplace -E "s|PREFIX|${prefix}|" ${worksrcpath}/src/ows_define.h
notes "A demo configuration file has been copied into ${prefix}/etc\n" \
"Edit it according to your needs.\n" \
"Copy or link tinyows from ${prefix}/bin to your Fast CGI directory."
livecheck.url http://download.osgeo.org/mapserver
livecheck.regex tinyows-1(\[0-9.\]+)${extract.suffix}