aboutsummaryrefslogtreecommitdiff
path: root/devel/horde-chora
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-06-18 07:41:20 +0000
committerPatrick Li <pat@FreeBSD.org>2002-06-18 07:41:20 +0000
commit0b17a858a7a6b02ef3206df3917296e64a08b1ee (patch)
treeebe5d06a14d6e95e3ccae56e9134be1f104328da /devel/horde-chora
parent1d4cffaf639e7765ff2c8cda69fec72614a178d3 (diff)
downloadports-0b17a858a7a6b02ef3206df3917296e64a08b1ee.tar.gz
ports-0b17a858a7a6b02ef3206df3917296e64a08b1ee.zip
Notes
Diffstat (limited to 'devel/horde-chora')
-rw-r--r--devel/horde-chora/Makefile16
-rw-r--r--devel/horde-chora/distinfo2
-rw-r--r--devel/horde-chora/pkg-plist2
3 files changed, 14 insertions, 6 deletions
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