Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Apr 2016 00:14:41 +0800
From:      Sunpoet Po-Chuan Hsieh <sunpoet@freebsd.org>
To:        Kurt Jaeger <pi@freebsd.org>, =?UTF-8?Q?Torsten_Z=C3=BChlsdorff?= <ports@toco-domains.de>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org,  svn-ports-head@freebsd.org
Subject:   Re: svn commit: r412678 - in head/mail: . rubygem-premailer
Message-ID:  <CAMHz58RcE99QE7znBc%2BXh=J7wUbS3EFnDAyuwzXbm0V6a1fU1A@mail.gmail.com>
In-Reply-To: <201604071804.u37I4JHi070885@repo.freebsd.org>
References:  <201604071804.u37I4JHi070885@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 8, 2016 at 2:04 AM, Kurt Jaeger <pi@freebsd.org> wrote:

> Author: pi
> Date: Thu Apr  7 18:04:19 2016
> New Revision: 412678
> URL: https://svnweb.freebsd.org/changeset/ports/412678
>
> Log:
>   New port: mail/rubygem-premailer
>
>   Improve the rendering of HTML emails by making CSS inline,
>   converting links and warning about unsupported code.
>
>   WWW: http://premailer.dialect.ca/
>
>   PR:           208507
>   Submitted by: Torsten Zuehlsdorff <ports@toco-domains.de>
>

Hello,

Most rubygem ports use RUBYGEM_AUTOPLIST (and PLIST_FILES if necessary).
Is there any reason to use pkg-plist instead here?

Regards,
sunpoet


>
> Added:
>   head/mail/rubygem-premailer/
>   head/mail/rubygem-premailer/Makefile   (contents, props changed)
>   head/mail/rubygem-premailer/distinfo   (contents, props changed)
>   head/mail/rubygem-premailer/pkg-descr   (contents, props changed)
>   head/mail/rubygem-premailer/pkg-plist   (contents, props changed)
> Modified:
>   head/mail/Makefile
>
> Modified: head/mail/Makefile
>
> ==============================================================================
> --- head/mail/Makefile  Thu Apr  7 17:33:29 2016        (r412677)
> +++ head/mail/Makefile  Thu Apr  7 18:04:19 2016        (r412678)
> @@ -603,6 +603,7 @@
>      SUBDIR += rubygem-mailboxer
>      SUBDIR += rubygem-mailfactory
>      SUBDIR += rubygem-pony
> +    SUBDIR += rubygem-premailer
>      SUBDIR += rubygem-rmail
>      SUBDIR += rubygem-roadie
>      SUBDIR += rubygem-roadie-rails
>
> Added: head/mail/rubygem-premailer/Makefile
>
> ==============================================================================
> --- /dev/null   00:00:00 1970   (empty, because file is newly added)
> +++ head/mail/rubygem-premailer/Makefile        Thu Apr  7 18:04:19 2016
>       (r412678)
> @@ -0,0 +1,19 @@
> +# Created by: Torsten Zuehlsdorff <ports@toco-domains.de>
> +# $FreeBSD$
> +
> +PORTNAME=      premailer
> +PORTVERSION=   1.8.6
> +CATEGORIES=    mail rubygems
> +MASTER_SITES=  RG
> +
> +MAINTAINER=    ruby@FreeBSD.org
> +COMMENT=       Improve the rendering of HTML emails
> +
> +RUN_DEPENDS=   rubygem-css_parser>=1.3.6:textproc/rubygem-css_parser \
> +               rubygem-htmlentities>=4.0.0:textproc/rubygem-htmlentities
> +
> +NO_ARCH=       yes
> +USE_RUBY=      yes
> +USE_RUBYGEMS=  yes
> +
> +.include <bsd.port.mk>
>
> Added: head/mail/rubygem-premailer/distinfo
>
> ==============================================================================
> --- /dev/null   00:00:00 1970   (empty, because file is newly added)
> +++ head/mail/rubygem-premailer/distinfo        Thu Apr  7 18:04:19 2016
>       (r412678)
> @@ -0,0 +1,2 @@
> +SHA256 (rubygem/premailer-1.8.6.gem) =
> 868c913655c06bc0f5ba31f9d956607e3d16735419a9575c572fa7248f201176
> +SIZE (rubygem/premailer-1.8.6.gem) = 37888
>
> Added: head/mail/rubygem-premailer/pkg-descr
>
> ==============================================================================
> --- /dev/null   00:00:00 1970   (empty, because file is newly added)
> +++ head/mail/rubygem-premailer/pkg-descr       Thu Apr  7 18:04:19 2016
>       (r412678)
> @@ -0,0 +1,4 @@
> +Improve the rendering of HTML emails by making CSS inline,
> +converting links and warning about unsupported code.
> +
> +WWW: http://premailer.dialect.ca/
>
> Added: head/mail/rubygem-premailer/pkg-plist
>
> ==============================================================================
> --- /dev/null   00:00:00 1970   (empty, because file is newly added)
> +++ head/mail/rubygem-premailer/pkg-plist       Thu Apr  7 18:04:19 2016
>       (r412678)
> @@ -0,0 +1,134 @@
> +bin/premailer
> +%%GEM_DOC_DIR%%/rdoc/HtmlToPlainText.html
> +%%GEM_DOC_DIR%%/rdoc/Premailer.html
> +%%GEM_DOC_DIR%%/rdoc/Premailer/Adapter.html
> +%%GEM_DOC_DIR%%/rdoc/Premailer/Adapter/Hpricot.html
> +%%GEM_DOC_DIR%%/rdoc/Premailer/Adapter/Nokogiri.html
> +%%GEM_DOC_DIR%%/rdoc/Premailer/Warnings.html
> +%%GEM_DOC_DIR%%/rdoc/css/fonts.css
> +%%GEM_DOC_DIR%%/rdoc/css/rdoc.css
> +%%GEM_DOC_DIR%%/rdoc/fonts/Lato-Light.ttf
> +%%GEM_DOC_DIR%%/rdoc/fonts/Lato-LightItalic.ttf
> +%%GEM_DOC_DIR%%/rdoc/fonts/Lato-Regular.ttf
> +%%GEM_DOC_DIR%%/rdoc/fonts/Lato-RegularItalic.ttf
> +%%GEM_DOC_DIR%%/rdoc/fonts/SourceCodePro-Bold.ttf
> +%%GEM_DOC_DIR%%/rdoc/fonts/SourceCodePro-Regular.ttf
> +%%GEM_DOC_DIR%%/rdoc/images/add.png
> +%%GEM_DOC_DIR%%/rdoc/images/arrow_up.png
> +%%GEM_DOC_DIR%%/rdoc/images/brick.png
> +%%GEM_DOC_DIR%%/rdoc/images/brick_link.png
> +%%GEM_DOC_DIR%%/rdoc/images/bug.png
> +%%GEM_DOC_DIR%%/rdoc/images/bullet_black.png
> +%%GEM_DOC_DIR%%/rdoc/images/bullet_toggle_minus.png
> +%%GEM_DOC_DIR%%/rdoc/images/bullet_toggle_plus.png
> +%%GEM_DOC_DIR%%/rdoc/images/date.png
> +%%GEM_DOC_DIR%%/rdoc/images/delete.png
> +%%GEM_DOC_DIR%%/rdoc/images/find.png
> +%%GEM_DOC_DIR%%/rdoc/images/loadingAnimation.gif
> +%%GEM_DOC_DIR%%/rdoc/images/macFFBgHack.png
> +%%GEM_DOC_DIR%%/rdoc/images/package.png
> +%%GEM_DOC_DIR%%/rdoc/images/page_green.png
> +%%GEM_DOC_DIR%%/rdoc/images/page_white_text.png
> +%%GEM_DOC_DIR%%/rdoc/images/page_white_width.png
> +%%GEM_DOC_DIR%%/rdoc/images/plugin.png
> +%%GEM_DOC_DIR%%/rdoc/images/ruby.png
> +%%GEM_DOC_DIR%%/rdoc/images/tag_blue.png
> +%%GEM_DOC_DIR%%/rdoc/images/tag_green.png
> +%%GEM_DOC_DIR%%/rdoc/images/transparent.png
> +%%GEM_DOC_DIR%%/rdoc/images/wrench.png
> +%%GEM_DOC_DIR%%/rdoc/images/wrench_orange.png
> +%%GEM_DOC_DIR%%/rdoc/images/zoom.png
> +%%GEM_DOC_DIR%%/rdoc/index.html
> +%%GEM_DOC_DIR%%/rdoc/js/darkfish.js
> +%%GEM_DOC_DIR%%/rdoc/js/jquery.js
> +%%GEM_DOC_DIR%%/rdoc/js/navigation.js
> +%%GEM_DOC_DIR%%/rdoc/js/navigation.js.gz
> +%%GEM_DOC_DIR%%/rdoc/js/search.js
> +%%GEM_DOC_DIR%%/rdoc/js/search_index.js
> +%%GEM_DOC_DIR%%/rdoc/js/search_index.js.gz
> +%%GEM_DOC_DIR%%/rdoc/js/searcher.js
> +%%GEM_DOC_DIR%%/rdoc/js/searcher.js.gz
> +%%GEM_DOC_DIR%%/rdoc/table_of_contents.html
> +%%GEM_DOC_DIR%%/ri/HtmlToPlainText/cdesc-HtmlToPlainText.ri
> +%%GEM_DOC_DIR%%/ri/HtmlToPlainText/convert_to_text-i.ri
> +%%GEM_DOC_DIR%%/ri/HtmlToPlainText/word_wrap-i.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/Adapter/Hpricot/cdesc-Hpricot.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/Adapter/Hpricot/to_inline_css-i.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/Adapter/Hpricot/to_plain_text-i.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/Adapter/Hpricot/to_s-i.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/Adapter/Nokogiri/cdesc-Nokogiri.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/Adapter/Nokogiri/to_inline_css-i.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/Adapter/Nokogiri/to_plain_text-i.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/Adapter/Nokogiri/to_s-i.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/Adapter/cdesc-Adapter.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/Adapter/default-c.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/Adapter/find-c.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/Adapter/use%3d-c.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/Adapter/use-c.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/Warnings/cdesc-Warnings.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/append_query_string-i.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/base_dir-i.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/base_url-i.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/cdesc-Premailer.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/doc-i.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/html_file-i.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/is_media_query%3f-c.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/is_xhtml%3f-i.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/load_css_from_local_file%21-i.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/load_css_from_string-i.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/local_data%3f-c.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/media_type_ok%3f-i.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/new-c.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/processed_doc-i.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/unmergable_rules-i.ri
> +%%GEM_DOC_DIR%%/ri/Premailer/warnings-i.ri
> +%%GEM_DOC_DIR%%/ri/cache.ri
> +%%GEM_LIB_DIR%%/.gitignore
> +%%GEM_LIB_DIR%%/.jrubyrc
> +%%GEM_LIB_DIR%%/.travis.yml
> +%%GEM_LIB_DIR%%/.yardopts
> +%%GEM_LIB_DIR%%/Gemfile
> +%%GEM_LIB_DIR%%/LICENSE.md
> +%%GEM_LIB_DIR%%/README.md
> +%%GEM_LIB_DIR%%/bin/premailer
> +%%GEM_LIB_DIR%%/gemfiles/.ruby187.gemfile
> +%%GEM_LIB_DIR%%/init.rb
> +%%GEM_LIB_DIR%%/lib/premailer.rb
> +%%GEM_LIB_DIR%%/lib/premailer/adapter.rb
> +%%GEM_LIB_DIR%%/lib/premailer/adapter/hpricot.rb
> +%%GEM_LIB_DIR%%/lib/premailer/adapter/nokogiri.rb
> +%%GEM_LIB_DIR%%/lib/premailer/executor.rb
> +%%GEM_LIB_DIR%%/lib/premailer/html_to_plain_text.rb
> +%%GEM_LIB_DIR%%/lib/premailer/premailer.rb
> +%%GEM_LIB_DIR%%/lib/premailer/version.rb
> +%%GEM_LIB_DIR%%/local-premailer
> +%%GEM_LIB_DIR%%/misc/client_support.yaml
> +%%GEM_LIB_DIR%%/premailer.gemspec
> +%%GEM_LIB_DIR%%/rakefile.rb
> +%%GEM_LIB_DIR%%/test/files/base.html
> +%%GEM_LIB_DIR%%/test/files/chars.html
> +%%GEM_LIB_DIR%%/test/files/contact_bg.png
> +%%GEM_LIB_DIR%%/test/files/dialect.png
> +%%GEM_LIB_DIR%%/test/files/dots_end.png
> +%%GEM_LIB_DIR%%/test/files/dots_h.gif
> +%%GEM_LIB_DIR%%/test/files/html4.html
> +%%GEM_LIB_DIR%%/test/files/html_with_uri.html
> +%%GEM_LIB_DIR%%/test/files/ignore.css
> +%%GEM_LIB_DIR%%/test/files/ignore.html
> +%%GEM_LIB_DIR%%/test/files/import.css
> +%%GEM_LIB_DIR%%/test/files/inc/2009-placeholder.png
> +%%GEM_LIB_DIR%%/test/files/iso-8859-2.html
> +%%GEM_LIB_DIR%%/test/files/iso-8859-5.html
> +%%GEM_LIB_DIR%%/test/files/no_css.html
> +%%GEM_LIB_DIR%%/test/files/noimport.css
> +%%GEM_LIB_DIR%%/test/files/styles.css
> +%%GEM_LIB_DIR%%/test/files/xhtml.html
> +%%GEM_LIB_DIR%%/test/future_tests.rb
> +%%GEM_LIB_DIR%%/test/helper.rb
> +%%GEM_LIB_DIR%%/test/test_adapter.rb
> +%%GEM_LIB_DIR%%/test/test_html_to_plain_text.rb
> +%%GEM_LIB_DIR%%/test/test_links.rb
> +%%GEM_LIB_DIR%%/test/test_misc.rb
> +%%GEM_LIB_DIR%%/test/test_premailer.rb
> +%%GEM_LIB_DIR%%/test/test_warnings.rb
> +%%GEM_SPEC%%
> _______________________________________________
> svn-ports-all@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-ports-all
> To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMHz58RcE99QE7znBc%2BXh=J7wUbS3EFnDAyuwzXbm0V6a1fU1A>