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