[50043] trunk/dports/x11

takanori at macports.org takanori at macports.org
Thu Apr 23 02:51:20 PDT 2009


Revision: 50043
          http://trac.macports.org/changeset/50043
Author:   takanori at macports.org
Date:     2009-04-23 02:51:19 -0700 (Thu, 23 Apr 2009)
Log Message:
-----------
New port: dejavu-fonts

Added Paths:
-----------
    trunk/dports/x11/dejavu-fonts/
    trunk/dports/x11/dejavu-fonts/Portfile

Added: trunk/dports/x11/dejavu-fonts/Portfile
===================================================================
--- trunk/dports/x11/dejavu-fonts/Portfile	                        (rev 0)
+++ trunk/dports/x11/dejavu-fonts/Portfile	2009-04-23 09:51:19 UTC (rev 50043)
@@ -0,0 +1,53 @@
+# $Id$
+
+PortSystem          1.0
+
+name                dejavu-fonts
+version             2.29
+categories          x11 fonts
+maintainers         takanori openmaintainer
+description         The DejaVu fonts are a font family based on the Vera Fonts.
+long_description    ${description} \
+                    Its purpose is to provide a wider range of characters while \
+                    maintaining the original look and feel through the process of \
+                    collaborative development (see authors), under a Free license.
+platforms           darwin
+homepage            http://dejavu-fonts.org/
+master_sites        sourceforge:dejavu:
+distname            ${name}-ttf-${version}
+use_bzip2           yes
+checksums           rmd160 2b675489d902847d15ab9dd770f07c040b7dfca2
+
+depends_run         port:fontconfig
+
+use_configure       no
+
+build {}
+
+destroot {
+    set fontsdir ${destroot}${prefix}/share/fonts/${name}
+    xinstall -d -m 755 ${fontsdir}
+    eval xinstall -m 644 [glob ${worksrcpath}/ttf/*.ttf] ${fontsdir}
+
+    xinstall -d -m 755 ${destroot}${prefix}/etc/fonts/conf.avail
+    xinstall -d -m 755 ${destroot}${prefix}/etc/fonts/conf.d
+    foreach f { 20-unhint-small-dejavu-sans-mono.conf
+                20-unhint-small-dejavu-sans.conf
+                20-unhint-small-dejavu-serif.conf
+                57-dejavu-sans-mono.conf
+                57-dejavu-sans.conf
+                57-dejavu-serif.conf } {
+        xinstall -m 644 ${worksrcpath}/fontconfig/${f} ${destroot}${prefix}/etc/fonts/conf.avail
+        ln -s ../conf.avail/${f} ${destroot}${prefix}/etc/fonts/conf.d/${f}
+    }
+}
+post-destroot {
+    xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 644 -W ${worksrcpath} AUTHORS BUGS LICENSE NEWS README langcover.txt status.txt unicover.txt ${destroot}${prefix}/share/doc/${name}
+}
+
+post-activate {
+    system "${prefix}/bin/fc-cache -fv ${prefix}/share/fonts"
+}
+
+universal_variant no


Property changes on: trunk/dports/x11/dejavu-fonts/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/20090423/29560d6e/attachment.html>


More information about the macports-changes mailing list