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