[51724] trunk/dports/_resources/port1.0/group/x11font-1.0.tcl

jeremyhu at macports.org jeremyhu at macports.org
Mon Jun 1 14:09:27 PDT 2009


Revision: 51724
          http://trac.macports.org/changeset/51724
Author:   jeremyhu at macports.org
Date:     2009-06-01 14:09:27 -0700 (Mon, 01 Jun 2009)
Log Message:
-----------
x11font: Add dependency on fontconfig for ticket #19837

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/x11font-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/x11font-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/x11font-1.0.tcl	2009-06-01 18:54:00 UTC (rev 51723)
+++ trunk/dports/_resources/port1.0/group/x11font-1.0.tcl	2009-06-01 21:09:27 UTC (rev 51724)
@@ -52,7 +52,7 @@
     use_bzip2        yes
     depends_build    port:pkgconfig bin:bdftopcf:bdftopcf \
                      port:xorg-font-util port:mkfontscale port:mkfontdir \
-                     bin:gzip:gzip
+                     port:fontconfig bin:gzip:gzip
     set x11font_myfontdir    ${prefix}/share/fonts/${myfontsubdir}
     configure.args   --with-fontdir=${x11font_myfontdir}
 
@@ -67,6 +67,7 @@
     post-activate {
         system "mkfontscale ${x11font_myfontdir}"
         system "mkfontdir ${x11font_myfontdir}"
+        system "fc-cache ${x11font_myfontdir}"
     }
 
     # This should be done when uninstalling, but deactivate doesn't currently
@@ -74,6 +75,7 @@
 #    post-deactivate {
 #        system "mkfontscale ${x11font_myfontdir}"
 #        system "mkfontdir ${x11font_myfontdir}"
+#        system "fc-cache ${x11font_myfontdir}"
 #    }
 
     livecheck.check     regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090601/0b3b2a50/attachment.html>


More information about the macports-changes mailing list