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/horde4-base/Makefile | |
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/horde4-base/Makefile')
-rw-r--r-- | www/horde4-base/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/www/horde4-base/Makefile b/www/horde4-base/Makefile index 5bb0ef687a42..489d0c74b547 100644 --- a/www/horde4-base/Makefile +++ b/www/horde4-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} |