aboutsummaryrefslogblamecommitdiff
path: root/devel/horde3-chora/Makefile
blob: a315d723f43d55cde97b70122f1e479f81ec3090 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                  
           

                     
                     
                 
                         
                     
 
                                 
                              
 
                                                                        
                   

                               




                                                       




                                                                        

                                                                 
      

                           
                                                              



                                                                    
      
 





                                                                    
                                
                       
                                                                      
 
              






                                                                         
 
                                                        
                      
# Created by: Thierry Thomas (<thierry@pompo.net>)
# $FreeBSD$

PORTNAME=	chora
PORTVERSION=	2.1.1
PORTREVISION=	6
CATEGORIES=	devel www
DIST_SUBDIR=	horde

MAINTAINER=	ports@FreeBSD.org
COMMENT=	CVS web-viewer

#-----------------------------------------------------------------------
NO_STAGE=	yes
# 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
USES=		gettext
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/horde3-base/bsd.horde.mk"
.include <bsd.port.mk>