# New ports collection makefile for:	mod_cgi_debug
# Date created:				10 April 2001
# Whom:					will
#
# $FreeBSD: ports/www/mod_cgi_debug/Makefile,v 1.6 2003/02/20 19:15:28 knu Exp $
#

PORTNAME=	mod_cgi_debug
PORTVERSION=	0.7
CATEGORIES=	www
MASTER_SITES=	http://software.tangent.org/download/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Apache module to make debugging server-side scripts easier

BUILD_DEPENDS=	${APXS}:${APACHE_PORT}
RUN_DEPENDS=	${APXS}:${APACHE_PORT}

APXS?=		${LOCALBASE}/sbin/apxs
APACHE_PORT?=	${PORTSDIR}/www/apache13

do-build:
	@cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c

do-install:
	${APXS} -i -A -n ${PORTNAME:S/_//g} ${WRKSRC}/${PORTNAME}.so

.include <bsd.port.mk>
