Skip to content

Commit

Permalink
ruby/rb-rcairo, rb19-rcairo: update to 1.14.3 (#54495)
Browse files Browse the repository at this point in the history
- homepage was moved to github
- the latest version 1.15.x series do not support ruby-2.0 or earlier
  • Loading branch information
kimuraw committed Jul 26, 2017
1 parent da0e8f0 commit f70f3c8
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
28 changes: 14 additions & 14 deletions ruby/rb-rcairo/Portfile
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
PortSystem 1.0
PortGroup muniversal 1.0
PortGroup ruby 1.0
PortGroup github 1.0

ruby.setup rcairo 1.12.6 extconf.rb {README.rdoc COPYING GPL samples}
# note: rcairo version 1.15.x not supports ruby-2.0 or earlier
ruby.setup rcairo 1.14.3 extconf.rb {README.rdoc COPYING GPL samples}
revision 0
maintainers kimuraw
maintainers kimuraw openmaintainer
description Ruby bindings for cairo
long_description \
Ruby bindings for Cairo. Cairo is a 2D graphics library \
with support for multiple output devices.
categories-append graphics
checksums md5 6e1771916e0c9c466261ba41d5212af3 \
rmd160 eb3c11d9789aa8c5094a47348c231196022501a4 \
sha1 d3521beb774f80da1d6be5bf9825f9fbc9a9fdc5 \
sha256 e7ff8d49a730662b3f999187fde45ac0b8651996fe7f9a952496be8b6e45800e
license Ruby
platforms darwin

checksums md5 6256920a7e17e3a1bfa44e99d91f99b7 \
rmd160 fa3a9a6091efa086d36e1efafe16914f3ca2ec98 \
sha1 354a3d22af742c16cf0688769ef9ce5b78238dee \
sha256 dbc159b1cc183ec8cf701ba17f00fd1d265b5e1937c20f5aef7615399a8bf7a8

# disable post-extract from ruby.setup
post-extract { file delete ${worksrcpath} }
github.setup rcairo rcairo ${version} v
configure.cmd ${ruby.bin} -rubygems ext/cairo/extconf.rb
depends_lib-append path:lib/pkgconfig/cairo.pc:cairo \
port:rb-pkg-config
configure.env-append PKG_CONFIG=${prefix}/bin/pkg-config
configure.args-append --vendor

homepage https://www.cairographics.org/rcairo/
master_sites https://www.cairographics.org/releases/
license Ruby

livecheck.type regex
livecheck.url ${homepage}
livecheck.regex {The latest version is <a href="http://cairographics.org/releases/rcairo-([\d.]+).tar.gz">}
28 changes: 14 additions & 14 deletions ruby/rb19-rcairo/Portfile
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
PortSystem 1.0
PortGroup ruby 1.0
PortGroup github 1.0

ruby.setup rcairo 1.12.6 extconf.rb \
# note: rcairo version 1.15.x not supports ruby-2.0 or earlier
ruby.setup rcairo 1.14.3 extconf.rb \
{README.rdoc COPYING GPL samples} {} ruby19
maintainers kimuraw
maintainers kimuraw openmaintainer
description Ruby bindings for cairo
long_description \
Ruby bindings for Cairo. Cairo is a 2D graphics library \
with support for multiple output devices.
categories-append graphics
checksums md5 6e1771916e0c9c466261ba41d5212af3 \
rmd160 eb3c11d9789aa8c5094a47348c231196022501a4 \
sha1 d3521beb774f80da1d6be5bf9825f9fbc9a9fdc5 \
sha256 e7ff8d49a730662b3f999187fde45ac0b8651996fe7f9a952496be8b6e45800e
license Ruby
platforms darwin

checksums md5 6256920a7e17e3a1bfa44e99d91f99b7 \
rmd160 fa3a9a6091efa086d36e1efafe16914f3ca2ec98 \
sha1 354a3d22af742c16cf0688769ef9ce5b78238dee \
sha256 dbc159b1cc183ec8cf701ba17f00fd1d265b5e1937c20f5aef7615399a8bf7a8

# disable post-extract from ruby.setup
post-extract { file delete ${worksrcpath} }
github.setup rcairo rcairo ${version} v
configure.cmd ${ruby.bin} -rubygems ext/cairo/extconf.rb
depends_lib-append path:lib/pkgconfig/cairo.pc:cairo \
port:rb19-pkg-config
configure.env-append PKG_CONFIG=${prefix}/bin/pkg-config
configure.args-append --vendor

homepage https://www.cairographics.org/rcairo/
master_sites https://www.cairographics.org/releases/
license Ruby

livecheck.type regex
livecheck.url ${homepage}
livecheck.regex {The latest version is <a href="http://cairographics.org/releases/rcairo-([\d.]+).tar.gz">}

0 comments on commit f70f3c8

Please sign in to comment.