git: 34212f681cca - main - www/rubygem-haml5: Add rubygem-haml5 5.2.2 (copied from rubygem-haml)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Oct 2022 15:39:03 UTC
The branch main has been updated by sunpoet:

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

commit 34212f681ccaeb5058aa3df4424343b4cb181325
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-10-09 15:19:14 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-10-09 15:37:45 +0000

    www/rubygem-haml5: Add rubygem-haml5 5.2.2 (copied from rubygem-haml)
    
    - Add PORTSCOUT
---
 www/Makefile                |  1 +
 www/rubygem-haml5/Makefile  | 27 +++++++++++++++++++++++++++
 www/rubygem-haml5/distinfo  |  3 +++
 www/rubygem-haml5/pkg-descr |  7 +++++++
 4 files changed, 38 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 91cac07f79e9..0c5a133a6614 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1938,6 +1938,7 @@
     SUBDIR += rubygem-haml-coderay
     SUBDIR += rubygem-haml-contrib
     SUBDIR += rubygem-haml-rails-rails4
+    SUBDIR += rubygem-haml5
     SUBDIR += rubygem-hamlit
     SUBDIR += rubygem-hamlit-rails
     SUBDIR += rubygem-hamlit-rails-rails5
diff --git a/www/rubygem-haml5/Makefile b/www/rubygem-haml5/Makefile
new file mode 100644
index 000000000000..76f15b4d4527
--- /dev/null
+++ b/www/rubygem-haml5/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	haml
+PORTVERSION=	5.2.2
+CATEGORIES=	www rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	5
+
+MAINTAINER=	ruby@FreeBSD.org
+COMMENT=	Markup language to describe HTML
+WWW=		https://haml.info/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS=	rubygem-temple>=0.8.0:devel/rubygem-temple \
+		rubygem-tilt>=0:devel/rubygem-tilt
+
+USES=		cpe gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^5\.
+
+post-install:
+	${RM} ${STAGEDIR}${PREFIX}/bin/haml
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-haml5/distinfo b/www/rubygem-haml5/distinfo
new file mode 100644
index 000000000000..510fdbef33d9
--- /dev/null
+++ b/www/rubygem-haml5/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1628103852
+SHA256 (rubygem/haml-5.2.2.gem) = 6e759246556145642ef832d670fc06f9bd8539159a0e600847a00291dd7aae0c
+SIZE (rubygem/haml-5.2.2.gem) = 92160
diff --git a/www/rubygem-haml5/pkg-descr b/www/rubygem-haml5/pkg-descr
new file mode 100644
index 000000000000..d33a29d026d5
--- /dev/null
+++ b/www/rubygem-haml5/pkg-descr
@@ -0,0 +1,7 @@
+Haml is a markup language that's used to cleanly and simply describe the HTML
+of any web document without the use of inline code. Haml functions as a
+replacement for inline page templating systems such as PHP, ASP, and ERB, the
+templating language used in most Ruby on Rails applications.
+However, Haml avoids the need for explicitly coding HTML into the template,
+because it itself is a description of the HTML, with some code to generate
+dynamic content.