Changeset 35810
- Timestamp:
- 04/06/08 18:37:43 (2 years ago)
- Location:
- trunk/dports/graphics/xv
- Files:
-
- 2 added
- 1 removed
- 1 modified
-
Portfile (modified) (1 diff)
-
files/patch-Makefile.diff (added)
-
files/patch-xv.h.diff (added)
-
files/xv-darwin.patch (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/graphics/xv/Portfile
r34359 r35810 5 5 name xv 6 6 version 3.10a 7 revision 1 8 categories x11 graphics 9 maintainers nomaintainer 7 set jumbo_version 20070520 8 revision 2 9 categories graphics x11 10 maintainers raimue 10 11 11 12 description 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. 14 14 15 15 long_description xv is an interactive image manipulation program for \ 16 16 the X Window System. It can operate on images in the \ 17 17 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. 24 26 25 27 homepage http://www.trilon.com/xv/xv.html 26 28 platforms darwin 27 29 28 master_sites ftp://ftp.cis.upenn.edu/pub/xv/ 29 checksums md5 2d4fbeec1561304362781cc8e2f7f72d 30 30 master_sites ftp://ftp.trilon.com/pub/xv/:xv \ 31 sourceforge:png-mng:xv-jumbo 32 distfiles ${distname}${extract.suffix}:xv \ 33 ${distname}-jumbo-patches-${jumbo_version}${extract.suffix}:xv-jumbo 34 checksums ${distname}${extract.suffix} \ 35 md5 2d4fbeec1561304362781cc8e2f7f72d \ 36 ${distname}-jumbo-patches-${jumbo_version}${extract.suffix} \ 37 md5 9fb2d0ec320498105cafeba38a588472 31 38 depends_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 \ 34 45 lib:libXpm.4:xpm 35 46 36 patchfiles xv-darwin.patch37 38 47 patch { 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" 41 51 } 42 52 43 53 use_configure no 54 55 build.post_args PREFIX='${prefix}' \ 56 ZLIBDIR='${prefix}' \ 57 JPEGDIR='${prefix}' \ 58 TIFFDIR='${prefix}' \ 59 PNGDIR='${prefix}' \ 60 61 destroot.post_args PREFIX='${prefix}' DESTDIR='${destroot}' 62 63 livecheck.check none

