1 | # $Id: Portfile,v 1.4 2005/01/27 00:29:06 rshaw Exp $ |
---|
2 | PortSystem 1.0 |
---|
3 | PortGroup ruby 1.0 |
---|
4 | |
---|
5 | ruby.setup RMagick 1.9.2 gnu {README.html README.txt examples} \ |
---|
6 | rubyforge:6074 |
---|
7 | maintainers shu@rufuran.org |
---|
8 | description The Ruby interface to ImageMagick and GraphicsMagick |
---|
9 | long_description RMagick is an interface between the Ruby programming \ |
---|
10 | language and the ImageMagick (tm) and GraphicsMagick \ |
---|
11 | image processing libraries. It is fully featured and \ |
---|
12 | has good documentation. |
---|
13 | categories-append graphics |
---|
14 | use_bzip2 yes |
---|
15 | checksums md5 09292d22e60455d041d4bfcb7c6a841e |
---|
16 | platforms darwin |
---|
17 | |
---|
18 | depends_lib-append lib:libMagick:ImageMagick |
---|
19 | |
---|
20 | pre-configure { |
---|
21 | foreach exe {wmf2eps gs} { |
---|
22 | if {[catch {set found [binaryInPath ${exe}]}] != 0} { |
---|
23 | ui_warn "${exe} is not installed, some RMagick examples will fail." |
---|
24 | } else { |
---|
25 | ui_info "${exe} found: ${found}" |
---|
26 | } |
---|
27 | } |
---|
28 | } |
---|
29 | configure.args --with-doc-dir=${prefix}/share/doc/${name}/userguide \ |
---|
30 | --enable-allow-example-errors |
---|
31 | configure.env CC=/usr/bin/gcc-3.3 CPP=/usr/bin/cpp-3.3 |
---|
32 | |
---|