New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 35810

Show
Ignore:
Timestamp:
04/06/08 18:37:43 (2 years ago)
Author:
raimue@…
Message:

graphics/xv:

  • Claiming maintainership
  • Major update by applying xv jumbo patchset
  • Adds PNG support, closes #2448.
Location:
trunk/dports/graphics/xv
Files:
2 added
1 removed
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/xv/Portfile

    r34359 r35810  
    55name                    xv 
    66version                 3.10a 
    7 revision                1 
    8 categories              x11 graphics 
    9 maintainers             nomaintainer 
     7set jumbo_version       20070520 
     8revision                2 
     9categories              graphics x11 
     10maintainers             raimue 
    1011 
    1112description             xv is an interactive image manipulation program for \ 
    12                         the X Window System.  This version has been patched \ 
    13                         to support the PNG & PhotoCD image types. 
     13                        the X Window System. 
    1414 
    1515long_description        xv is an interactive image manipulation program for \ 
    1616                        the X Window System. It can operate on images in the \ 
    1717                        GIF, JPEG, TIFF, PNG, PhotoCD, PBM, PGM, PPM, XPM, \ 
    18                         X11 bitmap, \ 
    19                         Sun Rasterfile, Targa, RLE, RGB, BMP, PCX, FITS, and \ 
    20                         PM formats on all known types of X displays. It can \ 
    21                         generate PostScript files, and if you have \ 
    22                         ghostscript (version 2.6 or above) installed on your \ 
    23                         machine, it can also display them. 
     18                        X11 bitmap, Sun Rasterfile, Targa, RLE, RGB, BMP, PCX, \ 
     19                        FITS, and PM formats on all known types of X \ 
     20                        displays. It can generate PostScript files, and if you \ 
     21                        have ghostscript (version 2.6 or above) installed on \ 
     22                        your machine, it can also display them. \ 
     23                        This port includes 'xv jumbo patches' from http://www.sonic.net/~roelofs/greg_xv.html \ 
     24                        Note that this program is shareware except for personal \ 
     25                        use only, please read the license agreement. 
    2426 
    2527homepage                http://www.trilon.com/xv/xv.html 
    2628platforms               darwin 
    2729 
    28 master_sites            ftp://ftp.cis.upenn.edu/pub/xv/ 
    29 checksums               md5 2d4fbeec1561304362781cc8e2f7f72d 
    30  
     30master_sites            ftp://ftp.trilon.com/pub/xv/:xv \ 
     31                        sourceforge:png-mng:xv-jumbo 
     32distfiles               ${distname}${extract.suffix}:xv \ 
     33                        ${distname}-jumbo-patches-${jumbo_version}${extract.suffix}:xv-jumbo 
     34checksums               ${distname}${extract.suffix} \ 
     35                        md5 2d4fbeec1561304362781cc8e2f7f72d \ 
     36                        ${distname}-jumbo-patches-${jumbo_version}${extract.suffix} \ 
     37                        md5 9fb2d0ec320498105cafeba38a588472 
    3138depends_lib             lib:libX11.6:XFree86 \ 
    32                         lib:libjpeg.62:jpeg lib:libtiff.3:tiff \ 
    33                         lib:libungif.4:libungif lib:libpng.3:libpng \ 
     39                        port:jpeg \ 
     40                        port:tiff \ 
     41                        port:libpng \ 
     42                        port:jasper \ 
     43                        port:libungif \ 
     44                        port:zlib \ 
    3445                        lib:libXpm.4:xpm 
    3546 
    36 patchfiles              xv-darwin.patch 
    37  
    3847patch { 
    39     system "cd '${worksrcpath}' && 
    40     sed -e 's#@DEST@#${destroot}${prefix}#g' -e 's#@INST@#${prefix}#g' '${portpath}/${filesdir}/xv-darwin.patch' | patch -p1" 
     48    system "cd '${worksrcpath}' && patch -p1 < ${workpath}/${distname}-jumbo-fix-enh-patch-${jumbo_version}.txt" 
     49    system "cd '${worksrcpath}' && patch -p0 < ${filespath}/patch-Makefile.diff" 
     50    system "cd '${worksrcpath}' && patch -p0 < ${filespath}/patch-xv.h.diff" 
    4151} 
    4252 
    4353use_configure           no 
     54 
     55build.post_args         PREFIX='${prefix}' \ 
     56                        ZLIBDIR='${prefix}' \ 
     57                        JPEGDIR='${prefix}' \ 
     58                        TIFFDIR='${prefix}' \ 
     59                        PNGDIR='${prefix}' \ 
     60 
     61destroot.post_args      PREFIX='${prefix}' DESTDIR='${destroot}' 
     62 
     63livecheck.check         none