source: trunk/dports/x11/efont-unicode/Portfile

Last change on this file was 136119, checked in by mf2k@…, 2 years ago

efont-unicode hyperestraier kochi-substitute mikachanfont monafont mplus-fonts p5-nkf qdbm sazanami-font: Ports abandoned by nifty.com:pelopor. (#47296)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 136119 2015-05-11 19:45:31Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name           efont-unicode
6version        0.4.2
7categories     x11 fonts
8maintainers    nomaintainer
9description    efont Unicode Bitmap Fonts
10long_description ${description}
11homepage       http://openlab.ring.gr.jp/efont/unicode/
12master_sites   http://openlab.ring.gr.jp/efont/dist/unicode-bdf/
13distname       ${name}-bdf-${version}
14platforms      macosx darwin
15depends_build \
16        bin:gzip:gzip \
17        bin:bdftopcf:bdftopcf \
18        bin:mkfontscale:mkfontscale \
19        bin:mkfontdir:mkfontdir
20use_bzip2      yes
21checksums      md5 0c0acbb40e44d899472001302b1c9e48
22set bdf_src    {b10 b10_i b10_b b10_bi b12 b12_i b12_b b12_bi \
23                b14 b14_i b14_b b14_bi b16 b16_i b16_b b16_bi \
24                b24 b24_i b24_b b24_bi f10 f10_i f10_b f10_bi \
25                f12 f12_i f12_b f12_bi f16 f16_i f16_b f16_bi \
26                f24 f24_i f24_b f24_bi}
27
28use_configure  no
29build {
30        foreach BDF ${bdf_src} {
31                system "echo ${BDF} && cd ${worksrcpath} && bdftopcf -o ${BDF}.pcf ${BDF}.bdf && gzip -9 ${BDF}.pcf"
32        }
33}
34destroot {
35        set fontsdir ${destroot}${prefix}/share/fonts/${name}
36        xinstall -d -m 755 ${fontsdir} ${destroot}${prefix}/share/doc/${name}
37        foreach BDF ${bdf_src} {
38                xinstall -m 644 ${worksrcpath}/${BDF}.pcf.gz ${fontsdir}
39        }
40        xinstall -m 644 -W ${worksrcpath} COPYRIGHT ChangeLog List.html README \
41                README.baekmuk README.contrib README.etl-unicode README.naga10 \
42                README.shinonome README.ucs-fonts ${destroot}${prefix}/share/doc/${name}
43        system "mkfontscale ${fontsdir} && mkfontdir ${fontsdir}"
44}
Note: See TracBrowser for help on using the repository browser.