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

Last change on this file since 24096 was 23952, checked in by ryandesign@…, 13 years ago

Upgrade to 6.3.3-7

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