[43598] trunk/dports/x11/efont-unicode/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Fri Dec 12 00:29:08 PST 2008


Revision: 43598
          http://trac.macports.org/changeset/43598
Author:   jeremyhu at macports.org
Date:     2008-12-12 00:29:07 -0800 (Fri, 12 Dec 2008)
Log Message:
-----------
efont-unicode: Added missing platforms, added missing dependencies, use build rather than lib dependency, fixed build (bad use of cd).

Modified Paths:
--------------
    trunk/dports/x11/efont-unicode/Portfile

Modified: trunk/dports/x11/efont-unicode/Portfile
===================================================================
--- trunk/dports/x11/efont-unicode/Portfile	2008-12-12 08:26:37 UTC (rev 43597)
+++ trunk/dports/x11/efont-unicode/Portfile	2008-12-12 08:29:07 UTC (rev 43598)
@@ -11,10 +11,14 @@
 homepage       http://openlab.ring.gr.jp/efont/unicode/
 master_sites   http://openlab.ring.gr.jp/efont/dist/unicode-bdf/
 distname       ${name}-bdf-${version}
-depends_lib    bin:mkfontdir:XFree86 bin:mkfontscale:XFree86
+platforms      macosx darwin
+depends_build \
+	bin:gzip:gzip \
+	bin:bdftopcf:bdftopcf \
+	bin:mkfontscale:mkfontscale \
+	bin:mkfontdir:mkfontdir
 use_bzip2      yes
 checksums      md5 0c0acbb40e44d899472001302b1c9e48
-depends_lib    bin:mkfontdir:XFree86 bin:mkfontscale:XFree86
 set bdf_src    {b10 b10_i b10_b b10_bi b12 b12_i b12_b b12_bi \
                 b14 b14_i b14_b b14_bi b16 b16_i b16_b b16_bi \
                 b24 b24_i b24_b b24_bi f10 f10_i f10_b f10_bi \
@@ -23,10 +27,8 @@
 
 use_configure  no
 build {
-	cd ${worksrcpath}
 	foreach BDF ${bdf_src} {
-		system "bdftopcf -o ${BDF}.pcf ${BDF}.bdf"
-		system "gzip -9 ${BDF}.pcf"
+		system "echo ${BDF} && cd ${worksrcpath} && bdftopcf -o ${BDF}.pcf ${BDF}.bdf && gzip -9 ${BDF}.pcf"
 	}
 }
 destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081212/a749022d/attachment.html>


More information about the macports-changes mailing list