[44678] trunk/dports/x11

blb at macports.org blb at macports.org
Thu Jan 1 18:49:25 PST 2009


Revision: 44678
          http://trac.macports.org/changeset/44678
Author:   blb at macports.org
Date:     2009-01-01 18:49:24 -0800 (Thu, 01 Jan 2009)
Log Message:
-----------
New port - x11/font-bitstream-100dpi, X.org Bitstream 100 DPI font

Added Paths:
-----------
    trunk/dports/x11/font-bitstream-100dpi/
    trunk/dports/x11/font-bitstream-100dpi/Portfile

Added: trunk/dports/x11/font-bitstream-100dpi/Portfile
===================================================================
--- trunk/dports/x11/font-bitstream-100dpi/Portfile	                        (rev 0)
+++ trunk/dports/x11/font-bitstream-100dpi/Portfile	2009-01-02 02:49:24 UTC (rev 44678)
@@ -0,0 +1,46 @@
+# $Id$
+
+PortSystem          1.0
+name                font-bitstream-100dpi
+version             1.0.0
+categories          x11 x11-font graphics
+maintainers         blb openmaintainer
+description         X.org Bitstream 100 DPI font
+long_description    ${description}
+
+platforms           darwin
+
+homepage            http://www.x.org/
+master_sites        ${homepage}pub/individual/font/
+use_bzip2           yes
+
+checksums           md5     173352ddec3d26e2b91df1edcf1ae85b \
+                    sha1    6aa6ccc3d7a28a0ae3618613fc7b78d4b1e9b4d7 \
+                    rmd160  ce7304b7d65d3bec9a75eafd07106858d06ced85
+
+depends_build       port:pkgconfig port:bdftopcf port:xorg-font-util \
+                    port:mkfontscale port:mkfontdir bin:gzip:gzip
+
+set myfontdir       ${prefix}/share/fonts/100dpi
+
+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-bitstream-100dpi/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/d9fb912b/attachment.html>


More information about the macports-changes mailing list