Ticket #38134: ImageMagick.diff
File ImageMagick.diff, 4.8 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago) |
---|
-
Portfile
8 8 # Keep relevant lines in sync between ImageMagick and p5-perlmagick. 9 9 10 10 name ImageMagick 11 version 6.8.0-7 12 revision 2 11 version 6.8.5-5 13 12 set reasonable_version [lindex [split ${version} -] 0] 14 13 homepage http://www.imagemagick.org/ 15 14 categories graphics devel … … 39 38 ftp://ftp.sunet.se/pub/multimedia/graphics/ImageMagick \ 40 39 ftp://sunsite.icm.edu.pl/packages/ImageMagick 41 40 42 checksums rmd160 fec9dd84690d8f4502db1e62f40ee96e55066ba9\43 sha256 e15672c8c11148bcfcd95885e1cd7a5575d4a6984bdf0a3a1c718a2a6ad3743541 checksums rmd160 baf1e3a7c898c3ca2476bc4d26acc337422d6fe3 \ 42 sha256 a57a58307df6730a3ec33a3bdfff9451f6ded4b4ab78cab33c6e4009dc76b842 44 43 45 depends_lib port:xorg-libXext \ 46 port:xorg-libXt \ 47 port:bzip2 \ 44 depends_lib port:bzip2 \ 48 45 port:xz \ 49 46 port:jpeg \ 50 47 port:lcms2 \ … … 66 63 67 64 depends_run port:urw-fonts 68 65 69 archcheck.files lib/libXext.dylib \ 70 lib/libXt.dylib \ 71 lib/libbz2.dylib \ 66 archcheck.files lib/libbz2.dylib \ 72 67 lib/libjpeg.dylib \ 73 68 lib/liblcms2.dylib \ 74 69 lib/libpng.dylib \ … … 109 104 --with-zlib \ 110 105 --with-modules \ 111 106 --with-xml \ 112 --with-x \113 107 --without-perl \ 114 108 --without-fpx \ 115 109 --without-jbig \ … … 119 113 --without-rsvg \ 120 114 --without-lqr \ 121 115 --without-pango \ 116 --without-x \ 122 117 --with-gs-font-dir=${prefix}/share/fonts/urw-fonts 123 118 124 119 test.run yes … … 132 127 configure.args-append --with-gvc 133 128 } 134 129 135 variant hdri description {Support High Dynamic Range Imaging using OpenEXR} {136 depends_lib-append port:openexr137 archcheck.files-append lib/libIlmImf.dylib138 configure.args-delete --without-openexr \139 --disable-hdri140 configure.args-append --with-openexr \141 --enable-hdri142 }143 144 130 variant jbig description {Support JBIG} { 145 131 depends_lib-append port:jbigkit 146 132 archcheck.files-append lib/libjbig.dylib … … 169 155 configure.args-append --with-pango 170 156 } 171 157 172 variant no_x11 {173 depends_lib-delete port:xorg-libXext \174 port:xorg-libXt175 archcheck.files-delete lib/libXext.dylib \176 lib/libXt.dylib177 configure.args-delete --with-x178 configure.args-append --without-x179 }180 181 158 # Legacy perl variant to be removed after May 2014. 182 159 variant perl description {Obsolete variant} { 183 160 pre-configure { … … 185 162 } 186 163 } 187 164 188 variant q8 conflicts q16 q32 description {Use 8 bits per pixel quantum} {189 configure.args-append --with-quantum-depth=8190 }191 variant q16 conflicts q8 q32 description {Use 16 bits per pixel quantum} {192 configure.args-append --with-quantum-depth=16193 }194 variant q32 conflicts q8 q16 description {Use 32 bits per pixel quantum} {195 configure.args-append --with-quantum-depth=32196 }197 if {![variant_isset q8] && ![variant_isset q32]} {198 default_variants +q16199 }200 201 165 variant rsvg description {Support SVG using librsvg} { 202 166 depends_lib-append port:librsvg 203 167 archcheck.files-append lib/librsvg-2.dylib … … 212 176 configure.args-append --with-wmf 213 177 } 214 178 179 # Legacy no_x11 variant to be removed after May 2014. 180 variant no_x11 conflicts x11 description {Legacy compatibility variant} {} 181 182 variant x11 conflicts no_x11 { 183 depends_lib-append port:xorg-libXext \ 184 port:xorg-libXt 185 archcheck.files-append lib/libXext.dylib \ 186 lib/libXt.dylib 187 configure.args-append --with-x 188 configure.args-delete --without-x 189 } 190 191 if {[variant_isset no_x11]} { 192 default_variants -x11 193 } else { 194 default_variants +x11 195 } 196 215 197 livecheck.version ${reasonable_version} 216 198 livecheck.type regex 217 199 livecheck.url [lindex ${master_sites} 0]