Date: Mon, 19 Jul 2021 15:41:44 GMT From: Matthias Fechner <mfechner@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 5c52fa53de87 - main - devel/gitlab-shell: Autogenerate plist Message-ID: <202107191541.16JFfiA3093447@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mfechner: URL: https://cgit.FreeBSD.org/ports/commit/?id=5c52fa53de87150223bc46d41059e7c94860054b commit 5c52fa53de87150223bc46d41059e7c94860054b Author: Matthias Fechner <mfechner@FreeBSD.org> AuthorDate: 2021-07-19 15:40:39 +0000 Commit: Matthias Fechner <mfechner@FreeBSD.org> CommitDate: 2021-07-19 15:41:35 +0000 devel/gitlab-shell: Autogenerate plist --- devel/gitlab-shell/Makefile | 7 ++++++- devel/gitlab-shell/pkg-plist | 34 ---------------------------------- 2 files changed, 6 insertions(+), 35 deletions(-) diff --git a/devel/gitlab-shell/Makefile b/devel/gitlab-shell/Makefile index 582574a8b101..8cfa44fe46e1 100644 --- a/devel/gitlab-shell/Makefile +++ b/devel/gitlab-shell/Makefile @@ -120,7 +120,12 @@ do-install: @${MKDIR} ${STAGEDIR}${DATADIR}/${x} (cd ${WRKSRC}/${x} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/${x}) .endfor - @${MKDIR} ${STAGEDIR}${VARLOGDIR} +post-install: + ${FIND} -s ${STAGEDIR}${DATADIR} -not -type d | ${SORT} | \ + ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' | \ + ${SED} -E -e '/sample$$/ s#^#@sample #; \ + s#${DATADIR_REL}/bin#@(,,555) ${DATADIR_REL}/bin#; ' >> ${TMPPLIST} + .include <bsd.port.mk> diff --git a/devel/gitlab-shell/pkg-plist b/devel/gitlab-shell/pkg-plist deleted file mode 100644 index 69802820e7cf..000000000000 --- a/devel/gitlab-shell/pkg-plist +++ /dev/null @@ -1,34 +0,0 @@ -%%DATADIR%%/.codeclimate.yml -%%DATADIR%%/.gitignore -%%DATADIR%%/.gitlab-ci.yml -%%DATADIR%%/.ruby-version -%%DATADIR%%/CHANGELOG -%%DATADIR%%/CONTRIBUTING.md -%%DATADIR%%/Gemfile -%%DATADIR%%/Gemfile.lock -%%DATADIR%%/LICENSE -%%DATADIR%%/README.md -%%DATADIR%%/VERSION -%%DATADIR%%/.gitlab/CODEOWNERS -@(,,555) %%DATADIR%%/bin/authorized_keys -@(,,555) %%DATADIR%%/bin/check -@(,,555) %%DATADIR%%/bin/gitlab-shell -@(,,555) %%DATADIR%%/bin/gitlab-shell-authorized-keys-check -@(,,555) %%DATADIR%%/bin/gitlab-shell-authorized-principals-check -@(,,555) %%DATADIR%%/bin/gitlab-sshd -@(,,555) %%DATADIR%%/bin/install -@sample %%DATADIR%%/config.yml.sample -%%DATADIR%%/spec/gitlab_shell_authorized_keys_check_spec.rb -%%DATADIR%%/spec/gitlab_shell_authorized_principals_check_spec.rb -%%DATADIR%%/spec/gitlab_shell_custom_git_receive_pack_spec.rb -%%DATADIR%%/spec/gitlab_shell_custom_git_upload_pack_spec.rb -%%DATADIR%%/spec/gitlab_shell_discover_spec.rb -%%DATADIR%%/spec/gitlab_shell_lfs_authentication_spec.rb -%%DATADIR%%/spec/gitlab_shell_personal_access_token_spec.rb -%%DATADIR%%/spec/gitlab_shell_two_factor_recovery_spec.rb -%%DATADIR%%/spec/gitlab_shell_two_factor_verify_spec.rb -%%DATADIR%%/spec/spec_helper.rb -%%DATADIR%%/spec/support/gitlab_shell_setup.rb -%%DATADIR%%/spec/support/http_unix_server.rb -%%DATADIR%%/support/gitlab_config.rb -%%DATADIR%%/support/truncate_repositories.sh
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107191541.16JFfiA3093447>