Ticket #21859: Portfile.diff

File Portfile.diff, 1.8 KB (added by adfernandes (Andrew Fernandes), 15 years ago)
  • Portfile

    old new  
    44
    55name                            libicns
    66version                         0.7.0
     7revision            1
    78categories                      graphics devel
    89maintainers                     fernandes.org:andrew openmaintainer
    910description                     libicns is a library for manipulation of the Mac OS icns resource format and includes the icns2png converter
     
    1314    format, as well as read from Mac OS resource files and macbinary encoded Mac OS \
    1415    resource forks. As of release 0.5.9, it can fully read and write any 128x128 and all \
    1516    smaller 32-bit icons, and read support for 8-bit, 4-bit, and 1-bit icons. If linked \
    16     against OpenJPEG or Jasper, it also has full support for 256x256 and 512x512 32-bit icons with \
    17     masks as alpha channels. libicns includes icns2png, a tool for extracting the images \
    18     contained within icns files, and saving them as png images. It also includes png2icns, \
    19     a tool for creating icns files from a set of png images. \
     17    against (a patched version of) Jasper, it also has full support for 256x256 and 512x512 \
     18    32-bit icons with masks as alpha channels. libicns includes icns2png, a tool for extracting \
     19    the images contained within icns files, and saving them as png images. It also includes \
     20    png2icns, a tool for creating icns files from a set of png images. \
    2021
    2122homepage                        http://icns.sourceforge.net/
    2223master_sites            sourceforge:icns
     
    2526
    2627checksums           sha1 96e66119f4d8e6736b9d44120bff8c337d400ce5
    2728
    28 depends_lib             port:zlib port:libpng port:openjpeg
    29 
    30 variant jasper description {Link against Jasper} {
    31         depends_lib-delete port:openjpeg
    32         depends_lib-append port:jasper
    33 }
     29                    # Note we need a patched jasper >= 1.900.1_5
     30depends_lib         port:zlib port:libpng port:jasper