Ticket #38134: ImageMagick.diff

File ImageMagick.diff, 4.8 KB (added by ryandesign (Ryan Carsten Schmidt), 11 years ago)
  • Portfile

     
    88# Keep relevant lines in sync between ImageMagick and p5-perlmagick.
    99
    1010name                        ImageMagick
    11 version                     6.8.0-7
    12 revision                    2
     11version                     6.8.5-5
    1312set reasonable_version      [lindex [split ${version} -] 0]
    1413homepage                    http://www.imagemagick.org/
    1514categories                  graphics devel
     
    3938                            ftp://ftp.sunet.se/pub/multimedia/graphics/ImageMagick \
    4039                            ftp://sunsite.icm.edu.pl/packages/ImageMagick
    4140
    42 checksums                   rmd160  fec9dd84690d8f4502db1e62f40ee96e55066ba9 \
    43                             sha256  e15672c8c11148bcfcd95885e1cd7a5575d4a6984bdf0a3a1c718a2a6ad37435
     41checksums                   rmd160  baf1e3a7c898c3ca2476bc4d26acc337422d6fe3 \
     42                            sha256  a57a58307df6730a3ec33a3bdfff9451f6ded4b4ab78cab33c6e4009dc76b842
    4443
    45 depends_lib                 port:xorg-libXext \
    46                             port:xorg-libXt \
    47                             port:bzip2 \
     44depends_lib                 port:bzip2 \
    4845                            port:xz \
    4946                            port:jpeg \
    5047                            port:lcms2 \
     
    6663
    6764depends_run                 port:urw-fonts
    6865
    69 archcheck.files             lib/libXext.dylib \
    70                             lib/libXt.dylib \
    71                             lib/libbz2.dylib \
     66archcheck.files             lib/libbz2.dylib \
    7267                            lib/libjpeg.dylib \
    7368                            lib/liblcms2.dylib \
    7469                            lib/libpng.dylib \
     
    109104                            --with-zlib \
    110105                            --with-modules \
    111106                            --with-xml \
    112                             --with-x \
    113107                            --without-perl \
    114108                            --without-fpx \
    115109                            --without-jbig \
     
    119113                            --without-rsvg \
    120114                            --without-lqr \
    121115                            --without-pango \
     116                            --without-x \
    122117                            --with-gs-font-dir=${prefix}/share/fonts/urw-fonts
    123118
    124119test.run                    yes
     
    132127    configure.args-append   --with-gvc
    133128}
    134129
    135 variant hdri description {Support High Dynamic Range Imaging using OpenEXR} {
    136     depends_lib-append      port:openexr
    137     archcheck.files-append  lib/libIlmImf.dylib
    138     configure.args-delete   --without-openexr \
    139                             --disable-hdri
    140     configure.args-append   --with-openexr \
    141                             --enable-hdri
    142 }
    143 
    144130variant jbig description {Support JBIG} {
    145131    depends_lib-append      port:jbigkit
    146132    archcheck.files-append  lib/libjbig.dylib
     
    169155    configure.args-append   --with-pango
    170156}
    171157
    172 variant no_x11 {
    173     depends_lib-delete      port:xorg-libXext \
    174                             port:xorg-libXt
    175     archcheck.files-delete  lib/libXext.dylib \
    176                             lib/libXt.dylib
    177     configure.args-delete   --with-x
    178     configure.args-append   --without-x
    179 }
    180 
    181158# Legacy perl variant to be removed after May 2014.
    182159variant perl description {Obsolete variant} {
    183160    pre-configure {
     
    185162    }
    186163}
    187164
    188 variant q8 conflicts q16 q32 description {Use 8 bits per pixel quantum} {
    189     configure.args-append   --with-quantum-depth=8
    190 }
    191 variant q16 conflicts q8 q32 description {Use 16 bits per pixel quantum} {
    192     configure.args-append   --with-quantum-depth=16
    193 }
    194 variant q32 conflicts q8 q16 description {Use 32 bits per pixel quantum} {
    195     configure.args-append   --with-quantum-depth=32
    196 }
    197 if {![variant_isset q8] && ![variant_isset q32]} {
    198     default_variants +q16
    199 }
    200 
    201165variant rsvg description {Support SVG using librsvg} {
    202166    depends_lib-append      port:librsvg
    203167    archcheck.files-append  lib/librsvg-2.dylib
     
    212176    configure.args-append   --with-wmf
    213177}
    214178
     179# Legacy no_x11 variant to be removed after May 2014.
     180variant no_x11 conflicts x11 description {Legacy compatibility variant} {}
     181
     182variant 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
     191if {[variant_isset no_x11]} {
     192    default_variants -x11
     193} else {
     194    default_variants +x11
     195}
     196
    215197livecheck.version           ${reasonable_version}
    216198livecheck.type              regex
    217199livecheck.url               [lindex ${master_sites} 0]