aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-10-09 15:19:14 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-10-09 15:37:45 +0000
commit34212f681ccaeb5058aa3df4424343b4cb181325 (patch)
treee1e243ea3e85fd604aa8594c87038d5b0d1517b8
parent2d73fd3d235c38916a7a9146cba49300845f2e20 (diff)
www/rubygem-haml5: Add rubygem-haml5 5.2.2 (copied from rubygem-haml)
- Add PORTSCOUT
-rw-r--r--www/Makefile1
-rw-r--r--www/rubygem-haml5/Makefile27
-rw-r--r--www/rubygem-haml5/distinfo3
-rw-r--r--www/rubygem-haml5/pkg-descr7
4 files changed, 38 insertions, 0 deletions
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.