aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-04-09 07:42:31 +0800
committersat <sat@FreeBSD.org>2007-04-09 07:42:31 +0800
commit153839556c8359505626ebf9fa43a822f58538cb (patch)
tree0038e7953b20ecbd9b952548fa8201afc304b6b3 /devel
parent02e68c72eded6d44dcbabbd87a4c49e57555f0a5 (diff)
downloadfreebsd-ports-gnome-153839556c8359505626ebf9fa43a822f58538cb.tar.gz
freebsd-ports-gnome-153839556c8359505626ebf9fa43a822f58538cb.tar.zst
freebsd-ports-gnome-153839556c8359505626ebf9fa43a822f58538cb.zip
- Introduce bsd.horde.mk
- Convert most horde ports - Tested vigorously, but hastily Prodded by: pointyhats via kris Approved by: Beech Rintoul <beech@alaskaparadise.com> (maintainer)
Diffstat (limited to 'devel')
-rw-r--r--devel/chora/Makefile71
-rw-r--r--devel/chora/files/httpd.conf.chora27
-rw-r--r--devel/chora/files/pkg-deinstall.in24
-rw-r--r--devel/chora/files/pkg-install.in23
-rw-r--r--devel/chora/files/pkg-message.in11
-rw-r--r--devel/chora/pkg-plist312
-rw-r--r--devel/horde-chora/Makefile71
-rw-r--r--devel/horde-chora/files/httpd.conf.chora27
-rw-r--r--devel/horde-chora/files/pkg-deinstall.in24
-rw-r--r--devel/horde-chora/files/pkg-install.in23
-rw-r--r--devel/horde-chora/files/pkg-message.in11
-rw-r--r--devel/horde-chora/pkg-plist312
12 files changed, 316 insertions, 620 deletions
diff --git a/devel/chora/Makefile b/devel/chora/Makefile
index 073b1f7da8f1..b663cd988165 100644
--- a/devel/chora/Makefile
+++ b/devel/chora/Makefile
@@ -9,8 +9,6 @@ PORTNAME= chora
PORTVERSION= 2.0.1
PORTREVISION= 1
CATEGORIES= devel www
-MASTER_SITES= HORDE
-DISTNAME= ${PORTNAME}-h3-${PORTVERSION}
MAINTAINER= beech@alaskaparadise.com
COMMENT= The Horde CVS web-viewer
@@ -28,8 +26,6 @@ COMMENT= The Horde CVS web-viewer
#
#-----------------------------------------------------------------------
-RUN_DEPENDS+= ${LOCALBASE}/${LHORDEDIR}/rpc.php:${PORTSDIR}/www/horde-base
-
.if !defined(WITHOUT_SVN)
RUN_DEPENDS+= ${LOCALBASE}/bin/svn:${PORTSDIR}/devel/subversion
.endif
@@ -42,46 +38,17 @@ RUN_DEPENDS+= ${LOCALBASE}/bin/cvsps:${PORTSDIR}/devel/cvsps-devel
RUN_DEPENDS+= ${LOCALBASE}/bin/cvsgraph:${PORTSDIR}/devel/cvsgraph
.endif
-NO_BUILD= yes
-USE_APACHE= 1.3+ # needed to test APACHE_VERSION
-
# Specify where your repository belongs.
# (You can reconfigure it after installation anyway)
.if defined(PACKAGE_BUILDING) || !defined(CVSROOT) || empty(CVSROOT)
CVSROOT= /home/cvs
.endif
-DOCS= COPYING README docs/BUGS docs/CHANGES docs/CREDITS \
- docs/INSTALL docs/RELEASE_NOTES docs/TODO
-CONFFILE= cvsgraph.conf longIntro.txt mime_drivers.php prefs.php \
- sourceroots.php
-SUB_DIRS= config lib locale po templates themes
-
-LHORDEDIR?= www/horde
-LCHORADIR= ${LHORDEDIR}/chora
-
-PLIST_SUB= CHORADIR=${LCHORADIR} HORDE_INC=${HORDE_INC:S|^${LOCALBASE}/||}
-PKGMESSAGE= ${WRKDIR}/pkg-message
-PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
-SUB_FILES= pkg-message pkg-install pkg-deinstall
-SUB_LIST= CHORADIR=${CHORADIR} CONFDIR=${CONFDIR}
-
-CHORADIR= ${PREFIX}/${LCHORADIR}
-CONFDIR= ${CHORADIR}/config
-
-PATCH2RM= sourceroots.php.dist.orig sourceroots.php.dist.bak conf.xml.bak
-
-.include <bsd.port.pre.mk>
-
-.if ${APACHE_VERSION} >= 20
-HORDE_INC= ${LOCALBASE}/etc/apache${APACHE_VERSION:S/20/2/}/Includes
-.else
-HORDE_INC= ${LOCALBASE}/etc/horde
-.endif
+USE_HORDE= base pkg-message
+USE_GETTEXT= yes
+PORTDOCS= README BUGS CHANGES CREDITS INSTALL RELEASE_NOTES TODO
pre-configure:
- @${SED} -e "s:/home/httpd/html/horde/chora:${CHORADIR}:" \
- ${FILESDIR}/httpd.conf.chora > ${WRKDIR}/httpd-chora.conf
@${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|" \
-e "s|/usr/bin/cvsgraph|${LOCALBASE}/bin/cvsgraph|" \
-e "s|/usr/bin/svn|${LOCALBASE}/bin/svn|" \
@@ -89,40 +56,14 @@ pre-configure:
@${REINPLACE_CMD} -e "s|%%CVSROOT%%|${CVSROOT}|" \
-e "s|%%CONFDIR%%|${CONFDIR}|" \
${WRKSRC}/config/sourceroots.php.dist
-.for FILE in ${PATCH2RM}
- @${RM} ${WRKSRC}/config/${FILE}
-.endfor
pre-install:
.if !defined(WITHOUT_CVSPS)
- @if ! pkg_info -I -x cvsps-devel > /dev/null ; then \
+ @if ! ${PKG_INFO} -I -x cvsps-devel > /dev/null ; then \
${ECHO_MSG} "Error: cvsps-devel is required, not cvsps." ; \
${FALSE} ; \
fi
.endif
-do-install:
- @${MKDIR} ${CHORADIR}
-.for REP in ${SUB_DIRS}
- @${CP} -Rp ${WRKSRC}/${REP} ${CHORADIR}
-.endfor
- @${CP} -p ${WRKSRC}/*.php ${CHORADIR}
-
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${CHORADIR}
- @${CHMOD} -R o-rwx ${CONFDIR}
- @${INSTALL_DATA} ${WRKDIR}/httpd-chora.conf ${HORDE_INC}
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for FILE in ${DOCS}
- @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
-.endfor
- @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
-.endif
-
-post-install:
- @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
- @${ECHO_MSG}
- @${CAT} ${PKGMESSAGE}
- @${ECHO_MSG}
-
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../../www/horde-base/bsd.horde.mk"
+.include <bsd.port.mk>
diff --git a/devel/chora/files/httpd.conf.chora b/devel/chora/files/httpd.conf.chora
deleted file mode 100644
index 95afb9c8db4c..000000000000
--- a/devel/chora/files/httpd.conf.chora
+++ /dev/null
@@ -1,27 +0,0 @@
-# This is included in Apache's httpd.conf for Chora
-#
-# For security, don't serve pages from the Chora configuration and
-# library directories.
-#
-<Directory "/home/httpd/html/horde/chora/config">
- order deny,allow
- deny from all
-</Directory>
-<Directory "/home/httpd/html/horde/chora/lib">
- order deny,allow
- deny from all
-</Directory>
-<Directory "/home/httpd/html/horde/chora/locale">
- order deny,allow
- deny from all
-</Directory>
-<Directory "/home/httpd/html/horde/chora/po">
- order deny,allow
- deny from all
-</Directory>
-<Directory "/home/httpd/html/horde/chora/templates">
- order deny,allow
- deny from all
-</Directory>
-# End of Chora configuration ================
-
diff --git a/devel/chora/files/pkg-deinstall.in b/devel/chora/files/pkg-deinstall.in
deleted file mode 100644
index ca19b4bfa602..000000000000
--- a/devel/chora/files/pkg-deinstall.in
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# Backup Chora config files, if needed.
-
-if [ x$2 != xDEINSTALL ]; then
- exit
-fi
-
-if [ -z "${PACKAGE_BUILDING}" ]; then
- for cf in `ls %%CHORADIR%%/config/*php %%CHORADIR%%/config/*txt`; do
- diff -bBqw $cf $cf.dist >/dev/null 2>&1
- case $? in
- 0) # original config file, delete it
- rm -f $cf
- ;;
- 1) # config file has been updated, leave it alone
- ;;
- *) # not found?
- ;;
- esac
- done
-fi
diff --git a/devel/chora/files/pkg-install.in b/devel/chora/files/pkg-install.in
deleted file mode 100644
index 4c605270649a..000000000000
--- a/devel/chora/files/pkg-install.in
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-PATH=/usr/sbin:/usr/bin:/bin ; export PATH
-
-case $2 in
- PRE-INSTALL)
- ;;
-
- POST-INSTALL)
- if [ -z "${PACKAGE_BUILDING}" ]; then
- # Copy over sample config files unless they already exist
-
- for cf in `ls %%CHORADIR%%/config/*.dist | sed -e 's/\.dist//g'`; do
- if [ ! -f $cf ]; then
- cp -p $cf.dist $cf
- fi
- done
- fi
- ;;
-esac
diff --git a/devel/chora/files/pkg-message.in b/devel/chora/files/pkg-message.in
deleted file mode 100644
index 34b4d8550554..000000000000
--- a/devel/chora/files/pkg-message.in
+++ /dev/null
@@ -1,11 +0,0 @@
-************************************************************************
-Chora has been installed in %%CHORADIR%% with your blank
-configuration files.
-
-Horde must be configured; if not, see `pkg_info -D -x horde'.
-
-Then, you may have to tune the configuration files located in
-%%CONFDIR%%/, specially the file sourceroots.php.
-
-To protect your configuration files, you have to restart Apache.
-************************************************************************
diff --git a/devel/chora/pkg-plist b/devel/chora/pkg-plist
index b20759e18ae8..11f1c794ef9b 100644
--- a/devel/chora/pkg-plist
+++ b/devel/chora/pkg-plist
@@ -1,160 +1,152 @@
-%%HORDE_INC%%/httpd-chora.conf
-%%PORTDOCS%%%%DOCSDIR%%/BUGS
-%%PORTDOCS%%%%DOCSDIR%%/CHANGES
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/CREDITS
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/RELEASE_NOTES
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%CHORADIR%%/annotate.php
-%%CHORADIR%%/browse.php
-%%CHORADIR%%/co.php
-%%CHORADIR%%/config/.htaccess
-%%CHORADIR%%/config/conf.xml
-%%CHORADIR%%/config/cvsgraph.conf.dist
-%%CHORADIR%%/config/longIntro.txt.dist
-%%CHORADIR%%/config/mime_drivers.php.dist
-%%CHORADIR%%/config/prefs.php.dist
-%%CHORADIR%%/config/sourceroots.php.dist
-%%CHORADIR%%/cvs.php
-%%CHORADIR%%/cvsgraph.php
-%%CHORADIR%%/diff.php
-%%CHORADIR%%/history.php
-%%CHORADIR%%/index.php
-%%CHORADIR%%/lib/.htaccess
-%%CHORADIR%%/lib/Chora.php
-%%CHORADIR%%/lib/base.php
-%%CHORADIR%%/lib/version.php
-%%CHORADIR%%/locale/.htaccess
-%%CHORADIR%%/locale/cs_CZ/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/de_DE/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/de_DE/help.xml
-%%CHORADIR%%/locale/en_US/help.xml
-%%CHORADIR%%/locale/es_ES/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/es_ES/help.xml
-%%CHORADIR%%/locale/fi_FI/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/fi_FI/help.xml
-%%CHORADIR%%/locale/fr_FR/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/nb_NO/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/nl_NL/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/pl_PL/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/pt_BR/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/ro_RO/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/ru_RU/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/sk_SK/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/sv_SE/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/zh_CN/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/zh_TW/LC_MESSAGES/chora.mo
-%%CHORADIR%%/patchsets.php
-%%CHORADIR%%/po/.htaccess
-%%CHORADIR%%/po/README
-%%CHORADIR%%/po/chora.pot
-%%CHORADIR%%/po/cs_CZ.po
-%%CHORADIR%%/po/de_DE.po
-%%CHORADIR%%/po/es_ES.po
-%%CHORADIR%%/po/fi_FI.po
-%%CHORADIR%%/po/fr_FR.po
-%%CHORADIR%%/po/nb_NO.po
-%%CHORADIR%%/po/nl_NL.po
-%%CHORADIR%%/po/pl_PL.po
-%%CHORADIR%%/po/pt_BR.po
-%%CHORADIR%%/po/ro_RO.po
-%%CHORADIR%%/po/ru_RU.po
-%%CHORADIR%%/po/sk_SK.po
-%%CHORADIR%%/po/sv_SE.po
-%%CHORADIR%%/po/zh_CN.po
-%%CHORADIR%%/po/zh_TW.po
-%%CHORADIR%%/stats.php
-%%CHORADIR%%/templates/.htaccess
-%%CHORADIR%%/templates/annotate/footer.inc
-%%CHORADIR%%/templates/annotate/header.inc
-%%CHORADIR%%/templates/annotate/line.inc
-%%CHORADIR%%/templates/checkout/checkout.inc
-%%CHORADIR%%/templates/common-header.inc
-%%CHORADIR%%/templates/cvsgraph/cvsgraph.inc
-%%CHORADIR%%/templates/diff/hr/add.inc
-%%CHORADIR%%/templates/diff/hr/change.inc
-%%CHORADIR%%/templates/diff/hr/empty.inc
-%%CHORADIR%%/templates/diff/hr/footer.inc
-%%CHORADIR%%/templates/diff/hr/header.inc
-%%CHORADIR%%/templates/diff/hr/nochange.inc
-%%CHORADIR%%/templates/diff/hr/remove.inc
-%%CHORADIR%%/templates/diff/hr/row.inc
-%%CHORADIR%%/templates/directory/back.inc
-%%CHORADIR%%/templates/directory/dir.inc
-%%CHORADIR%%/templates/directory/file.inc
-%%CHORADIR%%/templates/directory/footer.inc
-%%CHORADIR%%/templates/directory/header.inc
-%%CHORADIR%%/templates/error_page.inc
-%%CHORADIR%%/templates/headerbar.inc
-%%CHORADIR%%/templates/history/blank.inc
-%%CHORADIR%%/templates/history/branch_cell.inc
-%%CHORADIR%%/templates/history/footer.inc
-%%CHORADIR%%/templates/history/header.inc
-%%CHORADIR%%/templates/history/rev.inc
-%%CHORADIR%%/templates/history/row_end.inc
-%%CHORADIR%%/templates/history/row_start.inc
-%%CHORADIR%%/templates/log/request.inc
-%%CHORADIR%%/templates/log/rev.inc
-%%CHORADIR%%/templates/menu.inc
-%%CHORADIR%%/templates/patchsets/ps.inc
-%%CHORADIR%%/templates/stats/stats.inc
-%%CHORADIR%%/themes/burntorange/screen.css
-%%CHORADIR%%/themes/graphics/back.png
-%%CHORADIR%%/themes/graphics/chora.png
-%%CHORADIR%%/themes/graphics/deleted.png
-%%CHORADIR%%/themes/graphics/favicon.ico
-%%CHORADIR%%/themes/graphics/folder.png
-%%CHORADIR%%/themes/screen.css
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm %%CHORADIR%%/themes/graphics
-@dirrm %%CHORADIR%%/themes/burntorange
-@dirrm %%CHORADIR%%/themes
-@dirrm %%CHORADIR%%/templates/stats
-@dirrm %%CHORADIR%%/templates/patchsets
-@dirrm %%CHORADIR%%/templates/log
-@dirrm %%CHORADIR%%/templates/history
-@dirrm %%CHORADIR%%/templates/directory
-@dirrm %%CHORADIR%%/templates/diff/hr
-@dirrm %%CHORADIR%%/templates/diff
-@dirrm %%CHORADIR%%/templates/cvsgraph
-@dirrm %%CHORADIR%%/templates/checkout
-@dirrm %%CHORADIR%%/templates/annotate
-@dirrm %%CHORADIR%%/templates
-@dirrm %%CHORADIR%%/po
-@dirrm %%CHORADIR%%/locale/zh_TW/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/zh_TW
-@dirrm %%CHORADIR%%/locale/zh_CN/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/zh_CN
-@dirrm %%CHORADIR%%/locale/sv_SE/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/sv_SE
-@dirrm %%CHORADIR%%/locale/sk_SK/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/sk_SK
-@dirrm %%CHORADIR%%/locale/ru_RU/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/ru_RU
-@dirrm %%CHORADIR%%/locale/ro_RO/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/ro_RO
-@dirrm %%CHORADIR%%/locale/pt_BR/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/pt_BR
-@dirrm %%CHORADIR%%/locale/pl_PL/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/pl_PL
-@dirrm %%CHORADIR%%/locale/nl_NL/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/nl_NL
-@dirrm %%CHORADIR%%/locale/nb_NO/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/nb_NO
-@dirrm %%CHORADIR%%/locale/fr_FR/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/fr_FR
-@dirrm %%CHORADIR%%/locale/fi_FI/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/fi_FI
-@dirrm %%CHORADIR%%/locale/es_ES/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/es_ES
-@dirrm %%CHORADIR%%/locale/en_US
-@dirrm %%CHORADIR%%/locale/de_DE/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/de_DE
-@dirrm %%CHORADIR%%/locale/cs_CZ/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/cs_CZ
-@dirrm %%CHORADIR%%/locale
-@dirrm %%CHORADIR%%/lib
-@dirrmtry %%CHORADIR%%/config
-@dirrmtry %%CHORADIR%%
+%%HORDIR%%/.htaccess
+%%HORDIR%%/annotate.php
+%%HORDIR%%/browse.php
+%%HORDIR%%/co.php
+%%HORDIR%%/config/.htaccess
+%%HORDIR%%/config/conf.xml
+%%HORDIR%%/config/cvsgraph.conf.dist
+%%HORDIR%%/config/longIntro.txt.dist
+%%HORDIR%%/config/mime_drivers.php.dist
+%%HORDIR%%/config/prefs.php.dist
+%%HORDIR%%/config/sourceroots.php.dist
+%%HORDIR%%/cvs.php
+%%HORDIR%%/cvsgraph.php
+%%HORDIR%%/diff.php
+%%HORDIR%%/history.php
+%%HORDIR%%/index.php
+%%HORDIR%%/lib/.htaccess
+%%HORDIR%%/lib/Chora.php
+%%HORDIR%%/lib/base.php
+%%HORDIR%%/lib/version.php
+%%HORDIR%%/locale/.htaccess
+%%HORDIR%%/locale/cs_CZ/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/de_DE/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/de_DE/help.xml
+%%HORDIR%%/locale/en_US/help.xml
+%%HORDIR%%/locale/es_ES/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/es_ES/help.xml
+%%HORDIR%%/locale/fi_FI/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/fi_FI/help.xml
+%%HORDIR%%/locale/fr_FR/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/nb_NO/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/nl_NL/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/pl_PL/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/pt_BR/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/ro_RO/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/ru_RU/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/sk_SK/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/sv_SE/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/zh_CN/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/zh_TW/LC_MESSAGES/chora.mo
+%%HORDIR%%/patchsets.php
+%%HORDIR%%/po/.htaccess
+%%HORDIR%%/po/README
+%%HORDIR%%/po/chora.pot
+%%HORDIR%%/po/cs_CZ.po
+%%HORDIR%%/po/de_DE.po
+%%HORDIR%%/po/es_ES.po
+%%HORDIR%%/po/fi_FI.po
+%%HORDIR%%/po/fr_FR.po
+%%HORDIR%%/po/nb_NO.po
+%%HORDIR%%/po/nl_NL.po
+%%HORDIR%%/po/pl_PL.po
+%%HORDIR%%/po/pt_BR.po
+%%HORDIR%%/po/ro_RO.po
+%%HORDIR%%/po/ru_RU.po
+%%HORDIR%%/po/sk_SK.po
+%%HORDIR%%/po/sv_SE.po
+%%HORDIR%%/po/zh_CN.po
+%%HORDIR%%/po/zh_TW.po
+%%HORDIR%%/stats.php
+%%HORDIR%%/templates/.htaccess
+%%HORDIR%%/templates/annotate/footer.inc
+%%HORDIR%%/templates/annotate/header.inc
+%%HORDIR%%/templates/annotate/line.inc
+%%HORDIR%%/templates/checkout/checkout.inc
+%%HORDIR%%/templates/common-header.inc
+%%HORDIR%%/templates/cvsgraph/cvsgraph.inc
+%%HORDIR%%/templates/diff/hr/add.inc
+%%HORDIR%%/templates/diff/hr/change.inc
+%%HORDIR%%/templates/diff/hr/empty.inc
+%%HORDIR%%/templates/diff/hr/footer.inc
+%%HORDIR%%/templates/diff/hr/header.inc
+%%HORDIR%%/templates/diff/hr/nochange.inc
+%%HORDIR%%/templates/diff/hr/remove.inc
+%%HORDIR%%/templates/diff/hr/row.inc
+%%HORDIR%%/templates/directory/back.inc
+%%HORDIR%%/templates/directory/dir.inc
+%%HORDIR%%/templates/directory/file.inc
+%%HORDIR%%/templates/directory/footer.inc
+%%HORDIR%%/templates/directory/header.inc
+%%HORDIR%%/templates/error_page.inc
+%%HORDIR%%/templates/headerbar.inc
+%%HORDIR%%/templates/history/blank.inc
+%%HORDIR%%/templates/history/branch_cell.inc
+%%HORDIR%%/templates/history/footer.inc
+%%HORDIR%%/templates/history/header.inc
+%%HORDIR%%/templates/history/rev.inc
+%%HORDIR%%/templates/history/row_end.inc
+%%HORDIR%%/templates/history/row_start.inc
+%%HORDIR%%/templates/log/request.inc
+%%HORDIR%%/templates/log/rev.inc
+%%HORDIR%%/templates/menu.inc
+%%HORDIR%%/templates/patchsets/ps.inc
+%%HORDIR%%/templates/stats/stats.inc
+%%HORDIR%%/themes/burntorange/screen.css
+%%HORDIR%%/themes/graphics/back.png
+%%HORDIR%%/themes/graphics/chora.png
+%%HORDIR%%/themes/graphics/deleted.png
+%%HORDIR%%/themes/graphics/favicon.ico
+%%HORDIR%%/themes/graphics/folder.png
+%%HORDIR%%/themes/screen.css
+@dirrmtry %%HORDIR%%/config
+@dirrm %%HORDIR%%/lib
+@dirrm %%HORDIR%%/locale/cs_CZ/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/cs_CZ
+@dirrm %%HORDIR%%/locale/de_DE/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/de_DE
+@dirrm %%HORDIR%%/locale/en_US
+@dirrm %%HORDIR%%/locale/es_ES/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/es_ES
+@dirrm %%HORDIR%%/locale/fi_FI/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/fi_FI
+@dirrm %%HORDIR%%/locale/fr_FR/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/fr_FR
+@dirrm %%HORDIR%%/locale/nb_NO/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/nb_NO
+@dirrm %%HORDIR%%/locale/nl_NL/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/nl_NL
+@dirrm %%HORDIR%%/locale/pl_PL/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/pl_PL
+@dirrm %%HORDIR%%/locale/pt_BR/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/pt_BR
+@dirrm %%HORDIR%%/locale/ro_RO/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/ro_RO
+@dirrm %%HORDIR%%/locale/ru_RU/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/ru_RU
+@dirrm %%HORDIR%%/locale/sk_SK/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/sk_SK
+@dirrm %%HORDIR%%/locale/sv_SE/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/sv_SE
+@dirrm %%HORDIR%%/locale/zh_CN/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/zh_CN
+@dirrm %%HORDIR%%/locale/zh_TW/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/zh_TW
+@dirrm %%HORDIR%%/locale
+@dirrm %%HORDIR%%/po
+@dirrm %%HORDIR%%/templates/annotate
+@dirrm %%HORDIR%%/templates/checkout
+@dirrm %%HORDIR%%/templates/cvsgraph
+@dirrm %%HORDIR%%/templates/diff/hr
+@dirrm %%HORDIR%%/templates/diff
+@dirrm %%HORDIR%%/templates/directory
+@dirrm %%HORDIR%%/templates/history
+@dirrm %%HORDIR%%/templates/log
+@dirrm %%HORDIR%%/templates/patchsets
+@dirrm %%HORDIR%%/templates/stats
+@dirrm %%HORDIR%%/templates
+@dirrm %%HORDIR%%/themes/burntorange
+@dirrm %%HORDIR%%/themes/graphics
+@dirrm %%HORDIR%%/themes
+@dirrmtry %%HORDIR%%
+@dirrmtry %%HORBAS%%
diff --git a/devel/horde-chora/Makefile b/devel/horde-chora/Makefile
index 073b1f7da8f1..b663cd988165 100644
--- a/devel/horde-chora/Makefile
+++ b/devel/horde-chora/Makefile
@@ -9,8 +9,6 @@ PORTNAME= chora
PORTVERSION= 2.0.1
PORTREVISION= 1
CATEGORIES= devel www
-MASTER_SITES= HORDE
-DISTNAME= ${PORTNAME}-h3-${PORTVERSION}
MAINTAINER= beech@alaskaparadise.com
COMMENT= The Horde CVS web-viewer
@@ -28,8 +26,6 @@ COMMENT= The Horde CVS web-viewer
#
#-----------------------------------------------------------------------
-RUN_DEPENDS+= ${LOCALBASE}/${LHORDEDIR}/rpc.php:${PORTSDIR}/www/horde-base
-
.if !defined(WITHOUT_SVN)
RUN_DEPENDS+= ${LOCALBASE}/bin/svn:${PORTSDIR}/devel/subversion
.endif
@@ -42,46 +38,17 @@ RUN_DEPENDS+= ${LOCALBASE}/bin/cvsps:${PORTSDIR}/devel/cvsps-devel
RUN_DEPENDS+= ${LOCALBASE}/bin/cvsgraph:${PORTSDIR}/devel/cvsgraph
.endif
-NO_BUILD= yes
-USE_APACHE= 1.3+ # needed to test APACHE_VERSION
-
# Specify where your repository belongs.
# (You can reconfigure it after installation anyway)
.if defined(PACKAGE_BUILDING) || !defined(CVSROOT) || empty(CVSROOT)
CVSROOT= /home/cvs
.endif
-DOCS= COPYING README docs/BUGS docs/CHANGES docs/CREDITS \
- docs/INSTALL docs/RELEASE_NOTES docs/TODO
-CONFFILE= cvsgraph.conf longIntro.txt mime_drivers.php prefs.php \
- sourceroots.php
-SUB_DIRS= config lib locale po templates themes
-
-LHORDEDIR?= www/horde
-LCHORADIR= ${LHORDEDIR}/chora
-
-PLIST_SUB= CHORADIR=${LCHORADIR} HORDE_INC=${HORDE_INC:S|^${LOCALBASE}/||}
-PKGMESSAGE= ${WRKDIR}/pkg-message
-PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
-SUB_FILES= pkg-message pkg-install pkg-deinstall
-SUB_LIST= CHORADIR=${CHORADIR} CONFDIR=${CONFDIR}
-
-CHORADIR= ${PREFIX}/${LCHORADIR}
-CONFDIR= ${CHORADIR}/config
-
-PATCH2RM= sourceroots.php.dist.orig sourceroots.php.dist.bak conf.xml.bak
-
-.include <bsd.port.pre.mk>
-
-.if ${APACHE_VERSION} >= 20
-HORDE_INC= ${LOCALBASE}/etc/apache${APACHE_VERSION:S/20/2/}/Includes
-.else
-HORDE_INC= ${LOCALBASE}/etc/horde
-.endif
+USE_HORDE= base pkg-message
+USE_GETTEXT= yes
+PORTDOCS= README BUGS CHANGES CREDITS INSTALL RELEASE_NOTES TODO
pre-configure:
- @${SED} -e "s:/home/httpd/html/horde/chora:${CHORADIR}:" \
- ${FILESDIR}/httpd.conf.chora > ${WRKDIR}/httpd-chora.conf
@${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|" \
-e "s|/usr/bin/cvsgraph|${LOCALBASE}/bin/cvsgraph|" \
-e "s|/usr/bin/svn|${LOCALBASE}/bin/svn|" \
@@ -89,40 +56,14 @@ pre-configure:
@${REINPLACE_CMD} -e "s|%%CVSROOT%%|${CVSROOT}|" \
-e "s|%%CONFDIR%%|${CONFDIR}|" \
${WRKSRC}/config/sourceroots.php.dist
-.for FILE in ${PATCH2RM}
- @${RM} ${WRKSRC}/config/${FILE}
-.endfor
pre-install:
.if !defined(WITHOUT_CVSPS)
- @if ! pkg_info -I -x cvsps-devel > /dev/null ; then \
+ @if ! ${PKG_INFO} -I -x cvsps-devel > /dev/null ; then \
${ECHO_MSG} "Error: cvsps-devel is required, not cvsps." ; \
${FALSE} ; \
fi
.endif
-do-install:
- @${MKDIR} ${CHORADIR}
-.for REP in ${SUB_DIRS}
- @${CP} -Rp ${WRKSRC}/${REP} ${CHORADIR}
-.endfor
- @${CP} -p ${WRKSRC}/*.php ${CHORADIR}
-
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${CHORADIR}
- @${CHMOD} -R o-rwx ${CONFDIR}
- @${INSTALL_DATA} ${WRKDIR}/httpd-chora.conf ${HORDE_INC}
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for FILE in ${DOCS}
- @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
-.endfor
- @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
-.endif
-
-post-install:
- @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
- @${ECHO_MSG}
- @${CAT} ${PKGMESSAGE}
- @${ECHO_MSG}
-
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../../www/horde-base/bsd.horde.mk"
+.include <bsd.port.mk>
diff --git a/devel/horde-chora/files/httpd.conf.chora b/devel/horde-chora/files/httpd.conf.chora
deleted file mode 100644
index 95afb9c8db4c..000000000000
--- a/devel/horde-chora/files/httpd.conf.chora
+++ /dev/null
@@ -1,27 +0,0 @@
-# This is included in Apache's httpd.conf for Chora
-#
-# For security, don't serve pages from the Chora configuration and
-# library directories.
-#
-<Directory "/home/httpd/html/horde/chora/config">
- order deny,allow
- deny from all
-</Directory>
-<Directory "/home/httpd/html/horde/chora/lib">
- order deny,allow
- deny from all
-</Directory>
-<Directory "/home/httpd/html/horde/chora/locale">
- order deny,allow
- deny from all
-</Directory>
-<Directory "/home/httpd/html/horde/chora/po">
- order deny,allow
- deny from all
-</Directory>
-<Directory "/home/httpd/html/horde/chora/templates">
- order deny,allow
- deny from all
-</Directory>
-# End of Chora configuration ================
-
diff --git a/devel/horde-chora/files/pkg-deinstall.in b/devel/horde-chora/files/pkg-deinstall.in
deleted file mode 100644
index ca19b4bfa602..000000000000
--- a/devel/horde-chora/files/pkg-deinstall.in
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# Backup Chora config files, if needed.
-
-if [ x$2 != xDEINSTALL ]; then
- exit
-fi
-
-if [ -z "${PACKAGE_BUILDING}" ]; then
- for cf in `ls %%CHORADIR%%/config/*php %%CHORADIR%%/config/*txt`; do
- diff -bBqw $cf $cf.dist >/dev/null 2>&1
- case $? in
- 0) # original config file, delete it
- rm -f $cf
- ;;
- 1) # config file has been updated, leave it alone
- ;;
- *) # not found?
- ;;
- esac
- done
-fi
diff --git a/devel/horde-chora/files/pkg-install.in b/devel/horde-chora/files/pkg-install.in
deleted file mode 100644
index 4c605270649a..000000000000
--- a/devel/horde-chora/files/pkg-install.in
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-PATH=/usr/sbin:/usr/bin:/bin ; export PATH
-
-case $2 in
- PRE-INSTALL)
- ;;
-
- POST-INSTALL)
- if [ -z "${PACKAGE_BUILDING}" ]; then
- # Copy over sample config files unless they already exist
-
- for cf in `ls %%CHORADIR%%/config/*.dist | sed -e 's/\.dist//g'`; do
- if [ ! -f $cf ]; then
- cp -p $cf.dist $cf
- fi
- done
- fi
- ;;
-esac
diff --git a/devel/horde-chora/files/pkg-message.in b/devel/horde-chora/files/pkg-message.in
deleted file mode 100644
index 34b4d8550554..000000000000
--- a/devel/horde-chora/files/pkg-message.in
+++ /dev/null
@@ -1,11 +0,0 @@
-************************************************************************
-Chora has been installed in %%CHORADIR%% with your blank
-configuration files.
-
-Horde must be configured; if not, see `pkg_info -D -x horde'.
-
-Then, you may have to tune the configuration files located in
-%%CONFDIR%%/, specially the file sourceroots.php.
-
-To protect your configuration files, you have to restart Apache.
-************************************************************************
diff --git a/devel/horde-chora/pkg-plist b/devel/horde-chora/pkg-plist
index b20759e18ae8..11f1c794ef9b 100644
--- a/devel/horde-chora/pkg-plist
+++ b/devel/horde-chora/pkg-plist
@@ -1,160 +1,152 @@
-%%HORDE_INC%%/httpd-chora.conf
-%%PORTDOCS%%%%DOCSDIR%%/BUGS
-%%PORTDOCS%%%%DOCSDIR%%/CHANGES
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/CREDITS
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/RELEASE_NOTES
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%CHORADIR%%/annotate.php
-%%CHORADIR%%/browse.php
-%%CHORADIR%%/co.php
-%%CHORADIR%%/config/.htaccess
-%%CHORADIR%%/config/conf.xml
-%%CHORADIR%%/config/cvsgraph.conf.dist
-%%CHORADIR%%/config/longIntro.txt.dist
-%%CHORADIR%%/config/mime_drivers.php.dist
-%%CHORADIR%%/config/prefs.php.dist
-%%CHORADIR%%/config/sourceroots.php.dist
-%%CHORADIR%%/cvs.php
-%%CHORADIR%%/cvsgraph.php
-%%CHORADIR%%/diff.php
-%%CHORADIR%%/history.php
-%%CHORADIR%%/index.php
-%%CHORADIR%%/lib/.htaccess
-%%CHORADIR%%/lib/Chora.php
-%%CHORADIR%%/lib/base.php
-%%CHORADIR%%/lib/version.php
-%%CHORADIR%%/locale/.htaccess
-%%CHORADIR%%/locale/cs_CZ/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/de_DE/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/de_DE/help.xml
-%%CHORADIR%%/locale/en_US/help.xml
-%%CHORADIR%%/locale/es_ES/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/es_ES/help.xml
-%%CHORADIR%%/locale/fi_FI/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/fi_FI/help.xml
-%%CHORADIR%%/locale/fr_FR/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/nb_NO/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/nl_NL/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/pl_PL/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/pt_BR/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/ro_RO/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/ru_RU/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/sk_SK/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/sv_SE/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/zh_CN/LC_MESSAGES/chora.mo
-%%CHORADIR%%/locale/zh_TW/LC_MESSAGES/chora.mo
-%%CHORADIR%%/patchsets.php
-%%CHORADIR%%/po/.htaccess
-%%CHORADIR%%/po/README
-%%CHORADIR%%/po/chora.pot
-%%CHORADIR%%/po/cs_CZ.po
-%%CHORADIR%%/po/de_DE.po
-%%CHORADIR%%/po/es_ES.po
-%%CHORADIR%%/po/fi_FI.po
-%%CHORADIR%%/po/fr_FR.po
-%%CHORADIR%%/po/nb_NO.po
-%%CHORADIR%%/po/nl_NL.po
-%%CHORADIR%%/po/pl_PL.po
-%%CHORADIR%%/po/pt_BR.po
-%%CHORADIR%%/po/ro_RO.po
-%%CHORADIR%%/po/ru_RU.po
-%%CHORADIR%%/po/sk_SK.po
-%%CHORADIR%%/po/sv_SE.po
-%%CHORADIR%%/po/zh_CN.po
-%%CHORADIR%%/po/zh_TW.po
-%%CHORADIR%%/stats.php
-%%CHORADIR%%/templates/.htaccess
-%%CHORADIR%%/templates/annotate/footer.inc
-%%CHORADIR%%/templates/annotate/header.inc
-%%CHORADIR%%/templates/annotate/line.inc
-%%CHORADIR%%/templates/checkout/checkout.inc
-%%CHORADIR%%/templates/common-header.inc
-%%CHORADIR%%/templates/cvsgraph/cvsgraph.inc
-%%CHORADIR%%/templates/diff/hr/add.inc
-%%CHORADIR%%/templates/diff/hr/change.inc
-%%CHORADIR%%/templates/diff/hr/empty.inc
-%%CHORADIR%%/templates/diff/hr/footer.inc
-%%CHORADIR%%/templates/diff/hr/header.inc
-%%CHORADIR%%/templates/diff/hr/nochange.inc
-%%CHORADIR%%/templates/diff/hr/remove.inc
-%%CHORADIR%%/templates/diff/hr/row.inc
-%%CHORADIR%%/templates/directory/back.inc
-%%CHORADIR%%/templates/directory/dir.inc
-%%CHORADIR%%/templates/directory/file.inc
-%%CHORADIR%%/templates/directory/footer.inc
-%%CHORADIR%%/templates/directory/header.inc
-%%CHORADIR%%/templates/error_page.inc
-%%CHORADIR%%/templates/headerbar.inc
-%%CHORADIR%%/templates/history/blank.inc
-%%CHORADIR%%/templates/history/branch_cell.inc
-%%CHORADIR%%/templates/history/footer.inc
-%%CHORADIR%%/templates/history/header.inc
-%%CHORADIR%%/templates/history/rev.inc
-%%CHORADIR%%/templates/history/row_end.inc
-%%CHORADIR%%/templates/history/row_start.inc
-%%CHORADIR%%/templates/log/request.inc
-%%CHORADIR%%/templates/log/rev.inc
-%%CHORADIR%%/templates/menu.inc
-%%CHORADIR%%/templates/patchsets/ps.inc
-%%CHORADIR%%/templates/stats/stats.inc
-%%CHORADIR%%/themes/burntorange/screen.css
-%%CHORADIR%%/themes/graphics/back.png
-%%CHORADIR%%/themes/graphics/chora.png
-%%CHORADIR%%/themes/graphics/deleted.png
-%%CHORADIR%%/themes/graphics/favicon.ico
-%%CHORADIR%%/themes/graphics/folder.png
-%%CHORADIR%%/themes/screen.css
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm %%CHORADIR%%/themes/graphics
-@dirrm %%CHORADIR%%/themes/burntorange
-@dirrm %%CHORADIR%%/themes
-@dirrm %%CHORADIR%%/templates/stats
-@dirrm %%CHORADIR%%/templates/patchsets
-@dirrm %%CHORADIR%%/templates/log
-@dirrm %%CHORADIR%%/templates/history
-@dirrm %%CHORADIR%%/templates/directory
-@dirrm %%CHORADIR%%/templates/diff/hr
-@dirrm %%CHORADIR%%/templates/diff
-@dirrm %%CHORADIR%%/templates/cvsgraph
-@dirrm %%CHORADIR%%/templates/checkout
-@dirrm %%CHORADIR%%/templates/annotate
-@dirrm %%CHORADIR%%/templates
-@dirrm %%CHORADIR%%/po
-@dirrm %%CHORADIR%%/locale/zh_TW/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/zh_TW
-@dirrm %%CHORADIR%%/locale/zh_CN/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/zh_CN
-@dirrm %%CHORADIR%%/locale/sv_SE/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/sv_SE
-@dirrm %%CHORADIR%%/locale/sk_SK/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/sk_SK
-@dirrm %%CHORADIR%%/locale/ru_RU/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/ru_RU
-@dirrm %%CHORADIR%%/locale/ro_RO/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/ro_RO
-@dirrm %%CHORADIR%%/locale/pt_BR/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/pt_BR
-@dirrm %%CHORADIR%%/locale/pl_PL/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/pl_PL
-@dirrm %%CHORADIR%%/locale/nl_NL/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/nl_NL
-@dirrm %%CHORADIR%%/locale/nb_NO/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/nb_NO
-@dirrm %%CHORADIR%%/locale/fr_FR/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/fr_FR
-@dirrm %%CHORADIR%%/locale/fi_FI/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/fi_FI
-@dirrm %%CHORADIR%%/locale/es_ES/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/es_ES
-@dirrm %%CHORADIR%%/locale/en_US
-@dirrm %%CHORADIR%%/locale/de_DE/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/de_DE
-@dirrm %%CHORADIR%%/locale/cs_CZ/LC_MESSAGES
-@dirrm %%CHORADIR%%/locale/cs_CZ
-@dirrm %%CHORADIR%%/locale
-@dirrm %%CHORADIR%%/lib
-@dirrmtry %%CHORADIR%%/config
-@dirrmtry %%CHORADIR%%
+%%HORDIR%%/.htaccess
+%%HORDIR%%/annotate.php
+%%HORDIR%%/browse.php
+%%HORDIR%%/co.php
+%%HORDIR%%/config/.htaccess
+%%HORDIR%%/config/conf.xml
+%%HORDIR%%/config/cvsgraph.conf.dist
+%%HORDIR%%/config/longIntro.txt.dist
+%%HORDIR%%/config/mime_drivers.php.dist
+%%HORDIR%%/config/prefs.php.dist
+%%HORDIR%%/config/sourceroots.php.dist
+%%HORDIR%%/cvs.php
+%%HORDIR%%/cvsgraph.php
+%%HORDIR%%/diff.php
+%%HORDIR%%/history.php
+%%HORDIR%%/index.php
+%%HORDIR%%/lib/.htaccess
+%%HORDIR%%/lib/Chora.php
+%%HORDIR%%/lib/base.php
+%%HORDIR%%/lib/version.php
+%%HORDIR%%/locale/.htaccess
+%%HORDIR%%/locale/cs_CZ/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/de_DE/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/de_DE/help.xml
+%%HORDIR%%/locale/en_US/help.xml
+%%HORDIR%%/locale/es_ES/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/es_ES/help.xml
+%%HORDIR%%/locale/fi_FI/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/fi_FI/help.xml
+%%HORDIR%%/locale/fr_FR/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/nb_NO/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/nl_NL/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/pl_PL/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/pt_BR/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/ro_RO/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/ru_RU/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/sk_SK/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/sv_SE/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/zh_CN/LC_MESSAGES/chora.mo
+%%HORDIR%%/locale/zh_TW/LC_MESSAGES/chora.mo
+%%HORDIR%%/patchsets.php
+%%HORDIR%%/po/.htaccess
+%%HORDIR%%/po/README
+%%HORDIR%%/po/chora.pot
+%%HORDIR%%/po/cs_CZ.po
+%%HORDIR%%/po/de_DE.po
+%%HORDIR%%/po/es_ES.po
+%%HORDIR%%/po/fi_FI.po
+%%HORDIR%%/po/fr_FR.po
+%%HORDIR%%/po/nb_NO.po
+%%HORDIR%%/po/nl_NL.po
+%%HORDIR%%/po/pl_PL.po
+%%HORDIR%%/po/pt_BR.po
+%%HORDIR%%/po/ro_RO.po
+%%HORDIR%%/po/ru_RU.po
+%%HORDIR%%/po/sk_SK.po
+%%HORDIR%%/po/sv_SE.po
+%%HORDIR%%/po/zh_CN.po
+%%HORDIR%%/po/zh_TW.po
+%%HORDIR%%/stats.php
+%%HORDIR%%/templates/.htaccess
+%%HORDIR%%/templates/annotate/footer.inc
+%%HORDIR%%/templates/annotate/header.inc
+%%HORDIR%%/templates/annotate/line.inc
+%%HORDIR%%/templates/checkout/checkout.inc
+%%HORDIR%%/templates/common-header.inc
+%%HORDIR%%/templates/cvsgraph/cvsgraph.inc
+%%HORDIR%%/templates/diff/hr/add.inc
+%%HORDIR%%/templates/diff/hr/change.inc
+%%HORDIR%%/templates/diff/hr/empty.inc
+%%HORDIR%%/templates/diff/hr/footer.inc
+%%HORDIR%%/templates/diff/hr/header.inc
+%%HORDIR%%/templates/diff/hr/nochange.inc
+%%HORDIR%%/templates/diff/hr/remove.inc
+%%HORDIR%%/templates/diff/hr/row.inc
+%%HORDIR%%/templates/directory/back.inc
+%%HORDIR%%/templates/directory/dir.inc
+%%HORDIR%%/templates/directory/file.inc
+%%HORDIR%%/templates/directory/footer.inc
+%%HORDIR%%/templates/directory/header.inc
+%%HORDIR%%/templates/error_page.inc
+%%HORDIR%%/templates/headerbar.inc
+%%HORDIR%%/templates/history/blank.inc
+%%HORDIR%%/templates/history/branch_cell.inc
+%%HORDIR%%/templates/history/footer.inc
+%%HORDIR%%/templates/history/header.inc
+%%HORDIR%%/templates/history/rev.inc
+%%HORDIR%%/templates/history/row_end.inc
+%%HORDIR%%/templates/history/row_start.inc
+%%HORDIR%%/templates/log/request.inc
+%%HORDIR%%/templates/log/rev.inc
+%%HORDIR%%/templates/menu.inc
+%%HORDIR%%/templates/patchsets/ps.inc
+%%HORDIR%%/templates/stats/stats.inc
+%%HORDIR%%/themes/burntorange/screen.css
+%%HORDIR%%/themes/graphics/back.png
+%%HORDIR%%/themes/graphics/chora.png
+%%HORDIR%%/themes/graphics/deleted.png
+%%HORDIR%%/themes/graphics/favicon.ico
+%%HORDIR%%/themes/graphics/folder.png
+%%HORDIR%%/themes/screen.css
+@dirrmtry %%HORDIR%%/config
+@dirrm %%HORDIR%%/lib
+@dirrm %%HORDIR%%/locale/cs_CZ/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/cs_CZ
+@dirrm %%HORDIR%%/locale/de_DE/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/de_DE
+@dirrm %%HORDIR%%/locale/en_US
+@dirrm %%HORDIR%%/locale/es_ES/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/es_ES
+@dirrm %%HORDIR%%/locale/fi_FI/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/fi_FI
+@dirrm %%HORDIR%%/locale/fr_FR/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/fr_FR
+@dirrm %%HORDIR%%/locale/nb_NO/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/nb_NO
+@dirrm %%HORDIR%%/locale/nl_NL/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/nl_NL
+@dirrm %%HORDIR%%/locale/pl_PL/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/pl_PL
+@dirrm %%HORDIR%%/locale/pt_BR/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/pt_BR
+@dirrm %%HORDIR%%/locale/ro_RO/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/ro_RO
+@dirrm %%HORDIR%%/locale/ru_RU/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/ru_RU
+@dirrm %%HORDIR%%/locale/sk_SK/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/sk_SK
+@dirrm %%HORDIR%%/locale/sv_SE/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/sv_SE
+@dirrm %%HORDIR%%/locale/zh_CN/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/zh_CN
+@dirrm %%HORDIR%%/locale/zh_TW/LC_MESSAGES
+@dirrm %%HORDIR%%/locale/zh_TW
+@dirrm %%HORDIR%%/locale
+@dirrm %%HORDIR%%/po
+@dirrm %%HORDIR%%/templates/annotate
+@dirrm %%HORDIR%%/templates/checkout
+@dirrm %%HORDIR%%/templates/cvsgraph
+@dirrm %%HORDIR%%/templates/diff/hr
+@dirrm %%HORDIR%%/templates/diff
+@dirrm %%HORDIR%%/templates/directory
+@dirrm %%HORDIR%%/templates/history
+@dirrm %%HORDIR%%/templates/log
+@dirrm %%HORDIR%%/templates/patchsets
+@dirrm %%HORDIR%%/templates/stats
+@dirrm %%HORDIR%%/templates
+@dirrm %%HORDIR%%/themes/burntorange
+@dirrm %%HORDIR%%/themes/graphics
+@dirrm %%HORDIR%%/themes
+@dirrmtry %%HORDIR%%
+@dirrmtry %%HORBAS%%