[64099] trunk/dports/graphics/ImageMagick/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Feb 22 03:14:18 PST 2010


Revision: 64099
          http://trac.macports.org/changeset/64099
Author:   ryandesign at macports.org
Date:     2010-02-22 03:14:15 -0800 (Mon, 22 Feb 2010)
Log Message:
-----------
ImageMagick: whitespace / formatting changes only

Modified Paths:
--------------
    trunk/dports/graphics/ImageMagick/Portfile

Modified: trunk/dports/graphics/ImageMagick/Portfile
===================================================================
--- trunk/dports/graphics/ImageMagick/Portfile	2010-02-22 09:54:31 UTC (rev 64098)
+++ trunk/dports/graphics/ImageMagick/Portfile	2010-02-22 11:14:15 UTC (rev 64099)
@@ -1,64 +1,62 @@
 # $Id$
 
-PortSystem              1.0
+PortSystem                  1.0
 
-name                    ImageMagick
-conflicts               cryptlib
-version                 6.5.9-9
-set reasonable_version  [lindex [split ${version} -] 0]
-homepage                http://www.imagemagick.org/
-categories              graphics devel
-maintainers             ryandesign
-license                 ImageMagick
-use_7z                  yes
-platforms               darwin
-use_parallel_build      yes
+name                        ImageMagick
+conflicts                   cryptlib
+version                     6.5.9-9
+set reasonable_version      [lindex [split ${version} -] 0]
+homepage                    http://www.imagemagick.org/
+categories                  graphics devel
+maintainers                 ryandesign
+license                     ImageMagick
+use_7z                      yes
+platforms                   darwin
+use_parallel_build          yes
 
-description \
-    Tools and libraries to manipulate images in many formats
+description                 Tools and libraries to manipulate images in many formats
 
-long_description \
-    ImageMagick is a robust collection of tools and libraries to \
-    create, edit and compose bitmap images in a wide variety of \
-    formats. You can crop, resize, rotate, sharpen, color reduce or \
-    add effects or text or straight or curved lines to an image or \
-    image sequence and save your completed work in the same or \
-    differing image format. You can even create images from scratch. \
-    Image processing operations are available from the command line as \
-    well as through C, Ch, C++, Java, Perl, PHP, Python, Ruby and Tcl/Tk \
-    programming interfaces. Over 90 image formats are supported, \
-    including GIF, JPEG, JPEG 2000, PNG, PDF, PhotoCD and TIFF.
+long_description            ImageMagick is a robust collection of tools and \
+                            libraries to create, edit and compose bitmap images \
+                            in a wide variety of formats. You can crop, resize, \
+                            rotate, sharpen, color reduce or add effects or text \
+                            or straight or curved lines to an image or image \
+                            sequence and save your completed work in the same or \
+                            differing image format. You can even create images \
+                            from scratch. Image processing operations are \
+                            available from the command line as well as through \
+                            C, Ch, C++, Java, Perl, PHP, Python, Ruby and Tcl/Tk \
+                            programming interfaces. Over 90 image formats are \
+                            supported, including GIF, JPEG, JPEG 2000, PNG, PDF, \
+                            PhotoCD and TIFF.
 
-master_sites \
-    http://image_magick.veidrodis.com/image_magick/ \
-    http://imagemagick.linux-mirror.org/download/ \
-    ftp://ftp.imagemagick.net/pub/${name}/ \
-    ftp://ftp.fifi.org/pub/ImageMagick/
-#    sourceforge:imagemagick
-#    http://ftp.surfnet.nl/pub/ImageMagick/ \
-#    ftp://ftp.nluug.nl/pub/${name}/ \
+master_sites                http://image_magick.veidrodis.com/image_magick/ \
+                            http://imagemagick.linux-mirror.org/download/ \
+                            ftp://ftp.imagemagick.net/pub/${name}/ \
+                            ftp://ftp.fifi.org/pub/ImageMagick/
+#                            sourceforge:imagemagick
+#                            http://ftp.surfnet.nl/pub/ImageMagick/ \
+#                            ftp://ftp.nluug.nl/pub/${name}/ \
 
-checksums               md5     a0084ccdb2604d3a9a18b32007d561d6 \
-                        sha1    ae973ceead4488bee64f81b1b276732366ee4a63 \
-                        rmd160  ee07851206560aa4e61348d197883beb2451e521
+checksums                   md5     a0084ccdb2604d3a9a18b32007d561d6 \
+                            sha1    ae973ceead4488bee64f81b1b276732366ee4a63 \
+                            rmd160  ee07851206560aa4e61348d197883beb2451e521
 
-depends_lib \
-    port:xorg-libXext \
-    port:xorg-libXt \
-    port:bzip2 \
-    port:jpeg \
-    port:lcms \
-    port:libpng \
-    port:tiff \
-    port:zlib \
-    port:freetype \
-    port:fontconfig \
-    port:libiconv \
-    port:expat \
-    port:libxml2
+depends_build               port:pkgconfig
 
-depends_build \
-    port:pkgconfig
+depends_lib                 port:xorg-libXext \
+                            port:xorg-libXt \
+                            port:bzip2 \
+                            port:jpeg \
+                            port:lcms \
+                            port:libpng \
+                            port:tiff \
+                            port:zlib \
+                            port:freetype \
+                            port:fontconfig \
+                            port:libiconv \
+                            port:expat \
+                            port:libxml2
 
 pre-configure {
     if {[file exists ${prefix}/lib/libcl.dylib]} {
@@ -68,33 +66,32 @@
     }
 }
 
-configure.args \
-    --enable-shared \
-    --enable-static \
-    --disable-ltdl-install \
-    --with-frozenpaths \
-    --without-openexr \
-    --disable-hdri \
-    --with-dps \
-    --with-bzlib \
-    --with-fontconfig \
-    --with-jpeg \
-    --with-lcms \
-    --with-png \
-    --with-tiff \
-    --with-zlib \
-    --with-modules \
-    --with-xml \
-    --with-x \
-    --without-perl \
-    --without-fpx \
-    --without-gslib \
-    --without-jbig \
-    --without-jp2 \
-    --without-wmf \
-    --without-gvc \
-    --without-rsvg \
-    --without-lqr
+configure.args              --enable-shared \
+                            --enable-static \
+                            --disable-ltdl-install \
+                            --with-frozenpaths \
+                            --without-openexr \
+                            --disable-hdri \
+                            --with-dps \
+                            --with-bzlib \
+                            --with-fontconfig \
+                            --with-jpeg \
+                            --with-lcms \
+                            --with-png \
+                            --with-tiff \
+                            --with-zlib \
+                            --with-modules \
+                            --with-xml \
+                            --with-x \
+                            --without-perl \
+                            --without-fpx \
+                            --without-gslib \
+                            --without-jbig \
+                            --without-jp2 \
+                            --without-wmf \
+                            --without-gvc \
+                            --without-rsvg \
+                            --without-lqr
 
 post-configure {
     reinplace -E {s|-arch [^ ]+||g} \
@@ -105,140 +102,105 @@
         ${worksrcpath}/wand/Wand-config
 }
 
-test.run                yes
-test.target             check
-test.env                DYLD_LIBRARY_PATH=${worksrcpath}/magick/.libs
+test.run                    yes
+test.target                 check
+test.env                    DYLD_LIBRARY_PATH=${worksrcpath}/magick/.libs
 
-variant rsvg description {Support SVG using librsvg} {
-    depends_lib-append \
-        port:librsvg
-    configure.args-delete \
-        --without-rsvg
-    configure.args-append \
-        --with-rsvg
+variant graphviz description {Support Graphviz} {
+    depends_lib-append      path:bin/dot:graphviz
+    configure.args-delete   --without-gvc
+    configure.args-append   --with-gvc
 }
 
-variant perl description {Install PerlMagick} {
-    depends_lib-append \
-        path:bin/perl:perl5
-    configure.args-delete \
-        --without-perl
-    configure.args-append \
-        --with-perl=${prefix}/bin/perl
-    post-destroot {
-        foreach packlist [exec find ${destroot} -name .packlist] {
-            ui_info "Fixing packlist ${packlist}"
-            reinplace "s|${destroot}||" ${packlist}
-        }
-        foreach badfile [exec find ${destroot} -name perllocal.pod] {
-            ui_info "Removing ${badfile}"
-            file delete ${badfile}
-        }
-    }
+variant gs description {Include Ghostscript library support} {
+    depends_lib-append      port:ghostscript
+    configure.args-delete   --without-gslib
+    configure.args-append   --with-gslib
 }
 
-variant gs description {Include Ghostscript library support} {
-    depends_lib-append \
-        port:ghostscript
-    configure.args-delete \
-        --without-gslib
-    configure.args-append \
-        --with-gslib
+variant hdri description {Support High Dynamic Range Imaging using OpenEXR} {
+    depends_lib-append      port:openexr
+    configure.args-delete   --without-openexr \
+                            --disable-hdri
+    configure.args-append   --with-openexr \
+                            --enable-hdri
 }
 
-variant lqr description {Support Liquid Rescale (experimental)} {
-    depends_lib-append \
-        port:liblqr
-    configure.args-delete \
-        --without-lqr
-    configure.args-append \
-        --with-lqr
+variant jbig description {Support JBIG} {
+    depends_lib-append      port:jbigkit
+    configure.args-delete   --without-jbig
+    configure.args-append   --with-jbig
 }
 
-variant wmf description {Support the Windows Metafile Format} {
-    depends_lib-append \
-        port:libwmf
-    configure.args-delete \
-        --without-wmf
-    configure.args-append \
-        --with-wmf
+variant jpeg2 description {Support JPEG-2000 using JasPer} {
+    depends_lib-append      port:jasper
+    configure.args-delete   --without-jp2
+    configure.args-append   --with-jp2
 }
 
-variant mpeg description {Support MPEG-1 and MPEG-2 video} {
-    depends_lib-append \
-        port:mpeg2vidcodec
+variant lqr description {Support Liquid Rescale (experimental)} {
+    depends_lib-append      port:liblqr
+    configure.args-delete   --without-lqr
+    configure.args-append   --with-lqr
 }
 
-variant jbig description {Support JBIG} {
-    depends_lib-append \
-        port:jbigkit
-    configure.args-delete \
-        --without-jbig
-    configure.args-append \
-        --with-jbig
+variant mpeg description {Support MPEG-1 and MPEG-2 video} {
+    depends_lib-append      port:mpeg2vidcodec
 }
 
-variant jpeg2 description {Support JPEG-2000 using JasPer} {
-    depends_lib-append \
-        port:jasper
-    configure.args-delete \
-        --without-jp2
-    configure.args-append \
-        --with-jp2
+variant no_plus_plus description {Do not install Magick++} {
+    configure.args-append   --without-magick-plus-plus
 }
 
-variant graphviz description {Support Graphviz} {
-    depends_lib-append \
-        path:bin/dot:graphviz
-    configure.args-delete \
-        --without-gvc
-    configure.args-append \
-        --with-gvc
+variant no_x11 {
+    depends_lib-delete      port:xorg-libXext \
+                            port:xorg-libXt
+    configure.args-delete   --with-x
+    configure.args-append   --without-x
 }
 
-variant hdri description {Support High Dynamic Range Imaging using OpenEXR} {
-    depends_lib-append \
-        port:openexr
-    configure.args-delete \
-        --without-openexr \
-        --disable-hdri
-    configure.args-append \
-        --with-openexr \
-        --enable-hdri
+variant perl description {Install PerlMagick} {
+    depends_lib-append      path:bin/perl:perl5
+    configure.args-delete   --without-perl
+    configure.args-append   --with-perl=${prefix}/bin/perl
+    post-destroot {
+        foreach packlist [exec find ${destroot} -name .packlist] {
+            ui_info "Fixing packlist ${packlist}"
+            reinplace "s|${destroot}||" ${packlist}
+        }
+        foreach badfile [exec find ${destroot} -name perllocal.pod] {
+            ui_info "Removing ${badfile}"
+            file delete ${badfile}
+        }
+    }
 }
 
 variant q8 conflicts q16 q32 description {Use 8 bits per pixel quantum} {
-    configure.args-append --with-quantum-depth=8
+    configure.args-append   --with-quantum-depth=8
 }
-
 variant q16 conflicts q8 q32 description {Use 16 bits per pixel quantum} {
-    configure.args-append --with-quantum-depth=16
+    configure.args-append   --with-quantum-depth=16
 }
-
 variant q32 conflicts q8 q16 description {Use 32 bits per pixel quantum} {
-    configure.args-append --with-quantum-depth=32
+    configure.args-append   --with-quantum-depth=32
 }
-
 if {![variant_isset q8] && ![variant_isset q32]} {
     default_variants +q16
 }
 
-variant no_x11 {
-    depends_lib-delete \
-        port:xorg-libXext \
-        port:xorg-libXt
-    configure.args-delete \
-        --with-x
-    configure.args-append \
-        --without-x
+variant rsvg description {Support SVG using librsvg} {
+    depends_lib-append      port:librsvg
+    configure.args-delete   --without-rsvg
+    configure.args-append   --with-rsvg
 }
 
-variant no_plus_plus description {Do not install Magick++} {
-    configure.args-append \
-        --without-magick-plus-plus
+variant wmf description {Support the Windows Metafile Format} {
+    depends_lib-append      port:libwmf
+    configure.args-delete   --without-wmf
+    configure.args-append   --with-wmf
 }
 
-livecheck.version       ${reasonable_version}
-livecheck.type          regex
-livecheck.url           http://ftp.surfnet.nl/pub/ImageMagick/
-livecheck.regex         ${name}-(\\d+(?:\\.\\d+)*)(?:-\\d+)?
+livecheck.version           ${reasonable_version}
+livecheck.type              regex
+livecheck.url               http://ftp.surfnet.nl/pub/ImageMagick/
+livecheck.regex             ${name}-(\\d+(?:\\.\\d+)*)(?:-\\d+)?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100222/c84b8506/attachment-0001.html>


More information about the macports-changes mailing list