git: 208e2a45ef42 - main - www/gitlab-ce: mark public/robots.txt as a configuration file

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Wed, 11 Oct 2023 13:04:59 UTC
The branch main has been updated by mfechner:

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

commit 208e2a45ef42838911680ed24ac7e471bf75c11f
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2023-10-10 05:22:06 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2023-10-11 13:04:48 +0000

    www/gitlab-ce: mark public/robots.txt as a configuration file
    
    this allows users to modify it and it will not be overwritten
    with a new upgrade of gitlab.
---
 www/gitlab-ce/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/gitlab-ce/Makefile b/www/gitlab-ce/Makefile
index 90ba723dcf90..4540bd11edcf 100644
--- a/www/gitlab-ce/Makefile
+++ b/www/gitlab-ce/Makefile
@@ -352,6 +352,7 @@ do-install:
 	${MV} ${WRKSRC}/config/resque.yml.example ${WRKSRC}/config/resque.yml.sample
 	${MV} ${WRKSRC}/lib/support/nginx/gitlab ${WRKSRC}/lib/support/nginx/gitlab.sample
 	${MV} ${WRKSRC}/lib/support/nginx/gitlab-ssl ${WRKSRC}/lib/support/nginx/gitlab-ssl.sample
+	${MV} ${WRKSRC}/public/robots.txt ${WRKSRC}/public/robots.txt.sample
 	${MKDIR} ${STAGEDIR}${PREFIX}/www/${PORTNAME}/public/assets
 	${MKDIR} ${STAGEDIR}${PREFIX}/www/${PORTNAME}/public/uploads
 	${MKDIR} ${STAGEDIR}${PREFIX}/www/${PORTNAME}/tmp/cache