Don't overwrite the webui config file.

PR:		200205
Submitted by:	 Danilo G. Baio (dbaio)
Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2015-05-14 20:17:20 +00:00
parent 7ba5e8225f
commit 37bd5f022b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386358
2 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= policyd2
PORTVERSION= 2.0.14
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://download.policyd.org/v${PORTVERSION}/
DISTNAME= cluebringer-v${PORTVERSION}
@ -70,6 +70,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/cluebringer.conf \
${STAGEDIR}${PREFIX}/etc/cluebringer.conf.sample
(cd ${WRKSRC}/webui && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
${MV} ${STAGEDIR}${WWWDIR}/includes/config.php \
${STAGEDIR}${WWWDIR}/includes/config.php.sample
(cd ${WRKSRC}/cbp && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/cbp)
(cd ${WRKSRC} && ${COPYTREE_SHARE} contrib ${STAGEDIR}${DATADIR})
(cd ${WRKSRC} && ${COPYTREE_SHARE} database ${STAGEDIR}${DATADIR})

View File

@ -91,7 +91,7 @@ bin/cbpolicyd
%%WWWDIR%%/images/valid-css2.png
%%WWWDIR%%/images/valid-xhtml10.png
%%WWWDIR%%/images/wcag1AAA.png
%%WWWDIR%%/includes/config.php
@sample %%WWWDIR%%/includes/config.php.sample
%%WWWDIR%%/includes/db.php
%%WWWDIR%%/includes/footer.php
%%WWWDIR%%/includes/header.php