[44797] trunk/dports/x11

blb at macports.org blb at macports.org
Fri Jan 2 18:53:11 PST 2009


Revision: 44797
          http://trac.macports.org/changeset/44797
Author:   blb at macports.org
Date:     2009-01-02 18:53:10 -0800 (Fri, 02 Jan 2009)
Log Message:
-----------
New port - x11/font-ibm-type1, X.org IBM Type1 fonts

Added Paths:
-----------
    trunk/dports/x11/font-ibm-type1/
    trunk/dports/x11/font-ibm-type1/Portfile

Added: trunk/dports/x11/font-ibm-type1/Portfile
===================================================================
--- trunk/dports/x11/font-ibm-type1/Portfile	                        (rev 0)
+++ trunk/dports/x11/font-ibm-type1/Portfile	2009-01-03 02:53:10 UTC (rev 44797)
@@ -0,0 +1,46 @@
+# $Id$
+
+PortSystem          1.0
+name                font-ibm-type1
+version             1.0.0
+categories          x11 x11-font graphics
+maintainers         blb openmaintainer
+description         X.org IBM Type1 fonts
+long_description    ${description}
+
+platforms           darwin
+
+homepage            http://www.x.org/
+master_sites        ${homepage}pub/individual/font/
+use_bzip2           yes
+
+checksums           md5     8e8733051371e2b51123376b49f5d3ea \
+                    sha1    635b6d57df350bceaa353c0cad8e866af01c2498 \
+                    rmd160  67e9e891f2264fbeb91ccdb189ea2a4497e92fb7
+
+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-ibm-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/b282d4d5/attachment.html>


More information about the macports-changes mailing list