summaryrefslogtreecommitdiff
path: root/graphics/tinyows/Makefile
blob: 6c72c72685c6a165f6b8b7a1d66c20073ad16af2 (plain)
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
# Created by: Joris Dedieu <joris.dedieu@gmail.com>
# $FreeBSD$

PORTNAME=	tinyows
PORTVERSION=	1.1.0
PORTREVISION=	1
CATEGORIES=	graphics www geography
MASTER_SITES=	https://download.osgeo.org/mapserver/

MAINTAINER=	joris.dedieu@gmail.com
COMMENT=	High Performance WFS-T server

BUILD_DEPENDS=	${LOCALBASE}/lib/postgresql/postgis-2.1.so:databases/postgis21
LIB_DEPENDS=	libxml2.so:textproc/libxml2

USES=		tar:bzip2

GNU_CONFIGURE=	yes

OPTIONS_DEFINE=	FASTCGI
OPTIONS_DEFAULT=FASTCGI

FASTCGI_BUILD_DEPENDS=	cgi-fcgi:www/fcgi
FASTCGI_CONFIGURE_WITH=	fastcgi=${LOCALBASE}

post-install:
	${MKDIR} ${STAGEDIR}${WWWDIR}/cgi-bin/
	${INSTALL_PROGRAM} ${WRKSRC}/tinyows ${STAGEDIR}${WWWDIR}/cgi-bin/tinyows

.include <bsd.port.mk>