[44787] trunk/dports/x11

blb at macports.org blb at macports.org
Fri Jan 2 18:36:38 PST 2009


Revision: 44787
          http://trac.macports.org/changeset/44787
Author:   blb at macports.org
Date:     2009-01-02 18:36:37 -0800 (Fri, 02 Jan 2009)
Log Message:
-----------
New port - x11/font-misc-meltho, X.org Meltho truetype fonts

Added Paths:
-----------
    trunk/dports/x11/font-misc-meltho/
    trunk/dports/x11/font-misc-meltho/Portfile

Added: trunk/dports/x11/font-misc-meltho/Portfile
===================================================================
--- trunk/dports/x11/font-misc-meltho/Portfile	                        (rev 0)
+++ trunk/dports/x11/font-misc-meltho/Portfile	2009-01-03 02:36:37 UTC (rev 44787)
@@ -0,0 +1,46 @@
+# $Id$
+
+PortSystem          1.0
+name                font-misc-meltho
+version             1.0.0
+categories          x11 x11-font graphics
+maintainers         blb openmaintainer
+description         X.org Meltho truetype fonts
+long_description    ${description}
+
+platforms           darwin
+
+homepage            http://www.x.org/
+master_sites        ${homepage}pub/individual/font/
+use_bzip2           yes
+
+checksums           md5     ccb212a7badf7aefdc9f9a92af428d32 \
+                    sha1    fb7bb1ef32a1b7eacd2df4c372967706cd730a92 \
+                    rmd160  c44264ae31c2b8b4434a1c8285dae0c0bfb8c3ae
+
+depends_build       port:pkgconfig port:bdftopcf port:xorg-font-util \
+                    port:mkfontscale port:mkfontdir bin:gzip:gzip
+
+set myfontdir       ${prefix}/share/fonts/OTF
+
+configure.args      --with-fontdir=${myfontdir}
+
+post-destroot {
+   foreach fontsFile {fonts.alias fonts.dir fonts.list fonts.scale} {
+      if {[file exists ${destroot}${myfontdir}/${fontsFile}]} {
+         delete ${destroot}${myfontdir}/${fontsFile}
+      }
+   }
+}
+
+post-activate {
+   system "mkfontscale ${myfontdir}"
+   system "mkfontdir ${myfontdir}"
+}
+
+# This should be done when uninstalling, but deactivate doesn't currently work
+#post-deactivate {
+#   system "mkfontscale ${myfontdir}"
+#   system "mkfontdir ${myfontdir}"
+#}
+


Property changes on: trunk/dports/x11/font-misc-meltho/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090102/b56cf552/attachment.html>


More information about the macports-changes mailing list