# $Id: Portfile,v 1.1 2005/11/24 21:54:25 mww Exp $

PortSystem 1.0

name			mod_fcgid
version			1.07
categories		www
platforms		darwin
maintainers		darwinports@opendarwin.org
description		An alternative FastCGI module for Apache2
long_description	${description}

homepage		http://fastcgi.coremail.cn/
master_sites	http://fastcgi.coremail.cn/
distname		${name}.${version}
checksums		md5 ae74bcb009b044739dc22757581b09f3
patchfiles		patch-fcgid_conf.c patch-Makefile

depends_lib		port:apache2

use_configure	no

build.args		prefix=${prefix}

destroot {
	xinstall -m 755 -d ${destroot}${prefix}/apache2/modules \
		${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 ${worksrcpath}/.libs/mod_fcgid.so \
		${destroot}${prefix}/apache2/modules
	xinstall -m 644 -W ${worksrcpath} AUTHOR COPYING ChangeLog INSTALL.txt \
		${destroot}${prefix}/share/doc/${name}
}

