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