diff options
author | itetcu <itetcu@FreeBSD.org> | 2006-05-12 09:59:55 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2006-05-12 09:59:55 +0800 |
commit | 3e675a9f9394986ef131fd9e1eae5d334079a1a1 (patch) | |
tree | 5b6c6aece7ec7e89c96a18fa5ad372d8dfcea754 /www/horde-base | |
parent | 3161c7ad171c19756abafb0ba2b1d74ba42f7ab7 (diff) | |
download | freebsd-ports-gnome-3e675a9f9394986ef131fd9e1eae5d334079a1a1.tar.gz freebsd-ports-gnome-3e675a9f9394986ef131fd9e1eae5d334079a1a1.tar.zst freebsd-ports-gnome-3e675a9f9394986ef131fd9e1eae5d334079a1a1.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)
Diffstat (limited to 'www/horde-base')
-rw-r--r-- | www/horde-base/Makefile | 7 | ||||
-rw-r--r-- | www/horde-base/pkg-plist | 11 |
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 |