Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 2021 19:06:54 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: fe814b7caf95 - main - devel/rubygem-ruby-magic: New port
Message-ID:  <202104231906.13NJ6sYU043057@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=fe814b7caf95f79858f8fade0e83e25c1c98ed15

commit fe814b7caf95f79858f8fade0e83e25c1c98ed15
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2021-04-23 18:54:03 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2021-04-23 19:06:09 +0000

    devel/rubygem-ruby-magic: New port
    
    Required for gitlab-ce 13.11 upgrade.
---
 devel/Makefile                     |  1 +
 devel/rubygem-ruby-magic/Makefile  | 23 +++++++++++++++++++++++
 devel/rubygem-ruby-magic/distinfo  |  3 +++
 devel/rubygem-ruby-magic/pkg-descr |  4 ++++
 4 files changed, 31 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 1c119920fb60..5cee98d93ab0 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6529,6 +6529,7 @@
     SUBDIR += rubygem-ruby-fogbugz021
     SUBDIR += rubygem-ruby-libvirt
     SUBDIR += rubygem-ruby-macho
+    SUBDIR += rubygem-ruby-magic
     SUBDIR += rubygem-ruby-magic-static
     SUBDIR += rubygem-ruby-ole
     SUBDIR += rubygem-ruby-prof
diff --git a/devel/rubygem-ruby-magic/Makefile b/devel/rubygem-ruby-magic/Makefile
new file mode 100644
index 000000000000..99bcc5052af3
--- /dev/null
+++ b/devel/rubygem-ruby-magic/Makefile
@@ -0,0 +1,23 @@
+# Created by: Matthias Fechner <mfechner@FreeBSD.org>
+
+PORTNAME=	ruby-magic
+PORTVERSION=	0.4.0
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	mfechner@FreeBSD.org
+COMMENT=	File Magic in ruby
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-mini_portile2>=2.5.0<2.6:devel/rubygem-mini_portile2
+
+USES=		gem
+USE_RUBY=	yes
+CONFIGURE_ARGS+=	--use-system-libraries
+
+post-install:
+	@${ECHO_CMD} "@dir ${GEM_LIB_DIR}/ports" >> ${TMPPLIST}
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-ruby-magic/distinfo b/devel/rubygem-ruby-magic/distinfo
new file mode 100644
index 000000000000..a6818aaa8d56
--- /dev/null
+++ b/devel/rubygem-ruby-magic/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1619165606
+SHA256 (rubygem/ruby-magic-0.4.0.gem) = a7e0f9a916096d619cf8122b411fa5eb0f61202d5605e814291b1a2a90a9c1d6
+SIZE (rubygem/ruby-magic-0.4.0.gem) = 995328
diff --git a/devel/rubygem-ruby-magic/pkg-descr b/devel/rubygem-ruby-magic/pkg-descr
new file mode 100644
index 000000000000..d12aa9255856
--- /dev/null
+++ b/devel/rubygem-ruby-magic/pkg-descr
@@ -0,0 +1,4 @@
+File Magic in Ruby.
+Simple interface to libmagic for Ruby Programming Language.
+
+WWW: https://github.com/kwilczynski/ruby-magic



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104231906.13NJ6sYU043057>