[44682] trunk/dports/x11

blb at macports.org blb at macports.org
Thu Jan 1 18:57:45 PST 2009


Revision: 44682
          http://trac.macports.org/changeset/44682
Author:   blb at macports.org
Date:     2009-01-01 18:57:45 -0800 (Thu, 01 Jan 2009)
Log Message:
-----------
New port - x11/font-adobe-utopia-75dpi, X.org Adobe Utopia 75 DPI font

Added Paths:
-----------
    trunk/dports/x11/font-adobe-utopia-75dpi/
    trunk/dports/x11/font-adobe-utopia-75dpi/Portfile

Added: trunk/dports/x11/font-adobe-utopia-75dpi/Portfile
===================================================================
--- trunk/dports/x11/font-adobe-utopia-75dpi/Portfile	                        (rev 0)
+++ trunk/dports/x11/font-adobe-utopia-75dpi/Portfile	2009-01-02 02:57:45 UTC (rev 44682)
@@ -0,0 +1,46 @@
+# $Id$
+
+PortSystem          1.0
+name                font-adobe-utopia-75dpi
+version             1.0.1
+categories          x11 x11-font graphics
+maintainers         blb openmaintainer
+description         X.org Adobe Utopia 75 DPI font
+long_description    ${description}
+
+platforms           darwin
+
+homepage            http://www.x.org/
+master_sites        ${homepage}pub/individual/font/
+use_bzip2           yes
+
+checksums           md5     dd912284e4750023f9682812532fa033 \
+                    sha1    db30aa20271d8b6aeab7a0dff13c516fcea12af1 \
+                    rmd160  0c4a7ef7fe8f5c688ceaebd1f5f6e6a2a1920813
+
+depends_build       port:pkgconfig port:bdftopcf port:xorg-font-util \
+                    port:mkfontscale port:mkfontdir bin:gzip:gzip
+
+set myfontdir       ${prefix}/share/fonts/75dpi
+
+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-adobe-utopia-75dpi/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/6edd2a0a/attachment.html>


More information about the macports-changes mailing list