PortSystem             1.0
PortGroup              ruby 1.0
PortGroup              github 1.0

github.setup           xml4r libxml-ruby 2_3_4 REL_
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from    tarball
version                [string map {_ .} ${github.version}]
ruby.setup             {libxml2 libxml-ruby} ${version} setup.rb {}
categories-append      textproc
maintainers            nomaintainer

description            Ruby bindings for libxml2

long_description       C-language Ruby binding to the Gnome libxml2 \
                       library, supporting a wide range of XML technologies and offering very \
                       competitive performance across the board.

homepage               https://xml4r.github.io/libxml-ruby/

checksums              md5     8a402ec46a1e0c60036fca2ef0d9ab96 \
                       sha1    421af6ac090146ed7d9e541c2a83aff85bfeefc4 \
                       rmd160  551e6795a9c9accd5e7501e056f4c351d20fbdd0

depends_lib-append     port:libxml2 \
                       port:zlib \
                       port:libiconv
