Ticket #5720: Portfile

File Portfile, 1.0 KB (added by pkern@…, 18 years ago)

ruby/rb-rmagick Portfile

Line 
1# $Id: Portfile,v 1.4 2005/01/27 00:29:06 rshaw Exp $
2PortSystem              1.0
3PortGroup               ruby 1.0
4
5ruby.setup              RMagick 1.9.2 gnu {README.html README.txt examples} \
6                        rubyforge:6074
7maintainers             shu@rufuran.org
8description             The Ruby interface to ImageMagick and GraphicsMagick
9long_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.
13categories-append       graphics
14use_bzip2               yes
15checksums               md5 09292d22e60455d041d4bfcb7c6a841e
16platforms               darwin
17
18depends_lib-append      lib:libMagick:ImageMagick
19
20pre-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}
29configure.args  --with-doc-dir=${prefix}/share/doc/${name}/userguide \
30                                --enable-allow-example-errors
31configure.env   CC=/usr/bin/gcc-3.3 CPP=/usr/bin/cpp-3.3
32