git: 922f8e95a100 - main - sysutils/vagrant: Fix PLIST after 7b279c9e09e1d27a385b7400842622b03a60c5bb

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 16 Apr 2022 04:25:16 UTC
The branch main has been updated by sunpoet:

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

commit 922f8e95a100bd257f275ebaad0664266effe74b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-16 04:15:05 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-16 04:19:51 +0000

    sysutils/vagrant: Fix PLIST after 7b279c9e09e1d27a385b7400842622b03a60c5bb
    
    - While I'm here, remove trailing slash from GEMS_DIR to match gem.mk
    
    Approved by:    portmgr (blanket)
---
 sysutils/vagrant/Makefile  | 2 +-
 sysutils/vagrant/pkg-plist | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/sysutils/vagrant/Makefile b/sysutils/vagrant/Makefile
index d911b667a39c..c071055677b1 100644
--- a/sysutils/vagrant/Makefile
+++ b/sysutils/vagrant/Makefile
@@ -56,7 +56,7 @@ NO_ARCH=	yes
 
 PLIST_SUB+=	DOC_DIR="lib/ruby/gems/${RUBY_VER}/doc" \
 		GEM_BASE_DIR="lib/ruby/gems/${RUBY_VER}/gems" \
-		GEMS_DIR="lib/ruby/gems/${RUBY_VER}/" \
+		GEMS_DIR="lib/ruby/gems/${RUBY_VER}" \
 		PORTVERSION="${PORTVERSION}"
 
 RUBYGEM_ARGS=	-l --no-document --no-update-sources --install-dir \
diff --git a/sysutils/vagrant/pkg-plist b/sysutils/vagrant/pkg-plist
index c187c202709b..7a718f7b6ece 100644
--- a/sysutils/vagrant/pkg-plist
+++ b/sysutils/vagrant/pkg-plist
@@ -1,5 +1,5 @@
 bin/vagrant
-%%GEMS_DIR%%cache/vagrant-%%PORTVERSION%%.gem
+%%GEMS_DIR%%/cache/vagrant-%%PORTVERSION%%.gem
 %%GEM_BASE_DIR%%/vagrant-%%PORTVERSION%%/.vimrc
 %%GEM_BASE_DIR%%/vagrant-%%PORTVERSION%%/.yardopts
 %%GEM_BASE_DIR%%/vagrant-%%PORTVERSION%%/CHANGELOG.md
@@ -1068,6 +1068,7 @@ bin/vagrant
 %%GEM_BASE_DIR%%/vagrant-%%PORTVERSION%%/vagrant-spec.config.example.rb
 %%GEM_BASE_DIR%%/vagrant-%%PORTVERSION%%/vagrant.gemspec
 %%GEM_BASE_DIR%%/vagrant-%%PORTVERSION%%/version.txt
-%%GEMS_DIR%%specifications/vagrant-%%PORTVERSION%%.gemspec
+%%GEMS_DIR%%/specifications/vagrant-%%PORTVERSION%%.gemspec
 %%DATADIR%%/embedded/rgloader/loader.rb
-@dir %%GEMS_DIR%%extensions
+@dir %%GEMS_DIR%%/extensions
+@dir %%GEMS_DIR%%/plugins