blob: f043030fd47f849cde5f8d682a0a408f75c64c8a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# 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
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>
|