[44792] trunk/dports/x11

blb at macports.org blb at macports.org
Fri Jan 2 18:51:58 PST 2009


Revision: 44792
          http://trac.macports.org/changeset/44792
Author:   blb at macports.org
Date:     2009-01-02 18:51:58 -0800 (Fri, 02 Jan 2009)
Log Message:
-----------
New port - x11/font-adobe-utopia-type1, X.org Adobe Type1 Utopia fonts

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

Added: trunk/dports/x11/font-adobe-utopia-type1/Portfile
===================================================================
--- trunk/dports/x11/font-adobe-utopia-type1/Portfile	                        (rev 0)
+++ trunk/dports/x11/font-adobe-utopia-type1/Portfile	2009-01-03 02:51:58 UTC (rev 44792)
@@ -0,0 +1,46 @@
+# $Id$
+
+PortSystem          1.0
+name                font-adobe-utopia-type1
+version             1.0.1
+categories          x11 x11-font graphics
+maintainers         blb openmaintainer
+description         X.org Adobe Type1 Utopia fonts
+long_description    ${description}
+
+platforms           darwin
+
+homepage            http://www.x.org/
+master_sites        ${homepage}pub/individual/font/
+use_bzip2           yes
+
+checksums           md5     aa7ff4bd20b961afda9c15d103b972a5 \
+                    sha1    058cdb2668df3dbdc81a49a2eded8de334876c3a \
+                    rmd160  73cf16a10870d134526feb4db5877a193a49a4db
+
+depends_build       port:pkgconfig port:bdftopcf port:xorg-font-util \
+                    port:mkfontscale port:mkfontdir bin:gzip:gzip
+
+set myfontdir       ${prefix}/share/fonts/Type1
+
+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-type1/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/a0c9b1b6/attachment.html>


More information about the macports-changes mailing list