summaryrefslogtreecommitdiffstats
path: root/mail/horde-turba
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-05-23 11:53:59 +0000
committersobomax <sobomax@FreeBSD.org>2002-05-23 11:53:59 +0000
commit2d02d70961247442dfd96c05fff77f7b950317d5 (patch)
treecad8009a3ba1304326b5168123eeac6a2b3c9e17 /mail/horde-turba
parent598d96118e55aa84c394c610aa5f56d7a39f6c7a (diff)
downloadFreeBSD-ports-2d02d70961247442dfd96c05fff77f7b950317d5.zip
FreeBSD-ports-2d02d70961247442dfd96c05fff77f7b950317d5.tar.gz
Additional patches from maintainer.
PR: 38391 Submitted by: maintainer
Diffstat (limited to 'mail/horde-turba')
-rw-r--r--mail/horde-turba/Makefile8
-rw-r--r--mail/horde-turba/pkg-plist1
2 files changed, 7 insertions, 2 deletions
diff --git a/mail/horde-turba/Makefile b/mail/horde-turba/Makefile
index 4a05bd6..eb592f7 100644
--- a/mail/horde-turba/Makefile
+++ b/mail/horde-turba/Makefile
@@ -109,10 +109,14 @@ do-install:
@${CHOWN} -R www:www ${TURBADIR}
@${CHMOD} -R o-rwx ${CONFDIR}
@${CP} -p ${FILESDIR}/httpd.conf.turba ${HORDE_INC}
- @${PERL} -pi -e "s:/home/httpd/html/horde/turba:${TURBADIR}:g" \
+ @${PERL} -pi -e "s:/home/httpd/html/horde/turba:${TURBADIR}:g" \
${HORDE_INC}/httpd.conf.turba
- @${PERL} -pi -e "s://UNCOMMENTWHENINSTTURBA::" \
+ @${CP} -p ${HORDEDIR}/config/registry.php \
+ ${HORDEDIR}/config/registry.php.beforeTurba
+ @${PERL} -pi -e "s://UNCOMMENTWHENINSTTURBA::" \
${HORDEDIR}/config/registry.php
+ @${CP} -p ${HORDEDIR}/config/registry.php \
+ ${HORDEDIR}/config/registry.php.afterTurba
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for FILE in ${DOCS}
diff --git a/mail/horde-turba/pkg-plist b/mail/horde-turba/pkg-plist
index a6bddbe..ed01e81 100644
--- a/mail/horde-turba/pkg-plist
+++ b/mail/horde-turba/pkg-plist
@@ -227,3 +227,4 @@ etc/horde/httpd.conf.turba
@dirrm %%TURBADIR%%/templates/wml
@dirrm %%TURBADIR%%/templates
@dirrm %%TURBADIR%%
+@unexec if cmp -s %D/www/horde/config/registry.php %D/www/horde/config/registry.php.afterTurba; then rm -f %D/www/horde/config/registry.php.afterTurba; mv %D/www/horde/config/registry.php.beforeTurba %D/www/horde/config/registry.php; fi
OpenPOWER on IntegriCloud