From 0b17a858a7a6b02ef3206df3917296e64a08b1ee Mon Sep 17 00:00:00 2001 From: Patrick Li Date: Tue, 18 Jun 2002 07:41:20 +0000 Subject: Update to 1.1 final, bump PORTREVISION. PR: 39172 Submitted by: maintainer --- devel/horde-chora/Makefile | 16 +++++++++++----- devel/horde-chora/distinfo | 2 +- devel/horde-chora/pkg-plist | 2 ++ 3 files changed, 14 insertions(+), 6 deletions(-) (limited to 'devel/horde-chora') diff --git a/devel/horde-chora/Makefile b/devel/horde-chora/Makefile index 9681232a0e11..c8230b1b3066 100644 --- a/devel/horde-chora/Makefile +++ b/devel/horde-chora/Makefile @@ -7,15 +7,13 @@ PORTNAME= chora PORTVERSION= 1.1 +PORTREVISION= 1 CATEGORIES= devel www -MASTER_SITES= ftp://ftp.horde.org/pub/chora/tarballs/ \ - ftp://ftp.uk.horde.org/mirrors/ftp.horde.org/pub/chora/tarballs/ -DISTNAME= ${PORTNAME}-${PORTVERSION}-RC1 +MASTER_SITES= ftp://ftp.horde.org/pub/chora/tarballs/%SUBDIR%/ +MASTER_SITE_SUBDIR= . old MAINTAINER= thierry@pompo.net -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} - #----------------------------------------------------------------------- # You may define these options: # @@ -79,12 +77,20 @@ do-install: @${CP} -p ${FILESDIR}/httpd.conf.chora ${HORDE_INC} @${PERL} -pi -e "s:/home/httpd/html/horde/chora:${CHORADIR}:g" \ ${HORDE_INC}/httpd.conf.chora + @${CP} -p ${HORDEDIR}/config/registry.php \ + ${HORDEDIR}/config/registry.php.beforeChora + @${CP} -p ${HORDEDIR}/config/mime_drivers.php \ + ${HORDEDIR}/config/mime_drivers.php.beforeChora @${PERL} -pi -e "s://UNCOMMENTWHENINSTCHORA::" \ ${HORDEDIR}/config/registry.php .if !defined(WITHOUT_ENSCRIPT) @${PERL} -pi -e "s://UNCOMMENTWHENINSTCHORA::" \ ${HORDEDIR}/config/mime_drivers.php .endif + @${CP} -p ${HORDEDIR}/config/registry.php \ + ${HORDEDIR}/config/registry.php.afterChora + @${CP} -p ${HORDEDIR}/config/mime_drivers.php \ + ${HORDEDIR}/config/mime_drivers.php.afterChora .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for FILE in ${DOCS} diff --git a/devel/horde-chora/distinfo b/devel/horde-chora/distinfo index 5f03ee081fe6..4524fff306c1 100644 --- a/devel/horde-chora/distinfo +++ b/devel/horde-chora/distinfo @@ -1 +1 @@ -MD5 (chora-1.1-RC1.tar.gz) = b90276bbf6d731943f596cefdd16c863 +MD5 (chora-1.1.tar.gz) = fffcdc04a6440ec42bdc62de79941a4a diff --git a/devel/horde-chora/pkg-plist b/devel/horde-chora/pkg-plist index e9df2d1c0e8d..bd94f74e373a 100644 --- a/devel/horde-chora/pkg-plist +++ b/devel/horde-chora/pkg-plist @@ -147,3 +147,5 @@ etc/horde/httpd.conf.chora @dirrm %%CHORADIR%%/templates/log @dirrm %%CHORADIR%%/templates @dirrm %%CHORADIR%% +@unexec if cmp -s %D/www/horde/config/mime_drivers.php %D/www/horde/config/mime_drivers.php.afterChora; then rm -f %D/www/horde/config/mime_drivers.php.afterChora; mv %D/www/horde/config/mime_drivers.php.beforeChora %D/www/horde/config/mime_drivers.php; fi +@unexec if cmp -s %D/www/horde/config/registry.php %D/www/horde/config/registry.php.afterChora; then rm -f %D/www/horde/config/registry.php.afterChora; mv %D/www/horde/config/registry.php.beforeChora %D/www/horde/config/registry.php; fi -- cgit v1.2.3