aboutsummaryrefslogtreecommitdiff
path: root/www/horde-base
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-05-12 01:59:55 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-05-12 01:59:55 +0000
commit368126960dd7133dfc0483d0b3405acec69fa3eb (patch)
treeb4799101f6bb4f5f103799dcd72637d947a15bb0 /www/horde-base
parentd38820235bcb455cb74b8021d708fff118d9f92c (diff)
downloadports-368126960dd7133dfc0483d0b3405acec69fa3eb.tar.gz
ports-368126960dd7133dfc0483d0b3405acec69fa3eb.zip
Horde requires that one of its configuration files (conf.php) contain
an RCS tag from another file (conf.xml) - but it doesn't appear to be there by default. So we copy it over if there isn't already one in the file, prior to install. Also some plist changes that fix warnings in dependent ports. PR: ports/96080 Submitted by: Shaun Amott <shaun@inerd.com> Reviewed by: tmclaugh (mentor), itetcu (me) Approved by: lawrance (metor)
Notes
Notes: svn path=/head/; revision=162145
Diffstat (limited to 'www/horde-base')
-rw-r--r--www/horde-base/Makefile7
-rw-r--r--www/horde-base/pkg-plist11
2 files changed, 18 insertions, 0 deletions
diff --git a/www/horde-base/Makefile b/www/horde-base/Makefile
index 5bb0ef687a42..489d0c74b547 100644
--- a/www/horde-base/Makefile
+++ b/www/horde-base/Makefile
@@ -334,6 +334,13 @@ pre-install:
${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
.endif
+ # Copy RCSID tag from conf.xml into conf.php to stop Horde complaining
+ @if ! ${GREP} -q -e "$$Horde.*conf\.xml" ${WRKSRC}/config/conf.php.dist; then \
+ ${GREP} -h "$$Horde.*conf\.xml" ${WRKSRC} ${WRKSRC}/config/conf.xml \
+ | ${SED} -e 's#^ *<!--#//#' -e 's# *--> *$$##g' \
+ >> ${WRKSRC}/config/conf.php.dist; \
+ fi
+
do-install:
@${MKDIR} ${HORDEDIR}
.for REP in ${SUB_DIRS}
diff --git a/www/horde-base/pkg-plist b/www/horde-base/pkg-plist
index b6c9440b422b..48fa21e72c1d 100644
--- a/www/horde-base/pkg-plist
+++ b/www/horde-base/pkg-plist
@@ -1454,6 +1454,17 @@
%%HORDEDIR%%/util/barcode.php
%%HORDEDIR%%/util/icon_browser.php
%%HORDEDIR%%/util/regex_test.php
+@exec mkdir -p %D/%%HORDEDIR%%/lib/File/tests
+@exec mkdir -p %D/%%HORDEDIR%%/lib/Horde/Text/tests
+@exec mkdir -p %D/%%HORDEDIR%%/lib/Horde/docs/examples
+@exec mkdir -p %D/%%HORDEDIR%%/lib/Horde/tests
+@exec mkdir -p %D/%%HORDEDIR%%/lib/Text/docs/examples
+@exec mkdir -p %D/%%HORDEDIR%%/lib/Text/tests
+@exec mkdir -p %D/%%HORDEDIR%%/lib/VFS/tests
+@exec mkdir -p %D/%%HORDEDIR%%/lib/XML/docs/examples
+@exec mkdir -p %D/%%HORDEDIR%%/lib/XML/tests
+@exec mkdir -p %D/%%HORDEDIR%%/lib/data
+@exec mkdir -p %D/%%HORDEDIR%%/lib/docs
@dirrm %%HORDEDIR%%/util
@dirrm %%HORDEDIR%%/themes/simplex/graphics
@dirrm %%HORDEDIR%%/themes/simplex