# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup ruby 1.0 PortGroup github 1.0 PortGroup active_variants 1.1 github.setup rmagick rmagick 2-13-3 RMagick_ version [string map {- .} ${github.version}] ruby.setup RMagick ${version} setup.rb {README examples} categories-append graphics platforms darwin maintainers nomaintainer license MIT description The Ruby interface to ImageMagick long_description RMagick is an interface between the Ruby programming \ language and the ImageMagick image processing library. It is \ fully featured and has good documentation. homepage https://rmagick.github.io checksums rmd160 84f99ad91fbc6ba4973b4e97e3ca8adbc6a508da \ sha256 cc883db1591c5caea6c7be15841509e65d1231cf5b1adc936b2fe6126ed4bb2f depends_lib-append port:ImageMagick require_active_variants ImageMagick wmf pre-configure { foreach exe {wmf2eps gs} { if {[catch {set found [binaryInPath ${exe}]}] != 0} { ui_warn "${exe} is not installed, some RMagick examples will fail." } else { ui_info "${exe} found: ${found}" } } } configure.args --doc-dir=${prefix}/share/doc/${name}/userguide \ --allow-example-errors