source: trunk/dports/x11/monafont/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            monafont
6version         2.90
7revision        1
8categories      x11 fonts
9platforms       darwin
10maintainers     nomaintainer
11description     Japanese proportional font to show Japanese text arts correctly
12long_description \
13   Mona Font is a Japanese proportional font which allows you to view Japanese \
14   text arts correctly. Mona Font is based on Shinonome Font, a Japanese font \
15   developed by /efont/ Project.
16homepage        http://monafont.sourceforge.net/
17master_sites    sourceforge
18use_bzip2       yes
19checksums       md5 2b914878b19b1550757cea5d8a771612
20depends_build   port:mkfontscale port:mkfontdir
21post-patch {
22    reinplace "s|/usr/X11R6|${prefix}|" ${worksrcpath}/Makefile \
23                                        ${worksrcpath}/ttfsrc/Makefile
24}
25use_configure   no
26build.target    {}
27set myfontdir   ${prefix}/share/fonts/${name}
28destroot.destdir X11FONTDIR=${destroot}${myfontdir}
29pre-destroot {
30  xinstall -d -m 755 ${destroot}${myfontdir} \
31    ${destroot}${prefix}/share/doc/monafont
32  eval xinstall -m 644 [glob ${worksrcpath}/README*] \
33    ${destroot}${prefix}/share/doc/monafont
34}
35
36post-activate {
37   system "mkfontscale ${myfontdir}"
38   system "mkfontdir ${myfontdir}"
39}
40
41post-deactivate {
42   system "mkfontscale ${myfontdir}"
43   system "mkfontdir ${myfontdir}"
44}
Note: See TracBrowser for help on using the repository browser.