[44681] trunk/dports/x11

blb at macports.org blb at macports.org
Thu Jan 1 18:54:59 PST 2009


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

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

Added: trunk/dports/x11/font-adobe-75dpi/Portfile
===================================================================
--- trunk/dports/x11/font-adobe-75dpi/Portfile	                        (rev 0)
+++ trunk/dports/x11/font-adobe-75dpi/Portfile	2009-01-02 02:54:58 UTC (rev 44681)
@@ -0,0 +1,46 @@
+# $Id$
+
+PortSystem          1.0
+name                font-adobe-75dpi
+version             1.0.0
+categories          x11 x11-font graphics
+maintainers         blb openmaintainer
+description         X.org Adobe 75 DPI font
+long_description    ${description}
+
+platforms           darwin
+
+homepage            http://www.x.org/
+master_sites        ${homepage}pub/individual/font/
+use_bzip2           yes
+
+checksums           md5     813b5d3723c84388a938ab6732e1329c \
+                    sha1    5387bb3bfbff96f8d6928aada8025144179f1549 \
+                    rmd160  348e233516806415e2e190ec4af7ea09f5d33fb9
+
+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-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/b1187f39/attachment.html>


More information about the macports-changes mailing list