Ticket #9174: Portfile

File Portfile, 1.8 KB (added by tomtoday@…, 18 years ago)

updated Portfile

Line 
1# $Id: $
2
3PortSystem  1.0
4name        tiff
5version     3.8.2
6categories  graphics
7maintainers waqaropendarwin.org
8description Library and tools for dealing with Tag Image File Format
9long_description \
10    This software provides support for the Tag Image File       \
11    Format (TIFF), a widely used format for storing image       \
12    data.  Included in this software distribution is a          \
13    library, libtiff, for reading and writing TIFF, a small     \
14    collection of tools for doing simple manipulations of       \
15    TIFF images on UNIX systems, documentation on the library   \
16    and tools.  A small assortment of TIFF-related software     \
17    for UNIX that has been contributed by others is also        \
18    included.  The library is capable of dealing with images    \
19    that are written to follow the 5.0 or 6.0 TIFF spec.        \
20    There is also considerable support for some of the more     \
21    esoteric portions of the 6.0 TIFF spec.
22homepage    http://www.libtiff.org/
23platforms   darwin
24master_sites    ftp://ftp.remotesensing.org/pub/libtiff/  ftp://ftp.remotesensing.org/pub/libtiff/old http://dl.maptools.org/dl/libtiff/  freebsd
25
26checksums   md5 fbb6f446ea4ed18955e2714934e5b698
27
28depends_lib port:jpeg port:zlib
29
30configure.args  --mandir=${prefix}/share/man \
31        --with-jpeg-include-dir=${prefix}/include \
32        --with-jpeg-lib-dir=${prefix}/lib \
33        --with-zlib-include-dir=${prefix}/include \
34        --with-zlib-lib-dir=${prefix}/lib
35
36post-destroot {
37    xinstall -m 755 -d ${destroot}/${prefix}/share/doc/${name}
38    file copy ${worksrcpath}/html/images \
39        ${destroot}/${prefix}/share/doc/${name}
40    eval xinstall -m 644 [glob ${worksrcpath}/html/*.html] \
41        ${destroot}/${prefix}/share/doc/${name}
42}
43
44platform darwin 8 {
45    configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
46}