BSD Ports

mail/rubygem-premailer-rails-rails-gitlab 1.12.0 FreeBSD

CSS styled emails without the hassle

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
mail, rubygems
Package size
24.9 KiB, 85.1 KiB installed

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.

In the other systems

SystemPortVersion
FreeBSDmail/rubygem-premailer-rails-rails-gitlab1.12.0
DragonFlymail/rubygem-premailer-rails-rails-gitlab1.12.0
MidnightBSDmail/rubygem-premailer-rails-rails-gitlab1.12.0
HardenedBSDmail/rubygem-premailer-rails-rails-gitlab1.12.0
GhostBSDmail/rubygem-premailer-rails-rails-gitlab1.12.0

Install

Binary package:

pkg install rubygem-premailer-rails-rails-gitlab

From the ports tree:

cd /usr/ports/mail/rubygem-premailer-rails-rails-gitlab/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rubygem-premailer-rails-rails-gitlab>0:mail/rubygem-premailer-rails-rails-gitlab

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.12.01.12.0--1.12.0
FreeBSD:14:quarterly1.12.01.12.0n/a-1.12.0
FreeBSD:15:latest1.12.01.12.0n/a-1.12.0
FreeBSD:15:quarterly1.12.01.12.0n/an/an/a
FreeBSD:16:latest1.12.01.12.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 3

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 56
Required by 1

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/premailer-rails-1.12.0.gem25088c13815d161b9bc7f7d3d81396b0bb0a61a90fa9bd89931548bf4e537c7710400
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.