source: trunk/dports/graphics/xv/Portfile

Last change on this file was 115118, checked in by ryandesign@…, 4 years ago

xv: remove master_sites entry that does not have this file

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.4 KB
Line 
1# $Id: Portfile 115118 2013-12-25 09:31:10Z ryandesign@macports.org $
2
3PortSystem              1.0
4
5name                    xv
6version                 3.10a
7set jumbo_version       20070520
8revision                12
9# 3.10a was stealth-updated (with no consequential changes); remove this line when updating to next proper version
10dist_subdir             ${name}/${version}_1
11categories              graphics x11
12# ShareWare, modified versions cannot be distributed
13license                 Restrictive
14maintainers             nomaintainer
15
16description             xv is an interactive image manipulation program for \
17                        the X Window System.
18
19long_description        xv is an interactive image manipulation program for \
20                        the X Window System. It can operate on images in the \
21                        GIF, JPEG, TIFF, PNG, PhotoCD, PBM, PGM, PPM, XPM, \
22                        X11 bitmap, Sun Rasterfile, Targa, RLE, RGB, BMP, PCX, \
23                        FITS, and PM formats on all known types of X \
24                        displays. It can generate PostScript files, and if you \
25                        have ghostscript (version 2.6 or above) installed on \
26                        your machine, it can also display them. \
27                        This port includes 'xv jumbo patches' from http://www.sonic.net/~roelofs/greg_xv.html \
28                        Note that this program is shareware except for personal \
29                        use only, please read the license agreement.
30
31homepage                http://www.trilon.com/xv/xv.html
32platforms               darwin
33
34master_sites            ftp://ftp.trilon.com/pub/xv/:xv \
35                        sourceforge:project/png-mng/XV%20jumbo%20patches/${jumbo_version}:xv-jumbo
36
37distfiles               ${distname}${extract.suffix}:xv \
38                        ${distname}-jumbo-patches-${jumbo_version}${extract.suffix}:xv-jumbo
39
40checksums               ${distname}${extract.suffix} \
41                        md5     6dca521372685ff89e1e49dc9089ceca \
42                        sha1    092f8eb100f16d6b91c88b126c2b2b998eb09b99 \
43                        rmd160  d977a403e6118cf72b78bc9aa572b7bba2f6e453 \
44                        ${distname}-jumbo-patches-${jumbo_version}${extract.suffix} \
45                        md5     9fb2d0ec320498105cafeba38a588472 \
46                        sha1    d00308c1687d9d803d26ef40c73d19a0f593c626 \
47                        rmd160  23bc07030416ebaca5ce4d223921e33094c37b93
48
49depends_lib             port:xorg-libXt \
50                        port:jpeg \
51                        port:tiff \
52                        port:libpng \
53                        port:jasper \
54                        port:zlib
55
56pre-patch {
57    system -W ${worksrcpath} "patch -p1 < ${workpath}/${distname}-jumbo-fix-enh-patch-${jumbo_version}.txt"
58}
59
60patchfiles              patch-Makefile.diff \
61                        patch-libpng-1.5.diff \
62                        patch-xv.h.diff
63
64use_configure           no
65
66variant universal {}
67
68build.post_args         PREFIX='${prefix}' \
69                        ZLIBDIR='${prefix}' \
70                        JPEGDIR='${prefix}' \
71                        TIFFDIR='${prefix}' \
72                        PNGDIR='${prefix}' \
73                        CC='${configure.cc}' \
74                        CCOPTS='${configure.cflags} [get_canonical_archflags cc]'
75
76destroot.post_args      PREFIX='${prefix}' DESTDIR='${destroot}'
77
78livecheck.type          none
Note: See TracBrowser for help on using the repository browser.