[44701] trunk/dports/x11

blb at macports.org blb at macports.org
Thu Jan 1 20:40:15 PST 2009


Revision: 44701
          http://trac.macports.org/changeset/44701
Author:   blb at macports.org
Date:     2009-01-01 20:40:14 -0800 (Thu, 01 Jan 2009)
Log Message:
-----------
New port - x11/font-misc-misc, X.org various miscellaneous fonts

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

Added: trunk/dports/x11/font-misc-misc/Portfile
===================================================================
--- trunk/dports/x11/font-misc-misc/Portfile	                        (rev 0)
+++ trunk/dports/x11/font-misc-misc/Portfile	2009-01-02 04:40:14 UTC (rev 44701)
@@ -0,0 +1,46 @@
+# $Id$
+
+PortSystem          1.0
+name                font-misc-misc
+version             1.0.0
+categories          x11 x11-font graphics
+maintainers         blb openmaintainer
+description         X.org various miscellaneous fonts
+long_description    ${description}
+
+platforms           darwin
+
+homepage            http://www.x.org/
+master_sites        ${homepage}pub/individual/font/
+use_bzip2           yes
+
+checksums           md5     2a57f6188c41d4bc1b88ca3d08ad011d \
+                    sha1    caa36376a00568e900337efe0d9dd626c64fde63 \
+                    rmd160  be44e00d94afdba48002e259f460d6a39ffbb370
+
+depends_build       port:pkgconfig port:bdftopcf port:xorg-font-util \
+                    port:mkfontscale port:mkfontdir bin:gzip:gzip
+
+set myfontdir       ${prefix}/share/fonts/misc
+
+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-misc/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/20090101/34514d03/attachment.html>


More information about the macports-changes mailing list