[44687] trunk/dports/x11

blb at macports.org blb at macports.org
Thu Jan 1 19:32:53 PST 2009


Revision: 44687
          http://trac.macports.org/changeset/44687
Author:   blb at macports.org
Date:     2009-01-01 19:32:53 -0800 (Thu, 01 Jan 2009)
Log Message:
-----------
New port - x11/font-misc-cyrillic, X.org Miscellaneous Cyrillic font

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

Added: trunk/dports/x11/font-misc-cyrillic/Portfile
===================================================================
--- trunk/dports/x11/font-misc-cyrillic/Portfile	                        (rev 0)
+++ trunk/dports/x11/font-misc-cyrillic/Portfile	2009-01-02 03:32:53 UTC (rev 44687)
@@ -0,0 +1,46 @@
+# $Id$
+
+PortSystem          1.0
+name                font-misc-cyrillic
+version             1.0.0
+categories          x11 x11-font graphics
+maintainers         blb openmaintainer
+description         X.org Miscellaneous Cyrillic font
+long_description    ${description}
+
+platforms           darwin
+
+homepage            http://www.x.org/
+master_sites        ${homepage}pub/individual/font/
+use_bzip2           yes
+
+checksums           md5     3596907d7a2a99c81d8de99bc4552b6a \
+                    sha1    a71b78d4c82ca670bcc483740cc3e63d654fbe1d \
+                    rmd160  807c782b8e498d85fa21e15a3397d072e3dda501
+
+depends_build       port:pkgconfig port:bdftopcf port:xorg-font-util \
+                    port:mkfontscale port:mkfontdir bin:gzip:gzip
+
+set myfontdir       ${prefix}/share/fonts/cyrillic
+
+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-cyrillic/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/472e1c46/attachment.html>


More information about the macports-changes mailing list