aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Fechner <mfechner@FreeBSD.org>2023-10-10 05:22:06 +0000
committerMatthias Fechner <mfechner@FreeBSD.org>2023-10-11 13:04:48 +0000
commit208e2a45ef42838911680ed24ac7e471bf75c11f (patch)
treed6ef4467619165e5680d7d0e756d603b6500f5b0
parent6ee7d097114e1f61c78f655ca4a840dec9613342 (diff)
downloadports-208e2a45ef42838911680ed24ac7e471bf75c11f.tar.gz
ports-208e2a45ef42838911680ed24ac7e471bf75c11f.zip
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.
-rw-r--r--www/gitlab-ce/Makefile1
1 files changed, 1 insertions, 0 deletions
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