diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2002-02-09 08:50:32 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2002-02-09 08:50:32 +0000 |
commit | 588b40399c3cc5089bcd968df47f6048de67d30c (patch) | |
tree | 7839183938d1c07f07762854c1bed9d4e9000e94 /devel/horde-chora | |
parent | ad309c29e327900c8ec0824f979052b0a930aa26 (diff) | |
download | ports-588b40399c3cc5089bcd968df47f6048de67d30c.tar.gz ports-588b40399c3cc5089bcd968df47f6048de67d30c.zip |
Notes
Diffstat (limited to 'devel/horde-chora')
-rw-r--r-- | devel/horde-chora/Makefile | 75 | ||||
-rw-r--r-- | devel/horde-chora/distinfo | 1 | ||||
-rw-r--r-- | devel/horde-chora/files/httpd.conf.chora | 27 | ||||
-rw-r--r-- | devel/horde-chora/files/patch-aa | 25 | ||||
-rw-r--r-- | devel/horde-chora/pkg-comment | 1 | ||||
-rw-r--r-- | devel/horde-chora/pkg-descr | 16 | ||||
-rw-r--r-- | devel/horde-chora/pkg-message | 13 | ||||
-rw-r--r-- | devel/horde-chora/pkg-plist | 147 |
8 files changed, 305 insertions, 0 deletions
diff --git a/devel/horde-chora/Makefile b/devel/horde-chora/Makefile new file mode 100644 index 000000000000..8456e3a5c6d1 --- /dev/null +++ b/devel/horde-chora/Makefile @@ -0,0 +1,75 @@ +# Ports collection makefile for: Chora +# Date created: Mon Nov 26, 2001 +# Whom: Thierry Thomas (<thierry@pompo.net>) +# +# $FreeBSD$ +# + +PORTNAME= chora +PORTVERSION= 1.0 +CATEGORIES= devel www +MASTER_SITES= ftp://ftp.horde.org/pub/chora/tarballs/ \ + ftp://ftp.uk.horde.org/mirrors/ftp.horde.org/pub/chora/tarballs/ + +MAINTAINER= thierry@pompo.net + +RUN_DEPENDS= ${LOCALBASE}/www/horde/index.php:${PORTSDIR}/www/horde-devel + +NO_BUILD= yes + +# 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/GOALS docs/INSTALL +CONFFILE= conf.php cvsroots.php html.php longIntro.txt \ + mime_drivers.php + +LHORDEDIR?= www/horde +LCHORADIR?= ${LHORDEDIR}/chora + +PLIST_SUB= HORDEDIR=${LHORDEDIR} CHORADIR=${LCHORADIR} + +HORDEDIR= ${PREFIX}/${LHORDEDIR} +CHORADIR= ${PREFIX}/${LCHORADIR} +CONFDIR= ${CHORADIR}/config + +HORDE_INC= ${LOCALBASE}/etc/horde + +do-install: + @${MKDIR} ${CHORADIR} + @${CP} -Rp ${WRKSRC}/config ${WRKSRC}/graphics ${WRKSRC}/lib ${CHORADIR} + @${CP} -Rp ${WRKSRC}/locale ${WRKSRC}/po ${WRKSRC}/templates ${CHORADIR} + @${CP} -p ${WRKSRC}/*.php ${CHORADIR} +.for FILE in ${CONFFILE} + @if [ ! -f ${CONFDIR}/${FILE} ]; then \ + ${CP} ${CONFDIR}/${FILE}.dist ${CONFDIR}/${FILE} ; \ + fi +.endfor + @${PERL} -pi -e "s:%%CVSROOT%%:${CVSROOT}:;s:%%CONFDIR%%:${CONFDIR}:" \ + ${CONFDIR}/cvsroots.php + @${CHOWN} -R www:www ${CHORADIR} + @${CHMOD} -R o-rwx ${CONFDIR} + @${CP} -p ${FILESDIR}/httpd.conf.chora ${HORDE_INC} + @${PERL} -pi -e "s:/home/httpd/html/horde/chora:${CHORADIR}:g" \ + ${HORDE_INC}/httpd.conf.chora + @${PERL} -pi -e "s://UNCOMMENTWHENINSTCHORA::" \ + ${HORDEDIR}/config/registry.php +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for FILE in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} +.endfor + @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." +.endif + +post-install: + @${ECHO_MSG} + @${CAT} ${PKGMESSAGE} | \ + ${SED} -e "s:%%CHORADIR%%:${CHORADIR}:g;s:%%PORTSDIR%%:${PORTSDIR}:g;s:%%CONFDIR%%:${CONFDIR}:g" + @${ECHO_MSG} + +.include <bsd.port.mk> diff --git a/devel/horde-chora/distinfo b/devel/horde-chora/distinfo new file mode 100644 index 000000000000..6af4d8a671e3 --- /dev/null +++ b/devel/horde-chora/distinfo @@ -0,0 +1 @@ +MD5 (chora-1.0.tar.gz) = c2f3f5fe6f653fbcdd5fa97e33734c17 diff --git a/devel/horde-chora/files/httpd.conf.chora b/devel/horde-chora/files/httpd.conf.chora new file mode 100644 index 000000000000..95afb9c8db4c --- /dev/null +++ b/devel/horde-chora/files/httpd.conf.chora @@ -0,0 +1,27 @@ +# 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/patch-aa b/devel/horde-chora/files/patch-aa new file mode 100644 index 000000000000..c010eb93de6e --- /dev/null +++ b/devel/horde-chora/files/patch-aa @@ -0,0 +1,25 @@ +--- config/cvsroots.php.dist.orig Fri Jun 8 22:59:42 2001 ++++ config/cvsroots.php.dist Tue Nov 27 22:42:41 2001 +@@ -27,6 +27,15 @@ + + $cvsroots = array(); + ++$cvsroots['myprojects'] = array( ++ 'name' => 'Here', ++ 'location' => '%%CVSROOT%%', ++ 'title' => 'To be configured in %%CONFDIR%%/cvsroots.php', ++ 'intro' => 'longIntro.txt', ++ 'default' => true ++); ++ ++/* + $cvsroots['php4'] = array( + 'name' => 'PHP4', + 'location' => '/home/cvs/php4', +@@ -48,5 +57,6 @@ + 'location' => '/home/cvs/openbsd', + 'title' => 'OpenBSD CVS Repository' + ); ++*/ + + ?> diff --git a/devel/horde-chora/pkg-comment b/devel/horde-chora/pkg-comment new file mode 100644 index 000000000000..4dbd5f446e0f --- /dev/null +++ b/devel/horde-chora/pkg-comment @@ -0,0 +1 @@ +The Horde CVS web-viewer diff --git a/devel/horde-chora/pkg-descr b/devel/horde-chora/pkg-descr new file mode 100644 index 000000000000..25cf61a374ef --- /dev/null +++ b/devel/horde-chora/pkg-descr @@ -0,0 +1,16 @@ +Chora is the Horde CVS viewer; it provides an advanced web-based view of +any local CVS repository. It now includes annotation support, visual +branch viewing capability, and human-readable diffs. + +Other features are: + +- Support for multiple CVS repositories +- MIME-awareness, to pretty-print code or convert PDFs to text +- Visual branch histories, to view the flow of code through a project +- Internationalisation, with several languages supported +- Annotation (or 'blame') support + +... as well as all the usual CVS functions you are familiar with from +other similar applications. + +WWW: http://horde.org/chora/ diff --git a/devel/horde-chora/pkg-message b/devel/horde-chora/pkg-message new file mode 100644 index 000000000000..2cf91f610c5a --- /dev/null +++ b/devel/horde-chora/pkg-message @@ -0,0 +1,13 @@ +************************************************************************ +Chora has been installed in %%CHORADIR%% with your blank +configuration files. + +Horde must be configured; if not, see +%%PORTSDIR%%/www/horde-devel/pkg-message. + +Then, you will have to tune the configuration files located in +%%CONFDIR%%/, specially the files conf.php and +cvsroots.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 new file mode 100644 index 000000000000..0acf99369106 --- /dev/null +++ b/devel/horde-chora/pkg-plist @@ -0,0 +1,147 @@ +%%PORTDOCS%%share/doc/chora/BUGS +%%PORTDOCS%%share/doc/chora/CHANGES +%%PORTDOCS%%share/doc/chora/COPYING +%%PORTDOCS%%share/doc/chora/CREDITS +%%PORTDOCS%%share/doc/chora/GOALS +%%PORTDOCS%%share/doc/chora/INSTALL +%%PORTDOCS%%share/doc/chora/README +%%CHORADIR%%/annotate.php +%%CHORADIR%%/co.php +%%CHORADIR%%/config/.htaccess +%%CHORADIR%%/config/README +%%CHORADIR%%/config/conf.php +%%CHORADIR%%/config/conf.php.dist +%%CHORADIR%%/config/cvsroots.php +%%CHORADIR%%/config/cvsroots.php.dist +%%CHORADIR%%/config/cvsroots.php.dist.orig +%%CHORADIR%%/config/html.php +%%CHORADIR%%/config/html.php.dist +%%CHORADIR%%/config/longIntro.txt +%%CHORADIR%%/config/longIntro.txt.dist +%%CHORADIR%%/config/mime_drivers.php +%%CHORADIR%%/config/mime_drivers.php.dist +%%CHORADIR%%/cvs.php +%%CHORADIR%%/diff.php +%%CHORADIR%%/graphics/back.gif +%%CHORADIR%%/graphics/chora.gif +%%CHORADIR%%/graphics/deleted.gif +%%CHORADIR%%/graphics/down.gif +%%CHORADIR%%/graphics/folder.gif +%%CHORADIR%%/graphics/mime/text.gif +%%CHORADIR%%/graphics/up.gif +%%CHORADIR%%/history.php +%%CHORADIR%%/index.php +%%CHORADIR%%/lib/.htaccess +%%CHORADIR%%/lib/CVSLib.php +%%CHORADIR%%/lib/CVSLib/Annotate.php +%%CHORADIR%%/lib/CVSLib/Checkout.php +%%CHORADIR%%/lib/CVSLib/Diff.php +%%CHORADIR%%/lib/CVSLib/Directory.php +%%CHORADIR%%/lib/CVSLib/Error.php +%%CHORADIR%%/lib/CVSLib/File.php +%%CHORADIR%%/lib/CVSLib/Log.php +%%CHORADIR%%/lib/CVSLib/Rev.php +%%CHORADIR%%/lib/Chora.php +%%CHORADIR%%/lib/MIME/Viewer/text.php +%%CHORADIR%%/lib/README.CVSLib +%%CHORADIR%%/lib/base.php +%%CHORADIR%%/lib/constants.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/es_ES/LC_MESSAGES/chora.mo +%%CHORADIR%%/locale/fr_FR/LC_MESSAGES/chora.mo +%%CHORADIR%%/locale/nl_NL/LC_MESSAGES/chora.mo +%%CHORADIR%%/locale/no_BOK/LC_MESSAGES/chora.mo +%%CHORADIR%%/locale/pl_PL/LC_MESSAGES/chora.mo +%%CHORADIR%%/locale/pt_BR/LC_MESSAGES/chora.mo +%%CHORADIR%%/locale/sv_SE/LC_MESSAGES/chora.mo +%%CHORADIR%%/po/.htaccess +%%CHORADIR%%/po/Makefile +%%CHORADIR%%/po/README +%%CHORADIR%%/po/cs_CZ.po +%%CHORADIR%%/po/de_DE.po +%%CHORADIR%%/po/es_ES.po +%%CHORADIR%%/po/extract.pl +%%CHORADIR%%/po/fr_FR.po +%%CHORADIR%%/po/nl_NL.po +%%CHORADIR%%/po/no_BOK.po +%%CHORADIR%%/po/pl_PL.po +%%CHORADIR%%/po/pt_BR.po +%%CHORADIR%%/po/shtool +%%CHORADIR%%/po/sv_SE.po +%%CHORADIR%%/po/xgettext.sh +%%CHORADIR%%/templates/.htaccess +%%CHORADIR%%/templates/annotate/footer.inc +%%CHORADIR%%/templates/annotate/header.inc +%%CHORADIR%%/templates/annotate/line.inc +%%CHORADIR%%/templates/checkout/footer.inc +%%CHORADIR%%/templates/checkout/header.inc +%%CHORADIR%%/templates/common-footer.inc +%%CHORADIR%%/templates/common-header.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/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/index/css.inc +%%CHORADIR%%/templates/index/notconfigured.inc +%%CHORADIR%%/templates/log/header.inc +%%CHORADIR%%/templates/log/request.inc +%%CHORADIR%%/templates/log/rev.inc +etc/horde/httpd.conf.chora +%%PORTDOCS%%@dirrm share/doc/chora +@dirrm %%CHORADIR%%/config +@dirrm %%CHORADIR%%/graphics/mime +@dirrm %%CHORADIR%%/graphics +@dirrm %%CHORADIR%%/lib/CVSLib +@dirrm %%CHORADIR%%/lib/MIME/Viewer +@dirrm %%CHORADIR%%/lib/MIME +@dirrm %%CHORADIR%%/lib +@dirrm %%CHORADIR%%/locale/cs_CZ/LC_MESSAGES +@dirrm %%CHORADIR%%/locale/cs_CZ +@dirrm %%CHORADIR%%/locale/de_DE/LC_MESSAGES +@dirrm %%CHORADIR%%/locale/de_DE +@dirrm %%CHORADIR%%/locale/es_ES/LC_MESSAGES +@dirrm %%CHORADIR%%/locale/es_ES +@dirrm %%CHORADIR%%/locale/fr_FR/LC_MESSAGES +@dirrm %%CHORADIR%%/locale/fr_FR +@dirrm %%CHORADIR%%/locale/nl_NL/LC_MESSAGES +@dirrm %%CHORADIR%%/locale/nl_NL +@dirrm %%CHORADIR%%/locale/no_BOK/LC_MESSAGES +@dirrm %%CHORADIR%%/locale/no_BOK +@dirrm %%CHORADIR%%/locale/pl_PL/LC_MESSAGES +@dirrm %%CHORADIR%%/locale/pl_PL +@dirrm %%CHORADIR%%/locale/pt_BR/LC_MESSAGES +@dirrm %%CHORADIR%%/locale/pt_BR +@dirrm %%CHORADIR%%/locale/sv_SE/LC_MESSAGES +@dirrm %%CHORADIR%%/locale/sv_SE +@dirrm %%CHORADIR%%/locale +@dirrm %%CHORADIR%%/po +@dirrm %%CHORADIR%%/templates/annotate +@dirrm %%CHORADIR%%/templates/checkout +@dirrm %%CHORADIR%%/templates/diff/hr +@dirrm %%CHORADIR%%/templates/diff +@dirrm %%CHORADIR%%/templates/directory +@dirrm %%CHORADIR%%/templates/history +@dirrm %%CHORADIR%%/templates/index +@dirrm %%CHORADIR%%/templates/log +@dirrm %%CHORADIR%%/templates +@dirrm %%CHORADIR%% |