aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/Makefile1
-rw-r--r--www/rubygem-hamlit-rails-rails5/Makefile26
-rw-r--r--www/rubygem-hamlit-rails-rails5/distinfo3
-rw-r--r--www/rubygem-hamlit-rails-rails5/pkg-descr5
4 files changed, 35 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index cf163ddeabc7..0649ff639c98 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1980,6 +1980,7 @@
SUBDIR += rubygem-haml-rails-rails4
SUBDIR += rubygem-hamlit
SUBDIR += rubygem-hamlit-rails
+ SUBDIR += rubygem-hamlit-rails-rails5
SUBDIR += rubygem-hashicorp-checkpoint
SUBDIR += rubygem-heroku
SUBDIR += rubygem-heroku-api
diff --git a/www/rubygem-hamlit-rails-rails5/Makefile b/www/rubygem-hamlit-rails-rails5/Makefile
new file mode 100644
index 000000000000..ea79aa9052dc
--- /dev/null
+++ b/www/rubygem-hamlit-rails-rails5/Makefile
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= hamlit-rails
+PORTVERSION= 0.2.0
+CATEGORIES= www rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= -rails5
+
+MAINTAINER= jrm@FreeBSD.org
+COMMENT= Hamlit (haml) generators for Rails 5
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= rubygem-activesupport5>=0:devel/rubygem-activesupport5 \
+ rubygem-actionpack5>=0:www/rubygem-actionpack5 \
+ rubygem-hamlit>=1.2.0:www/rubygem-hamlit \
+ rubygem-railties5>=0:www/rubygem-railties5
+
+NO_ARCH= yes
+USE_RUBY= yes
+USES= gem shebangfix
+bash_CMD= ${SH}
+SHEBANG_FILES= bin/setup
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-hamlit-rails-rails5/distinfo b/www/rubygem-hamlit-rails-rails5/distinfo
new file mode 100644
index 000000000000..b5590779e2a9
--- /dev/null
+++ b/www/rubygem-hamlit-rails-rails5/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1491837069
+SHA256 (rubygem/hamlit-rails-0.2.0.gem) = 9a3774411eb8ce95aa875a30677718a04f4d049472c145962b6bc8c0cda5ff91
+SIZE (rubygem/hamlit-rails-0.2.0.gem) = 11264
diff --git a/www/rubygem-hamlit-rails-rails5/pkg-descr b/www/rubygem-hamlit-rails-rails5/pkg-descr
new file mode 100644
index 000000000000..2a7fb1954ecc
--- /dev/null
+++ b/www/rubygem-hamlit-rails-rails5/pkg-descr
@@ -0,0 +1,5 @@
+hamlit-reails provides hamlit generators for Rails 4. It also enables hamlit as
+the templating engine and "hamlit:html2haml" rake task that converts erb files
+to haml.
+
+WWW: https://github.com/mfung/hamlit-rails