summaryrefslogtreecommitdiff
path: root/www/mod_cvs/Makefile
blob: 5a4aa7d87989f9ccd25edc7e2dd1ef0603cc6ea3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:	mod_cvs
# Date created:				14 August 2001
# Whom:					petef
#
# $FreeBSD$
#

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>