aboutsummaryrefslogtreecommitdiff
path: root/www/horde-base/Makefile
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/Makefile
parentd38820235bcb455cb74b8021d708fff118d9f92c (diff)
downloadports-368126960dd7133dfc0483d0b3405acec69fa3eb.tar.gz
ports-368126960dd7133dfc0483d0b3405acec69fa3eb.zip
Notes
Diffstat (limited to 'www/horde-base/Makefile')
-rw-r--r--www/horde-base/Makefile7
1 files changed, 7 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}