# Ports collection makefile for:        sbox-dtc
# Date created:                 12 January 2005
# Whom:                         Thomas Goirand (thomas [ at ] goirand.fr)
#
# $FreeBSD$
#

PORTNAME=	sbox-dtc
PORTVERSION=	1.11.6
CATEGORIES=	www
MASTER_SITES=	ftp://ftp.gplhost.sg/pub/sbox/bsd/ \
		ftp://qala-sg.apt-proxy.gplhost.sg/pub/sbox/bsd/ \
		ftp://601.apt-proxy.gplhost.com/pub/sbox/bsd/ \
		ftp://seattle.apt-proxy.gplhost.com/pub/sbox/bsd/ \
		ftp://ftp.gplhost.com/pub/sbox/bsd/ \
		ftp://ftp.gplhost.co.uk/pub/sbox/bsd/ \
		ftp://ftp.gplhost.fr/pub/sbox/bsd/ \
		ftp://972.apt-proxy.gplhost.com/pub/sbox/bsd/ \
		http://ftp.gplhost.fr/pub/sbox/bsd/

MAINTAINER=	thomas@goirand.fr
COMMENT=	A CGI wrapper for Web site hosting services to safely grant CGI
RUN_DEPENDS=	${LOCALBASE}/sbin/httpd:${PORTSDIR}/${APACHE_PORT}

PLIST_FILES=	www/cgi-bin/sbox

USE_APACHE=     yes
CFLAGS+=        -DWEB_GROUP='\"nobody\"'
MAKE_ARGS=      CC="${CC}" COPTS="${CFLAGS}" \
                INSTALL_DIRECTORY=${PREFIX}/www/cgi-bin

.if defined(WITH_APACHE2)
IGNORE=		Untested
.endif

.include <bsd.port.mk>
