source: trunk/dports/graphics/ImageMagick/Portfile @ 20308

Last change on this file since 20308 was 20308, checked in by blair@…, 14 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.1 KB
Line 
1# $Id: Portfile 20308 2006-11-01 21:23:28Z blair@macports.org $
2
3PortSystem                      1.0
4name                            ImageMagick
5version                         6.3.0-0
6categories                      graphics devel
7maintainers                     darwinports@opendarwin.org
8description                     Tools and libraries to manipulate images in many formats
9long_description \
10        A robust collection of tools and libraries to read, write, and \
11        manipulate an image in many image formats (over 87 major formats) \
12        including popular formats like TIFF, JPEG, PNG, PDF, PhotoCD, and GIF.  \
13        With ImageMagick you can create images dynamically, making it suitable \
14        for Web applications. You can also resize, rotate, sharpen, color \
15        reduce, or add special effects to an image or image sequence and save \
16        your completed work in the same or differing image format. Image \
17        processing operations are available from the command line, as well as \
18        through C, C++, Perl, or Java programming interfaces.
19
20platforms                       darwin
21
22homepage                        http://www.imagemagick.org/
23master_sites            sourceforge:imagemagick \
24                                        ftp://ftp.fifi.org/pub/ImageMagick/ \
25                                        ftp://ftp.nluug.nl/pub/${name}/ \
26                                        ftp://ftp.imagemagick.org/pub/${name}/ \
27                                        ftp://ftp.imagemagick.net/pub/${name}/
28use_bzip2                       yes
29checksums                       md5 b14f36cb31b677a4c03621f9b9975171 \
30                                        sha1 0b4a9f69a189540cc3a3fad0f858bf918f9a3229 \
31                                        rmd160 e3a75c993db42d2908cff9e77e47562dbf1507e3
32
33worksrcdir                      ${name}-6.3.0
34
35depends_lib                     port:bzip2 port:jpeg port:libpng port:tiff \
36                                        port:zlib port:freetype port:libxml2
37
38configure.env           CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
39configure.args          --enable-shared --disable-static --disable-ltdl-install \
40                                        --with-dps --with-ttf --with-bzlib --with-jpeg \
41                                        --with-png --with-tiff --with-zlib --with-modules \
42                                        --with-xml \
43                                        --without-x --without-perl --without-fpx \
44                                        --without-gslib --without-jbig --without-jp2 \
45                                        --without-lcms --without-wmf --without-gvc \
46                                        --mandir=${prefix}/share/man
47
48# Using gplghostscript instead of ghostscript as the former provides
49# libgs and the latter appears not to at this time
50variant gs {       
51        depends_lib-append              port:gplghostscript
52        configure.args-delete   --without-gslib
53        configure.args-append   --with-gslib
54}
55
56variant lcms {
57        depends_lib-append              port:lcms
58        configure.args-delete   --without-lcms
59        configure.args-append   --with-lcms
60}
61
62variant wmf {
63        depends_lib-append              port:libwmf
64        configure.args-delete   --without-wmf
65        configure.args-append   --with-wmf
66}
67
68variant mpeg {
69        depends_lib-append              port:mpeg2vidcodec
70}
71
72variant jbig {
73        depends_lib-append              port:jbigkit
74        configure.args-delete   --without-jbig
75        configure.args-append   --with-jbig
76}
77
78variant jpeg2 {
79        depends_lib-append              port:jasper
80        configure.args-delete   --without-jp2
81        configure.args-append   --with-jp2
82}
83
84variant graphviz {
85        depends_lib-append              port:graphviz
86        configure.args-delete   --without-gvc
87        configure.args-append   --with-gvc
88}
89
90variant x11 {
91        depends_lib-append              lib:libX11.6:XFree86
92        configure.args-delete   --without-x
93        configure.args-append   --with-x
94}
95
96variant no-plus-plus {
97        configure.args-append   --without-magick-plus-plus
98}
99
100platform darwin 6 {
101        depends_lib-append      lib:libdl:dlcompat lib:libltdl:libtool
102}
103
104platform darwin 8 {
105        configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
106}
Note: See TracBrowser for help on using the repository browser.