blob: 39e2b12a1b69f0dc130a47283c5e0a756d2024a5 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Ports collection makefile for: Chora
# Date created: Mon Nov 26, 2001
# Whom: Thierry Thomas (<thierry@pompo.net>)
#
# $FreeBSD$
#
PORTNAME= chora
PORTVERSION= 2.1
PORTREVISION= 1
CATEGORIES= devel www
DIST_SUBDIR= horde
MAINTAINER= ports@FreeBSD.org
COMMENT= CVS web-viewer
#-----------------------------------------------------------------------
# You may define these options:
#
# - WITHOUT_SVN : if you don't need subversion;
#
# - WITHOUT_CVSPS : if you don't need cvsps;
#
# - WITHOUT_CVSGRAPH : if you don't need cvsgraph;
#
# - A4 or DJ : if you run enscript with this paper size.
#
#-----------------------------------------------------------------------
.if !defined(WITHOUT_SVN)
RUN_DEPENDS+= ${LOCALBASE}/bin/svn:${PORTSDIR}/devel/subversion
.endif
.if !defined(WITHOUT_CVSPS)
RUN_DEPENDS+= ${LOCALBASE}/bin/cvsps:${PORTSDIR}/devel/cvsps
.endif
.if !defined(WITHOUT_CVSGRAPH)
RUN_DEPENDS+= ${LOCALBASE}/bin/cvsgraph:${PORTSDIR}/devel/cvsgraph
.endif
# Specify where your repository belongs.
# (You can reconfigure it after installation anyway)
.if defined(PACKAGE_BUILDING) || !defined(CVSROOT) || empty(CVSROOT)
CVSROOT= /home/cvs
.endif
USE_HORDE= base pkg-message
USE_GETTEXT= yes
PORTDOCS= README BUGS CHANGES CREDITS INSTALL RELEASE_NOTES TODO
pre-configure:
@${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|" \
-e "s|/usr/bin/cvsgraph|${LOCALBASE}/bin/cvsgraph|" \
-e "s|/usr/bin/svn|${LOCALBASE}/bin/svn|" \
${WRKSRC}/config/conf.xml
@${REINPLACE_CMD} -e "s|%%CVSROOT%%|${CVSROOT}|" \
-e "s|%%CONFDIR%%|${CONFDIR}|" \
${WRKSRC}/config/sourceroots.php.dist
.include "${.CURDIR}/../../www/horde-base/bsd.horde.mk"
.include <bsd.port.mk>
|