# New ports collection makefile for:	mod_fcgid for Apache2
# Date created:		13 August 2004
# Whom:			Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD: ports/www/mod_fcgid/Makefile,v 1.5 2005/12/25 16:00:46 vanilla Exp $
#

PORTNAME=	mod_fcgid
PORTVERSION=	1.07
CATEGORIES=	www
MASTER_SITES=	http://fastcgi.coremail.cn/ \
		${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	vanilla
DISTNAME=	${PORTNAME}.${PORTVERSION}

MAINTAINER=	hemi@puresimplicity.net
COMMENT=	An alternative FastCGI module for Apache2

USE_APACHE=	yes
WITH_APACHE2=	yes
MAKE_ARGS=	top_dir="${LOCALBASE}/share/apache2" INCLUDES="-I${LOCALBASE}/include/apache2"
INSTALL_TARGET=	install-modules

post-install:
	${MKDIR} -m 700 /var/run/fcgidsock
	${CHOWN} www:www /var/run/fcgidsock
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
