git: b699b70c3be4 - main - textproc/rubygem-rouge43: Add rubygem-rouge43 4.3.0 (copied from rubygem-rouge)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 25 Sep 2024 04:25:28 UTC
The branch main has been updated by sunpoet:

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

commit b699b70c3be44439e489c157d0de26a87c878821
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-25 04:05:46 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-25 04:22:25 +0000

    textproc/rubygem-rouge43: Add rubygem-rouge43 4.3.0 (copied from rubygem-rouge)
    
    - Add PORTSCOUT
---
 textproc/Makefile                  |  1 +
 textproc/rubygem-rouge43/Makefile  | 24 ++++++++++++++++++++++++
 textproc/rubygem-rouge43/distinfo  |  3 +++
 textproc/rubygem-rouge43/pkg-descr |  2 ++
 4 files changed, 30 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 17c40c0ff9cd..bcc2954f29b8 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1915,6 +1915,7 @@
     SUBDIR += rubygem-ronn
     SUBDIR += rubygem-rouge
     SUBDIR += rubygem-rouge3
+    SUBDIR += rubygem-rouge43
     SUBDIR += rubygem-rttool
     SUBDIR += rubygem-ruby-augeas
     SUBDIR += rubygem-ruby-xslt
diff --git a/textproc/rubygem-rouge43/Makefile b/textproc/rubygem-rouge43/Makefile
new file mode 100644
index 000000000000..b18185a2f2a9
--- /dev/null
+++ b/textproc/rubygem-rouge43/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	rouge
+PORTVERSION=	4.3.0
+CATEGORIES=	textproc rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	43
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Simple, easy-to-extend drop-in replacement for pygments
+WWW=		https://github.com/jneen/rouge
+
+LICENSE=	BSD2CLAUSE MIT
+LICENSE_COMB=	dual
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		gem
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^4\.3\.
+
+post-install:
+	${RM} ${STAGEDIR}${PREFIX}/bin/rougify
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-rouge43/distinfo b/textproc/rubygem-rouge43/distinfo
new file mode 100644
index 000000000000..97ed4ebee0f0
--- /dev/null
+++ b/textproc/rubygem-rouge43/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1718580312
+SHA256 (rubygem/rouge-4.3.0.gem) = 9ee3d9ec53338e78c03fff0cbcd08881d80d69152349b046761e48ccf2de581c
+SIZE (rubygem/rouge-4.3.0.gem) = 548352
diff --git a/textproc/rubygem-rouge43/pkg-descr b/textproc/rubygem-rouge43/pkg-descr
new file mode 100644
index 000000000000..d80d76f1615c
--- /dev/null
+++ b/textproc/rubygem-rouge43/pkg-descr
@@ -0,0 +1,2 @@
+Rouge aims to a be a simple, easy-to-extend drop-in replacement for
+pygments.