[82833] trunk/dports/x11/monafont/Portfile

jmr at macports.org jmr at macports.org
Sat Aug 20 18:33:51 PDT 2011


Revision: 82833
          http://trac.macports.org/changeset/82833
Author:   jmr at macports.org
Date:     2011-08-20 18:33:50 -0700 (Sat, 20 Aug 2011)
Log Message:
-----------
monafont: don't rely on tools in /usr/X11R6

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

Modified: trunk/dports/x11/monafont/Portfile
===================================================================
--- trunk/dports/x11/monafont/Portfile	2011-08-21 01:30:43 UTC (rev 82832)
+++ trunk/dports/x11/monafont/Portfile	2011-08-21 01:33:50 UTC (rev 82833)
@@ -17,7 +17,11 @@
 master_sites    sourceforge
 use_bzip2       yes
 checksums       md5 2b914878b19b1550757cea5d8a771612
-depends_build   bin:mkfontscale:mkfontscale bin:mkfontdir:mkfontdir
+depends_build   port:mkfontscale port:mkfontdir
+post-patch {
+    reinplace "s|/usr/X11R6|${prefix}|" ${worksrcpath}/Makefile \
+                                        ${worksrcpath}/ttfsrc/Makefile
+}
 use_configure   no
 build.target    {}
 set myfontdir   ${prefix}/share/fonts/${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110820/1a135662/attachment.html>


More information about the macports-changes mailing list