source: trunk/dports/x11/kochi-substitute/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4
5name               kochi-substitute
6version            20030809
7categories         x11 fonts
8maintainers        nifty.com:pelopor
9description        Free Japanese TrueType fonts named 'Kochi Mincho' and \
10                   'Kochi Gothic'
11long_description   ${description}
12homepage           http://wiki.fdiary.net/font/?kochi-alternative
13master_sites       http://osdn.dl.sourceforge.jp/efont/5411/ \
14                   http://keihanna.dl.sourceforge.jp/efont/5411/ \
15                   http://kyushu-u.dl.sourceforge.jp/efont/5411/
16use_bzip2          yes
17checksums          md5 c4b14e287cf2b1688c649e2274e128b3
18depends_lib        bin:mkfontdir:mkfontdir bin:mkfontscale:mkfontscale
19use_configure      no
20build              {}
21
22destroot {
23        set fontsdir ${destroot}${prefix}/share/fonts/${name}
24        xinstall -m 755 -d ${fontsdir} ${destroot}/${prefix}/share/doc/
25        xinstall -m 644 ${worksrcpath}/kochi-mincho-subst.ttf ${fontsdir}
26        xinstall -m 644 ${worksrcpath}/kochi-gothic-subst.ttf ${fontsdir}
27        #mkfontscale && mkfontdir
28        system "mkfontscale ${fontsdir} && mkfontdir ${fontsdir}"
29        #docs
30        file copy ${worksrcpath}/docs ${destroot}/${prefix}/share/doc/${name}
31        xinstall -m 644 -W ${worksrcpath} COPYING README.ja Changelog \
32                ${destroot}/${prefix}/share/doc/${name}
33}
Note: See TracBrowser for help on using the repository browser.