2002-02-09 09:50:32 +01:00
|
|
|
# Ports collection makefile for: Chora
|
|
|
|
# Date created: Mon Nov 26, 2001
|
|
|
|
# Whom: Thierry Thomas (<thierry@pompo.net>)
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= chora
|
2010-09-23 04:54:56 +02:00
|
|
|
PORTVERSION= 2.1.1
|
2011-02-25 02:32:17 +01:00
|
|
|
PORTREVISION= 6
|
2002-02-09 09:50:32 +01:00
|
|
|
CATEGORIES= devel www
|
2007-04-09 11:58:25 +02:00
|
|
|
DIST_SUBDIR= horde
|
2002-02-09 09:50:32 +01:00
|
|
|
|
2010-09-23 04:54:56 +02:00
|
|
|
MAINTAINER= davide.italiano@gmail.com
|
2007-06-22 10:06:15 +02:00
|
|
|
COMMENT= CVS web-viewer
|
2002-02-09 09:50:32 +01:00
|
|
|
|
2002-04-01 15:32:17 +02:00
|
|
|
#-----------------------------------------------------------------------
|
|
|
|
# You may define these options:
|
|
|
|
#
|
2004-12-26 11:26:54 +01:00
|
|
|
# - WITHOUT_SVN : if you don't need subversion;
|
|
|
|
#
|
|
|
|
# - WITHOUT_CVSPS : if you don't need cvsps;
|
|
|
|
#
|
|
|
|
# - WITHOUT_CVSGRAPH : if you don't need cvsgraph;
|
2002-04-01 15:32:17 +02:00
|
|
|
#
|
|
|
|
# - A4 or DJ : if you run enscript with this paper size.
|
|
|
|
#
|
|
|
|
#-----------------------------------------------------------------------
|
|
|
|
|
2004-12-26 11:26:54 +01:00
|
|
|
.if !defined(WITHOUT_SVN)
|
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/bin/svn:${PORTSDIR}/devel/subversion
|
2002-04-01 15:32:17 +02:00
|
|
|
.endif
|
2004-12-26 11:26:54 +01:00
|
|
|
|
|
|
|
.if !defined(WITHOUT_CVSPS)
|
2008-11-27 00:46:41 +01:00
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/bin/cvsps:${PORTSDIR}/devel/cvsps
|
2004-12-26 11:26:54 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_CVSGRAPH)
|
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/bin/cvsgraph:${PORTSDIR}/devel/cvsgraph
|
2002-04-01 15:32:17 +02:00
|
|
|
.endif
|
2002-02-09 09:50:32 +01:00
|
|
|
|
|
|
|
# Specify where your repository belongs.
|
|
|
|
# (You can reconfigure it after installation anyway)
|
|
|
|
.if defined(PACKAGE_BUILDING) || !defined(CVSROOT) || empty(CVSROOT)
|
|
|
|
CVSROOT= /home/cvs
|
|
|
|
.endif
|
|
|
|
|
2007-04-09 01:42:31 +02:00
|
|
|
USE_HORDE= base pkg-message
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PORTDOCS= README BUGS CHANGES CREDITS INSTALL RELEASE_NOTES TODO
|
2006-01-06 01:38:13 +01:00
|
|
|
|
2004-12-26 11:26:54 +01:00
|
|
|
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
|
|
|
|
|
2007-04-09 01:42:31 +02:00
|
|
|
.include "${.CURDIR}/../../www/horde-base/bsd.horde.mk"
|
|
|
|
.include <bsd.port.mk>
|