[44786] trunk/dports/x11
blb at macports.org
blb at macports.org
Fri Jan 2 18:36:14 PST 2009
Revision: 44786
http://trac.macports.org/changeset/44786
Author: blb at macports.org
Date: 2009-01-02 18:36:14 -0800 (Fri, 02 Jan 2009)
Log Message:
-----------
New port - x11/font-bh-ttf, X.org Bigelow & Holmes truetype fonts
Added Paths:
-----------
trunk/dports/x11/font-bh-ttf/
trunk/dports/x11/font-bh-ttf/Portfile
Added: trunk/dports/x11/font-bh-ttf/Portfile
===================================================================
--- trunk/dports/x11/font-bh-ttf/Portfile (rev 0)
+++ trunk/dports/x11/font-bh-ttf/Portfile 2009-01-03 02:36:14 UTC (rev 44786)
@@ -0,0 +1,46 @@
+# $Id$
+
+PortSystem 1.0
+name font-bh-ttf
+version 1.0.0
+categories x11 x11-font graphics
+maintainers blb openmaintainer
+description X.org Bigelow & Holmes truetype fonts
+long_description ${description}
+
+platforms darwin
+
+homepage http://www.x.org/
+master_sites ${homepage}pub/individual/font/
+use_bzip2 yes
+
+checksums md5 ad43cf739b3d46ba1e7dc778a0608a52 \
+ sha1 c39ba9c60468c1ab1a2efadb84b46df4a94f215e \
+ rmd160 fed191717895e0cdbe7c34dbbe94a13e1b823793
+
+depends_build port:pkgconfig port:bdftopcf port:xorg-font-util \
+ port:mkfontscale port:mkfontdir bin:gzip:gzip
+
+set myfontdir ${prefix}/share/fonts/TTF
+
+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-bh-ttf/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/47e0a5ac/attachment.html>
More information about the macports-changes
mailing list