aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2016-04-08 02:31:41 +0800
committerpi <pi@FreeBSD.org>2016-04-08 02:31:41 +0800
commitb926fd4357659e6d9af91ffc45362076ee1b0f12 (patch)
tree7bd7220b61e8ba1ae586c9daedff2e946c4240e2 /mail
parent2669202681483c669b533a16460baf897080aef6 (diff)
downloadfreebsd-ports-gnome-b926fd4357659e6d9af91ffc45362076ee1b0f12.tar.gz
freebsd-ports-gnome-b926fd4357659e6d9af91ffc45362076ee1b0f12.tar.zst
freebsd-ports-gnome-b926fd4357659e6d9af91ffc45362076ee1b0f12.zip
New port: mail/rubygem-premailer-rails
This gem brings you the power of the premailer gem to Rails without any configuration needs. Create HTML emails, include a CSS file as you do in a normal HTML document and premailer will inline the included CSS. WWW: https://github.com/fphilipe/premailer-rails PR: 208508 Submitted by: Torsten Zuehlsdorff <ports@toco-domains.de>
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile1
-rw-r--r--mail/rubygem-premailer-rails/Makefile20
-rw-r--r--mail/rubygem-premailer-rails/distinfo2
-rw-r--r--mail/rubygem-premailer-rails/pkg-descr6
4 files changed, 29 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 33793c0d88cb..909e41686703 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -604,6 +604,7 @@
SUBDIR += rubygem-mailfactory
SUBDIR += rubygem-pony
SUBDIR += rubygem-premailer
+ SUBDIR += rubygem-premailer-rails
SUBDIR += rubygem-rmail
SUBDIR += rubygem-roadie
SUBDIR += rubygem-roadie-rails
diff --git a/mail/rubygem-premailer-rails/Makefile b/mail/rubygem-premailer-rails/Makefile
new file mode 100644
index 000000000000..032649b4973b
--- /dev/null
+++ b/mail/rubygem-premailer-rails/Makefile
@@ -0,0 +1,20 @@
+# Created by: Torsten Zuehlsdorff <ports@toco-domains.de>
+# $FreeBSD$
+
+PORTNAME= premailer-rails
+PORTVERSION= 1.9.1
+CATEGORIES= mail rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= Improve the rendering of HTML emails
+
+RUN_DEPENDS= rubygem-actionmailer4>=3:mail/rubygem-actionmailer4 \
+ rubygem-premailer>=1.7.9:mail/rubygem-premailer
+
+NO_ARCH= yes
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/mail/rubygem-premailer-rails/distinfo b/mail/rubygem-premailer-rails/distinfo
new file mode 100644
index 000000000000..505f42c06dd9
--- /dev/null
+++ b/mail/rubygem-premailer-rails/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/premailer-rails-1.9.1.gem) = 377b2db9e36bb79a0988d918037c176f0d9acc9ce0adcdca244738c8e60e65c6
+SIZE (rubygem/premailer-rails-1.9.1.gem) = 20480
diff --git a/mail/rubygem-premailer-rails/pkg-descr b/mail/rubygem-premailer-rails/pkg-descr
new file mode 100644
index 000000000000..dc77dabbd406
--- /dev/null
+++ b/mail/rubygem-premailer-rails/pkg-descr
@@ -0,0 +1,6 @@
+This gem brings you the power of the premailer gem to Rails
+without any configuration needs. Create HTML emails, include
+a CSS file as you do in a normal HTML document and premailer
+will inline the included CSS.
+
+WWW: https://github.com/fphilipe/premailer-rails