Ticket #11989: Portfile.diff
File Portfile.diff, 2.3 KB (added by n.oxyde@…, 18 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 name tiff 5 5 version 3.8.2 6 revision 1 6 7 categories graphics 7 8 maintainers waqar@macports.org 8 9 description Library and tools for dealing with Tag Image File Format … … 19 20 that are written to follow the 5.0 or 6.0 TIFF spec. \ 20 21 There is also considerable support for some of the more \ 21 22 esoteric portions of the 6.0 TIFF spec. 22 homepage http://www. libtiff.org/23 homepage http://www.remotesensing.org/libtiff/ 23 24 platforms darwin 24 25 master_sites ftp://ftp.remotesensing.org/pub/libtiff/ \ 25 ftp://ftp.remotesensing.org/pub/libtiff/old \26 26 http://dl.maptools.org/dl/libtiff/ \ 27 27 freebsd 28 28 29 checksums sha1 549e67b6a15b42bfcd72fe17cda7c9a198a393eb 29 checksums md5 fbb6f446ea4ed18955e2714934e5b698 \ 30 sha1 549e67b6a15b42bfcd72fe17cda7c9a198a393eb \ 31 rmd160 1b4d825e3be08764e953fc58246d0c25ab4dd17d 30 32 31 depends_lib port: jpeg port:zlib33 depends_lib port:zlib 32 34 33 35 configure.args --mandir=${prefix}/share/man \ 34 --with-jpeg-include-dir=${prefix}/include\35 --with-jpeg-lib-dir=${prefix}/lib\36 --with-docdir=${prefix}/share/doc/${name}-${version} \ 37 --disable-jpeg \ 36 38 --with-zlib-include-dir=${prefix}/include \ 37 39 --with-zlib-lib-dir=${prefix}/lib 38 40 39 post-destroot { 40 xinstall -m 755 -d ${destroot}/${prefix}/share/doc/${name} 41 file copy ${worksrcpath}/html/images \ 42 ${destroot}/${prefix}/share/doc/${name} 43 eval xinstall -m 644 [glob ${worksrcpath}/html/*.html] \ 44 ${destroot}/${prefix}/share/doc/${name} 41 test.run yes 42 test.target check 43 44 variant jpeg description {Add JPEG compression support} { 45 configure.args-delete --disable-jpeg 46 configure.args-append --with-jpeg-include-dir=${prefix}/include \ 47 --with-jpeg-lib-dir=${prefix}/lib 48 49 depends_lib-append port:jpeg 45 50 } 46 51 52 variant x11 description {Add X Window System support} { 53 configure.args-append --with-x 54 depends_lib-append lib:libX11.6:XFree86 55 } 56 57 platform macosx { 58 configure.args-append --with-apple-opengl-framework 59 } 60 47 61 platform darwin 8 { 48 62 configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 49 63 } 64 65 livecheck.name lib${name}