source: trunk/dports/x11/sazanami-font/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.2 KB
Line 
1# $Id: Portfile 136119 2015-05-11 19:45:31Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name              sazanami-font
6version           20040629
7categories        x11 fonts
8platforms         darwin
9maintainers       nomaintainer
10description       Japanese proportional TrueType font
11long_description  ${description}
12homepage          http://wiki.fdiary.net/font/?sazanami
13master_sites      http://osdn.dl.sourceforge.jp/efont/10087/ \
14                  http://keihanna.dl.sourceforge.jp/efont/10087/ \
15                  http://kyushu-u.dl.sourceforge.jp/efont/10087/
16distname          sazanami-${version}
17use_bzip2         yes
18checksums         md5 ceef10579a75c92483171f3bd7f77df2
19depends_lib       bin:mkfontdir:mkfontdir
20use_configure     no
21build             {}
22destroot {
23        set fontsdir ${destroot}${prefix}/share/fonts/sazanami
24        xinstall -d -m 755 ${destroot}${prefix}/share/doc/ ${fontsdir}
25        xinstall -m 644 ${worksrcpath}/sazanami-mincho.ttf ${fontsdir}
26        xinstall -m 644 ${worksrcpath}/sazanami-gothic.ttf ${fontsdir}
27        #mkfontscale && mkfontdir
28        system "mkfontscale ${fontsdir} && mkfontdir ${fontsdir}"
29        #docs
30        file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
31        xinstall -m 644 ${worksrcpath}/README \
32                ${destroot}${prefix}/share/doc/${name}
33}
Note: See TracBrowser for help on using the repository browser.