Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Oct 2024 09:41:51 GMT
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d08bbb8a54ce - main - www/caldavzap: install config file as a @sample
Message-ID:  <202410150941.49F9fpIt043673@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by gahr:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d08bbb8a54cebdec05b740e31f6d909b16c10215

commit d08bbb8a54cebdec05b740e31f6d909b16c10215
Author:     Pietro Cerutti <gahr@FreeBSD.org>
AuthorDate: 2024-10-15 08:21:39 +0000
Commit:     Pietro Cerutti <gahr@FreeBSD.org>
CommitDate: 2024-10-15 09:41:49 +0000

    www/caldavzap: install config file as a @sample
    
    PR:             282019
    Reported by:    pradeep.michchi@gmail.com
---
 www/caldavzap/Makefile  | 3 ++-
 www/caldavzap/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/www/caldavzap/Makefile b/www/caldavzap/Makefile
index 9d70431f6a6d..315bebbfc9e8 100644
--- a/www/caldavzap/Makefile
+++ b/www/caldavzap/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	caldavzap
 PORTVERSION=	0.13.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www
 MASTER_SITES=	https://www.inf-it.com/
 DISTNAME=	CalDavZAP_${PORTVERSION}
@@ -17,6 +17,7 @@ NO_BUILD=	yes
 
 do-install:
 	${MKDIR} ${STAGEDIR}${WWWDIR}
+	${MV} ${WRKSRC}/config.js ${WRKSRC}/config.js.sample
 	cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
 
 .include <bsd.port.mk>
diff --git a/www/caldavzap/pkg-plist b/www/caldavzap/pkg-plist
index 5222c48aaea3..e49b7d077ca2 100644
--- a/www/caldavzap/pkg-plist
+++ b/www/caldavzap/pkg-plist
@@ -1,3 +1,4 @@
+@sample %%WWWDIR%%/config.js.sample
 %%WWWDIR%%/.htaccess
 %%WWWDIR%%/auth/.htaccess
 %%WWWDIR%%/auth/common.inc
@@ -15,7 +16,6 @@
 %%WWWDIR%%/cache_update.sh
 %%WWWDIR%%/changelog.txt
 %%WWWDIR%%/common.js
-%%WWWDIR%%/config.js
 %%WWWDIR%%/css/default.css
 %%WWWDIR%%/css/default_integration.css
 %%WWWDIR%%/css/fullcalendar.css



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410150941.49F9fpIt043673>