[103150] trunk/dports/graphics/tiff/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Feb 16 02:23:16 PST 2013


Revision: 103150
          https://trac.macports.org/changeset/103150
Author:   ryandesign at macports.org
Date:     2013-02-16 02:23:16 -0800 (Sat, 16 Feb 2013)
Log Message:
-----------
tiff: add xz dependency and related configure.args because tiff opportunistically links with liblzma (#38050); install only a single copy of the documentation, in the recommended location; remove unnecessary mandir configure arg

Modified Paths:
--------------
    trunk/dports/graphics/tiff/Portfile

Modified: trunk/dports/graphics/tiff/Portfile
===================================================================
--- trunk/dports/graphics/tiff/Portfile	2013-02-16 10:07:57 UTC (rev 103149)
+++ trunk/dports/graphics/tiff/Portfile	2013-02-16 10:23:16 UTC (rev 103150)
@@ -7,6 +7,7 @@
 
 name		tiff
 version		4.0.3
+revision    1
 categories	graphics
 license		BSD
 maintainers	nomaintainer
@@ -34,29 +35,24 @@
 checksums       rmd160  eacd725fb3c299682c1c2e508049d98acd170f31 \
                 sha256  ea1aebe282319537fb2d4d7805f478dd4e0e05c33d0928baba76a7c963684872
 
-depends_lib	port:jpeg port:zlib
+depends_lib     port:jpeg \
+                port:xz \
+                port:zlib
 
 test.run        yes
 test.target     check
 
 configure.args	--disable-jbig \
-		--mandir=${prefix}/share/man \
-                --with-docdir=${prefix}/share/doc/${name}-${version} \
+		--with-docdir=${prefix}/share/doc/${name} \
 		--with-jpeg-include-dir=${prefix}/include \
 		--with-jpeg-lib-dir=${prefix}/lib \
+		--with-lzma-include-dir=${prefix}/include \
+		--with-lzma-lib-dir=${prefix}/lib \
 		--with-zlib-include-dir=${prefix}/include \
 		--with-zlib-lib-dir=${prefix}/lib
 
 use_parallel_build  yes
 
-post-destroot {
-	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-	file copy ${worksrcpath}/html/images \
-		${destroot}${prefix}/share/doc/${name}
-	eval xinstall -m 644 [glob ${worksrcpath}/html/*.html] \
-		${destroot}${prefix}/share/doc/${name}
-}
-
 platform macosx {
     # Tiger does not have 64-bit OpenGL.
     if {${os.major} > 8 || (![variant_isset universal] && ![string match *64* $build_arch])
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130216/49b90574/attachment.html>


More information about the macports-changes mailing list