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

Last change on this file since 26293 was 26293, checked in by ryandesign@…, 11 years ago

ImageMagick: Update to 6.3.4-10

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.9 KB
Line 
1# $Id: Portfile 26293 2007-06-18 16:20:06Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                ImageMagick
6set milestone       6.3.4
7set patchlevel      10
8version             ${milestone}-${patchlevel}
9homepage            http://www.imagemagick.org/
10categories          graphics devel
11maintainers         ryandesign
12use_bzip2           yes
13worksrcdir          ${name}-${milestone}
14platforms           darwin
15
16description \
17        Tools and libraries to manipulate images in many formats
18
19long_description \
20        ImageMagick is a robust collection of tools and libraries to \
21        create, edit and compose bitmap images in a wide variety of \
22        formats. You can crop, resize, rotate, sharpen, color reduce or \
23        add effects or text or straight or curved lines to an image or \
24        image sequence and save your completed work in the same or \
25        differing image format. You can even create images from scratch. \
26        Image processing operations are available from the command line as \
27        well as through C, Ch, C++, Java, Perl, PHP, Python, Ruby and Tcl/Tk \
28        programming interfaces. Over 90 image formats are supported, \
29        including GIF, JPEG, JPEG 2000, PNG, PDF, PhotoCD and TIFF.
30
31master_sites \
32        http://image_magick.veidrodis.com/image_magick/ \
33        http://imagemagick.linux-mirror.org/download/ \
34        http://ftp.surfnet.nl/pub/ImageMagick/ \
35        sourceforge:imagemagick \
36        ftp://ftp.imagemagick.net/pub/${name}/ \
37        ftp://ftp.fifi.org/pub/ImageMagick/ \
38        ftp://ftp.nluug.nl/pub/${name}/
39
40checksums \
41        md5 599fd90915204c40e15fbd9d251ab071 \
42        sha1 65ebe734db8f93666350bfe137a1b2bf96f03c0e \
43        rmd160 8f8e624fccc9a26f5aa7ac3158cbc0031eb7a804
44
45depends_lib \
46        port:pkgconfig \
47        lib:libX11.6:XFree86 \
48        port:bzip2 \
49        port:jpeg \
50        port:libpng \
51        port:tiff \
52        port:zlib \
53        port:freetype \
54        port:fontconfig \
55        port:libiconv \
56        port:expat \
57        port:libxml2
58
59configure.args \
60        --enable-shared \
61        --disable-static \
62        --disable-ltdl-install \
63        --with-dps \
64        --with-ttf \
65        --with-bzlib \
66        --with-jpeg \
67        --with-png \
68        --with-tiff \
69        --with-zlib \
70        --with-modules \
71        --with-xml \
72        --with-x \
73        --without-perl \
74        --without-fpx \
75        --without-gslib \
76        --without-jbig \
77        --without-jp2 \
78        --without-lcms \
79        --without-wmf \
80        --without-gvc \
81        --mandir=${prefix}/share/man
82
83test.run            yes
84test.target         check
85test.env            DYLD_LIBRARY_PATH=${worksrcpath}/magick/.libs
86
87variant perl {
88        depends_lib-append \
89                port:perl5.8
90        configure.args-delete \
91                --without-perl
92        configure.args-append \
93                --with-perl=${prefix}/bin/perl
94}
95
96# Using gplghostscript instead of ghostscript as the former provides
97# libgs and the latter appears not to at this time
98variant gs {
99        depends_lib-append \
100                port:gplghostscript
101        configure.args-delete \
102                --without-gslib
103        configure.args-append \
104                --with-gslib
105}
106
107variant lcms {
108        depends_lib-append \
109                port:lcms
110        configure.args-delete \
111                --without-lcms
112        configure.args-append \
113                --with-lcms
114}
115
116variant wmf {
117        depends_lib-append \
118                port:libwmf
119        configure.args-delete \
120                --without-wmf
121        configure.args-append \
122                --with-wmf
123}
124
125variant mpeg {
126        depends_lib-append \
127                port:mpeg2vidcodec
128}
129
130variant jbig {
131        depends_lib-append \
132                port:jbigkit
133        configure.args-delete \
134                --without-jbig
135        configure.args-append \
136                --with-jbig
137}
138
139variant jpeg2 {
140        depends_lib-append \
141                port:jasper
142        configure.args-delete \
143                --without-jp2
144        configure.args-append \
145                --with-jp2
146}
147
148variant graphviz {
149        depends_lib-append \
150                port:graphviz
151        configure.args-delete \
152                --without-gvc
153        configure.args-append \
154                --with-gvc
155}
156
157variant nox11 {
158        depends_lib-delete \
159                lib:libX11.6:XFree86
160        configure.args-delete \
161                --with-x
162        configure.args-append \
163                --without-x
164}
165
166variant no-plus-plus {
167        configure.args-append \
168                --without-magick-plus-plus
169}
170
171platform darwin 6 {
172        depends_lib-append \
173                lib:libdl:dlcompat \
174                lib:libltdl:libtool
175}
176
177platform darwin 8 {
178        configure.env-append \
179                CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
180}
181
182livecheck.check     moddate
183livecheck.url       ftp://ftp.imagemagick.net/pub/${name}/${name}.tar.bz2
Note: See TracBrowser for help on using the repository browser.