source: trunk/dports/ruby/rb-rmagick/Portfile

Last change on this file was 152688, checked in by ryandesign@…, 11 months ago

rb-rmagick: update homepage

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- 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
2# $Id: Portfile 152688 2016-09-14 20:16:06Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               ruby 1.0
6PortGroup               github 1.0
7PortGroup               active_variants 1.1
8
9github.setup            rmagick rmagick 2-13-3 RMagick_
10version                 [string map {- .} ${github.version}]
11ruby.setup              RMagick ${version} setup.rb {README examples}
12categories-append       graphics
13platforms               darwin
14maintainers             nomaintainer
15license                 MIT
16
17description             The Ruby interface to ImageMagick
18
19long_description        RMagick is an interface between the Ruby programming \
20                        language and the ImageMagick image processing library. It is \
21                        fully featured and has good documentation.
22
23homepage                https://rmagick.github.io
24
25checksums               rmd160  84f99ad91fbc6ba4973b4e97e3ca8adbc6a508da \
26                        sha256  cc883db1591c5caea6c7be15841509e65d1231cf5b1adc936b2fe6126ed4bb2f
27
28depends_lib-append      port:ImageMagick
29require_active_variants ImageMagick wmf
30
31pre-configure {
32    foreach exe {wmf2eps gs} {
33        if {[catch {set found [binaryInPath ${exe}]}] != 0} {
34            ui_warn "${exe} is not installed, some RMagick examples will fail."
35        } else {
36            ui_info "${exe} found: ${found}"
37        }
38    }
39}
40
41configure.args          --doc-dir=${prefix}/share/doc/${name}/userguide \
42                        --allow-example-errors
Note: See TracBrowser for help on using the repository browser.