aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_cvs2/Makefile
blob: 7663b7c862e5e7fd402dc31debac1356b91c001b (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
35
36
# New ports collection makefile for:    mod_cvs2
# Date created:             6 January 2003
# Whom:                 Clement Laforet <clement@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   mod_cvs
PORTVERSION=    0.5.91
CATEGORIES= www
MASTER_SITES=   http://resare.com/noa/mod_cvs/dist/

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

USE_APACHE= yes
WITH_APACHE2=   yes

LATEST_LINK=    mod_cvs2

PORTDOCS=   reference.html guide.html README

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

do-install:
    @(cd ${WRKSRC} && ${APXS} -i -A -n ${PORTNAME:S/mod_//} ${PORTNAME}.la)
.if !defined (NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.   for f in ${PORTDOCS:NREADME}
    @${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
.   endfor
.endif

.include <bsd.port.mk>