[34007] trunk/dports/x11/chmsee/Portfile

gui_dos at macports.org gui_dos at macports.org
Sun Feb 10 04:37:18 PST 2008


Revision: 34007
          http://trac.macosforge.org/projects/macports/changeset/34007
Author:   gui_dos at macports.org
Date:     2008-02-10 04:37:16 -0800 (Sun, 10 Feb 2008)

Log Message:
-----------
chmsee: Changing fixed fonts doesn't work, therefore always
use the original fonts

Modified Paths:
--------------
    trunk/dports/x11/chmsee/Portfile

Modified: trunk/dports/x11/chmsee/Portfile
===================================================================
--- trunk/dports/x11/chmsee/Portfile	2008-02-10 08:45:28 UTC (rev 34006)
+++ trunk/dports/x11/chmsee/Portfile	2008-02-10 12:37:16 UTC (rev 34007)
@@ -4,6 +4,7 @@
 
 name            chmsee
 version         1.0.0
+revision        1
 description     Viewer for CHM files.
 long_description ChmSee is an HTML Help viewer for Unix/Linux. \
                 It is based on CHMLIB and use Gtk2+ as frontend \
@@ -28,6 +29,10 @@
 
 post-extract {
     reinplace "s|defined(__linux__)|defined(__APPLE__)|" ${worksrcpath}/src/chmfile.c
+    
+    #Changing fixed fonts doesn't work, therefore always use the original fonts 
+    reinplace "s|use_document_fonts\", 0|use_document_fonts\", 1|" \
+        ${worksrcpath}/src/default-prefs-common.js
 }
 
 post-destroot {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080210/7b856084/attachment-0001.html


More information about the macports-changes mailing list