# New ports collection makefile for:	mod_cvs
# Date created:				14 August 2001
# Whom:					petef
#
# $FreeBSD: ports/www/mod_cvs/Makefile,v 1.4 2003/03/07 06:12:42 ade Exp $
#

PORTNAME=	mod_cvs
PORTVERSION=	0.5
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_LOCAL} \
		ftp://ftp.sub.nu/pub/mod_cvs/ \
		ftp://ftp.isk.kth.se/pub/people/main/mod_cvs/
MASTER_SITE_SUBDIR=	petef

MAINTAINER=	petef@FreeBSD.org
COMMENT=	A module that makes Apache CVS aware

BUILD_DEPENDS=	${APXS}:${PORTSDIR}/www/apache13
RUN_DEPENDS=	${APXS}:${PORTSDIR}/www/apache13

USE_REINPLACE=	yes
MAKE_ARGS+=	APXS="${APXS}"

APXS?=	${LOCALBASE}/sbin/apxs

post-patch:
	@${REINPLACE_CMD} -e 's,apxs,${APXS},g' ${WRKSRC}/Makefile

do-install:
	${APXS} -i -A -n cvs ${WRKSRC}/mod_cvs.so
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
