git: 9888f1dfd055 - main - devel/rubygem-gitlab-license_finder: new port with version 6.14.2.1

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Wed, 22 Dec 2021 17:04:39 UTC
The branch main has been updated by mfechner:

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

commit 9888f1dfd055c1d9a807445b9490a7b4cb7c0a6c
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2021-12-21 20:30:53 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2021-12-22 17:04:23 +0000

    devel/rubygem-gitlab-license_finder: new port with version 6.14.2.1
    
    Required for gitlab-ce 14.6.
---
 devel/Makefile                                |  1 +
 devel/rubygem-gitlab-license_finder/Makefile  | 33 +++++++++++++++++++++++++++
 devel/rubygem-gitlab-license_finder/distinfo  |  3 +++
 devel/rubygem-gitlab-license_finder/pkg-descr |  6 +++++
 4 files changed, 43 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 770f3c72e40d..d15c9f116fb0 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6364,6 +6364,7 @@
     SUBDIR += rubygem-gitlab-experiment
     SUBDIR += rubygem-gitlab-labkit
     SUBDIR += rubygem-gitlab-license
+    SUBDIR += rubygem-gitlab-license_finder
     SUBDIR += rubygem-gitlab-pygments.rb
     SUBDIR += rubygem-gitlab-sidekiq-fetcher
     SUBDIR += rubygem-gitlab_chronic_duration
diff --git a/devel/rubygem-gitlab-license_finder/Makefile b/devel/rubygem-gitlab-license_finder/Makefile
new file mode 100644
index 000000000000..a7f608fe06cc
--- /dev/null
+++ b/devel/rubygem-gitlab-license_finder/Makefile
@@ -0,0 +1,33 @@
+# Created by: Matthias Fechner <mfechner@FreeBSD.org>
+
+PORTNAME=	gitlab-license_finder
+PORTVERSION=	6.14.2.1
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	mfechner@FreeBSD.org
+COMMENT=	Generate, verify and enforce software licenses
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-bundler>=0:sysutils/rubygem-bundler \
+		rubygem-rubyzip>=1<3:archivers/rubygem-rubyzip \
+		rubygem-thor10>=1.0.1<1.1:devel/rubygem-thor10 \
+		rubygem-tomlrb>=1.3<2.1:textproc/rubygem-tomlrb \
+		rubygem-with_env>=1.1.0<1.1.1:devel/rubygem-with_env \
+		rubygem-xml-simple>=1.1.5<1.2:textproc/rubygem-xml-simple
+
+USES=		gem python:run shebangfix
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+SHEBANG_FILES=	dlf \
+		bin/license_finder_pip.py \
+		ci/scripts/*.sh
+
+PLIST_FILES=	bin/license_finder \
+		bin/license_finder_pip.py
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-gitlab-license_finder/distinfo b/devel/rubygem-gitlab-license_finder/distinfo
new file mode 100644
index 000000000000..3b5979975b53
--- /dev/null
+++ b/devel/rubygem-gitlab-license_finder/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1640031423
+SHA256 (rubygem/gitlab-license_finder-6.14.2.1.gem) = e1c462401b44e94e9ab2434c14f5d3d900e0813d5d98239bb6d8ff354ddaf93b
+SIZE (rubygem/gitlab-license_finder-6.14.2.1.gem) = 169984
diff --git a/devel/rubygem-gitlab-license_finder/pkg-descr b/devel/rubygem-gitlab-license_finder/pkg-descr
new file mode 100644
index 000000000000..f90fca91df3d
--- /dev/null
+++ b/devel/rubygem-gitlab-license_finder/pkg-descr
@@ -0,0 +1,6 @@
+LicenseFinder works with your package managers to find dependencies,
+detect the licenses of the packages in them, compare those licenses
+against a user-defined list of permitted licenses, and give you an
+actionable exception report.
+
+WWW: https://github.com/pivotal/LicenseFinder