Ticket #51481: update-libicns.diff

File update-libicns.diff, 3.4 KB (added by dardo82 (Michele Venturi), 8 years ago)

My first PortFile patch! 8-)

  • Portfile

    diff -ur /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/graphics/libicns/Portfile ./Portfile
    old new  
    11# $Id: Portfile 115019 2013-12-22 09:29:46Z ryandesign@macports.org $
    22
    3 PortSystem                      1.0
     3PortSystem              1.0
    44
    5 name                            libicns
    6 version                         0.7.1
    7 revision                        4
    8 categories                      graphics devel
    9 # lib is LGPL, executables are GPL
    10 license                         {LGPL-2.1+ GPL-2+}
    11 maintainers                     nomaintainer
    12 description                     libicns is a library for manipulation of the Mac OS icns resource format and includes the icns2png converter
     5name                    libicns
     6version                 0.8.1
     7revision                226
     8categories              graphics devel
     9# lib is LGPL, \
     10executables are GPL
     11license                 {LGPL-2.1+ GPL-2+}
     12maintainers             gmail.com:dardo82 openmaintainer
     13description             libicns is a library for manipulation \
     14                        of the Mac OS icns resource format \
     15                        and includes the icns2png converter.
    1316long_description \
    14     libicns is a library for manipulation of the Mac OS icns resource format, also known \
    15     as the IconFamily resource type. It can read and write files from the Mac OS X icns \
    16     format, as well as read from Mac OS resource files and macbinary encoded Mac OS \
    17     resource forks. As of release 0.5.9, it can fully read and write any 128x128 and all \
    18     smaller 32-bit icons, and read support for 8-bit, 4-bit, and 1-bit icons. If linked \
    19     against (a patched version of) Jasper, it also has full support for 256x256 and 512x512 \
    20     32-bit icons with masks as alpha channels. libicns includes icns2png, a tool for extracting \
    21     the images contained within icns files, and saving them as png images. It also includes \
    22     png2icns, a tool for creating icns files from a set of png images.
     17    libicns is a library for manipulation of the Mac OS icns resource format, \
     18    also known as the IconFamily resource type. It can read and write files \
     19    from the Mac OS X icns format, as well as read from Mac OS resource files \
     20    and macbinary encoded Mac OS resource forks. As of release 0.5.9, \
     21    it can fully read and write any 128x128 and all smaller 32-bit icons, \
     22    and read support for 8-bit, 4-bit, and 1-bit icons. If linked against \
     23    (a patched version of) Jasper, it also has full support for 256x256 \
     24    and 512 32-bit icons with masks as alpha channels. libicns includes \
     25    icns2png, a tool for extracting the images contained within icns files, \
     26    and saving them as png images. It also includes png2icns, \
     27    a tool for creating icns files from a set of png images. \
     28    Furtermore, release 0.8.1 implements 1024x1024 support.
    2329
    24 homepage                        http://icns.sourceforge.net/
     30homepage                https://github.com/pornel/libicns/
    2531master_sites            sourceforge:icns
    2632
    27 platforms           darwin
     33platforms               darwin
    2834
    29 checksums           sha1 e12a6ca21988929d56320ac1b96a1a059af0fd43
     35checksums               rmd160  e9609c97e76f54a16e1de0f79008fc74705b1aa6
    3036
    31                     # Note we need a patched jasper >= 1.900.1_5
    32 depends_lib         port:zlib port:libpng port:jasper port:jpeg
    33 
    34 patchfiles          libpng14.diff
     37depends_lib             port:zlib port:libpng port:jasper port:jpeg