Port details |
- rubygem-premailer-rails-rails71 CSS styled emails without the hassle
- 1.12.0 mail =2 1.12.0Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2024-05-16 06:31:09
- Last Update: 2024-05-16 06:21:51
- Commit Hash: 667b692
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: rubygems
- License: MIT
- WWW:
- https://github.com/fphilipe/premailer-rails
- Description:
- premailer-rails is a drop in solution for styling HTML emails with CSS without
having to do the hard work yourself.
Styling emails is not just a matter of linking to a stylesheet. Most clients,
especially web clients, ignore linked stylesheets or <style> tags in the HTML.
The workaround is to write all the CSS rules in the style attribute of each tag
inside your email. This is a rather tedious and hard to maintain approach.
Premailer to the rescue! The great premailer gem applies all CSS rules to each
matching HTML element by adding them to the style attribute. This allows you to
keep HTML and CSS in separate files, just as you're used to from web
development, thus keeping your sanity.
This gem is an adapter for premailer to work with actionmailer out of the box.
Actionmailer is the email framework used in Rails, which also works outside of
Rails. Although premailer-rails has certain Rails specific features, it also
works in the absence of Rails making it compatible with other frameworks such as
sinatra.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- rubygem-premailer-rails-rails71>0:mail/rubygem-premailer-rails-rails71
- To install the port:
- cd /usr/ports/mail/rubygem-premailer-rails-rails71/ && make install clean
- To add the package, run one of these commands:
- pkg install mail/rubygem-premailer-rails-rails71
- pkg install rubygem-premailer-rails-rails71
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: rubygem-premailer-rails-rails71
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1714227794
SHA256 (rubygem/premailer-rails-1.12.0.gem) = c13815d161b9bc7f7d3d81396b0bb0a61a90fa9bd89931548bf4e537c7710400
SIZE (rubygem/premailer-rails-1.12.0.gem) = 25088
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
- Runtime dependencies:
-
- rubygem-actionmailer71>=3 : mail/rubygem-actionmailer71
- rubygem-net-smtp>=0 : mail/rubygem-net-smtp
- rubygem-premailer>=1.7.9<2 : mail/rubygem-premailer
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
- Patch dependencies:
-
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
-
- This port is required by:
- for Run
-
- www/rubygem-bullet_train
Configuration Options:
- No options to configure
- Options name:
- mail_rubygem-premailer-rails-rails71
- USES:
- gem
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|