Changeset 105965 for trunk/dports/ruby


Ignore:
Timestamp:
May 11, 2013, 9:09:58 AM (7 years ago)
Author:
ryandesign@…
Message:

rb-rmagick: whitespace and formatting changes; add modeline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/ruby/rb-rmagick/Portfile

    r105963 r105965  
     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
    12# $Id$
    23
    3 PortSystem              1.0
    4 PortGroup               ruby 1.0
     4PortSystem              1.0
     5PortGroup               ruby 1.0
    56
    67ruby.setup              RMagick 2.13.2 setup.rb {README.html examples} rubyforge:76735
    7 maintainers             nomaintainer
    8 description             The Ruby interface to ImageMagick
    9 long_description        RMagick is an interface between the Ruby programming \
    10                         language and the ImageMagick image processing library. It is \
    11                         fully featured and has good documentation.
    12 categories-append       graphics
    13 license                 MIT
    14 use_bzip2               yes
     8categories-append       graphics
     9platforms               darwin
     10maintainers             nomaintainer
     11license                 MIT
     12
     13description             The Ruby interface to ImageMagick
     14
     15long_description        RMagick is an interface between the Ruby programming \
     16                        language and the ImageMagick image processing library. It is \
     17                        fully featured and has good documentation.
     18
     19use_bzip2               yes
    1520
    1621checksums               rmd160  c4be179241f9e72b00ac9991bdfa4ea0c958362c \
    1722                        shaw56  a5bb201ecc1e2ac769068c72666a0edca67c089
    1823
    19 platforms               darwin
    20 
    21 depends_lib-append      port:ImageMagick
     24depends_lib-append      port:ImageMagick
    2225
    2326pre-configure {
    24         foreach exe {wmf2eps gs} {
    25                 if {[catch {set found [binaryInPath ${exe}]}] != 0} {
    26                         ui_warn "${exe} is not installed, some RMagick examples will fail."
    27                 } else {
    28                         ui_info "${exe} found: ${found}"
    29                 }
    30         }
     27    foreach exe {wmf2eps gs} {
     28        if {[catch {set found [binaryInPath ${exe}]}] != 0} {
     29            ui_warn "${exe} is not installed, some RMagick examples will fail."
     30        } else {
     31            ui_info "${exe} found: ${found}"
     32        }
     33    }
    3134}
    32 configure.args  --doc-dir=${prefix}/share/doc/${name}/userguide \
    33                                 --allow-example-errors
     35
     36configure.args          --doc-dir=${prefix}/share/doc/${name}/userguide \
     37                        --allow-example-errors
Note: See TracChangeset for help on using the changeset viewer.