[29260] trunk/dports/graphics/libungif/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Sep 19 08:21:44 PDT 2007


Revision: 29260
          http://trac.macosforge.org/projects/macports/changeset/29260
Author:   nox at macports.org
Date:     2007-09-19 08:21:43 -0700 (Wed, 19 Sep 2007)

Log Message:
-----------
libungif: Fixed doc installation (closes #12741).

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

Modified: trunk/dports/graphics/libungif/Portfile
===================================================================
--- trunk/dports/graphics/libungif/Portfile	2007-09-19 14:55:31 UTC (rev 29259)
+++ trunk/dports/graphics/libungif/Portfile	2007-09-19 15:21:43 UTC (rev 29260)
@@ -24,21 +24,28 @@
 
 patchfiles      patch-lib-gif_lib.h
 
+configure.args  --without-x
+
 set docdir      ${prefix}/share/doc/${name}-${version}
 
 post-destroot {
     xinstall -d ${destroot}${docdir}
     xinstall -m 0644 -W ${worksrcpath} AUTHORS BUGS COPYING ChangeLog \
-        NEWS TODO ${destroot}${docdir}
+        NEWS TODO UNCOMPRESSED_GIF ${destroot}${docdir}
 }
 
 variant doc description {Install extra documentation} {
     post-destroot {
         xinstall -d ${destroot}${docdir}/html
-        xinstall -m 0644 [glob ${worksrcpath}/doc/*.{html,png,txt}] \
+        eval xinstall -m 0644 [glob ${worksrcpath}/doc/*.{html,png,txt}] \
             ${destroot}${docdir}/html
     }
 }
 
+variant x11 description {Enable X support} {
+    depends_lib-append      lib:libX11.6:XFree86
+    configure.args-delete   --without-x
+}
+
 livecheck.regex "<title>${name} [lindex [split ${version} .] 0].x ${name}-(\\d+(?:\\.\\d+)*) released .*</title>"
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070919/3594568a/attachment.html


More information about the macports-changes mailing list