db928b5589
devel/cvsps to be at the same version as cvsps-devel. cvsps-devel is unmaintained and not likely to be updated to the unstable version anytime soon. The only port left which has a dependency on cvsps-devel is devel/horde-chora. With the update to devel/cvsps devel/horde-chora can be switched over to the maintained version of cvsps. With this switch I can start the process for removing the unmaintained and outdated cvsps-devel. PR: ports/129212 Submitted by: Wesley Shields <wxs@FreeBSD.org>
62 lines
1.7 KiB
Makefile
62 lines
1.7 KiB
Makefile
# Ports collection makefile for: Chora
|
|
# Date created: Mon Nov 26, 2001
|
|
# Whom: Thierry Thomas (<thierry@pompo.net>)
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= chora
|
|
PORTVERSION= 2.0.2
|
|
PORTREVISION= 4
|
|
CATEGORIES= devel www
|
|
DIST_SUBDIR= horde
|
|
|
|
MAINTAINER= beech@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>
|