git: 8e3cedb625fb - main - devel/rubygem-pedump: Add rubygem-pedump 0.6.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 25 Oct 2021 16:01:09 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8e3cedb625fb42fea6612ef864db46ab0319252a

commit 8e3cedb625fb42fea6612ef864db46ab0319252a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-10-25 14:43:58 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-10-25 15:57:07 +0000

    devel/rubygem-pedump: Add rubygem-pedump 0.6.2
    
    pedump provides a pure ruby implementation of Win32 PE binary files dumper.
    
    WWW: https://github.com/zed-0xff/pedump
---
 devel/Makefile                 |  1 +
 devel/rubygem-pedump/Makefile  | 27 +++++++++++++++++++++++++++
 devel/rubygem-pedump/distinfo  |  3 +++
 devel/rubygem-pedump/pkg-descr |  3 +++
 4 files changed, 34 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index a7aa7ff1f222..398d49e47d42 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6573,6 +6573,7 @@
     SUBDIR += rubygem-pathspec
     SUBDIR += rubygem-pathutil
     SUBDIR += rubygem-pdk
+    SUBDIR += rubygem-pedump
     SUBDIR += rubygem-peek
     SUBDIR += rubygem-peek-gc-rails52
     SUBDIR += rubygem-peek-host
diff --git a/devel/rubygem-pedump/Makefile b/devel/rubygem-pedump/Makefile
new file mode 100644
index 000000000000..031690710104
--- /dev/null
+++ b/devel/rubygem-pedump/Makefile
@@ -0,0 +1,27 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	pedump
+PORTVERSION=	0.6.2
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Dump headers, sections, extract resources of Win32 PE exe, dll, etc
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	rubygem-awesome_print>=0:devel/rubygem-awesome_print \
+		rubygem-iostruct>=0.0.4:devel/rubygem-iostruct \
+		rubygem-multipart-post>=2.0.0:www/rubygem-multipart-post \
+		rubygem-rainbow>=0:devel/rubygem-rainbow \
+		rubygem-zhexdump>=0.0.2:devel/rubygem-zhexdump
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+PLIST_FILES=	bin/pedump
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-pedump/distinfo b/devel/rubygem-pedump/distinfo
new file mode 100644
index 000000000000..a1be3123b920
--- /dev/null
+++ b/devel/rubygem-pedump/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1634391094
+SHA256 (rubygem/pedump-0.6.2.gem) = 5ebb32f4ddbfe783b26853cfbd71d34528a7b7a0dc9601b95881d57cfbcbcb9d
+SIZE (rubygem/pedump-0.6.2.gem) = 509440
diff --git a/devel/rubygem-pedump/pkg-descr b/devel/rubygem-pedump/pkg-descr
new file mode 100644
index 000000000000..de49de2662f9
--- /dev/null
+++ b/devel/rubygem-pedump/pkg-descr
@@ -0,0 +1,3 @@
+pedump provides a pure ruby implementation of Win32 PE binary files dumper.
+
+WWW: https://github.com/zed-0xff/pedump