source: trunk/dports/x11/ttf-arphic-uming/Portfile

Last change on this file was 81219, checked in by jmr@…, 6 years ago

New port: ttf-arphic-uming (#25916)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 81219 2011-07-27 04:55:45Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            ttf-arphic-uming
6version         0.1.20060928
7categories      x11 fonts
8maintainers     magma.ca:oksmith openmaintainer
9description     AR PL ShanHeiSun Uni and AR PL ShanHeiSun Uni MBE Unicode Fonts
10long_description \
11                AR PL ShanHeiSun Uni and AR PL ShanHeiSun Uni MBE Unicode Fonts \
12                are provided by Arphic Technology to the Free Software \
13                community under the Arphic Public License.
14platforms       darwin
15homepage        http://www.font.su/fonts/
16master_sites    ${homepage}download/
17distfiles       uming_${version}.ttf
18checksums       md5     7b3c708e40c160e48d646aaed7d775d9 \
19                sha1    2a4f4a69e343c21c24d044b2cb19fd4f0decc82c \
20                rmd160  3c7b8a1871dfdd160b8afa200f14374b803d1bc6
21
22depends_run     port:fontconfig
23
24extract.only
25use_configure   no
26supported_archs noarch
27build       {}
28destroot {
29    set fontdir ${destroot}${prefix}/share/fonts/${name}
30    xinstall -d -m 755 ${fontdir}
31    xinstall -m 644 ${distpath}/${distfiles} \
32                         ${fontdir}/uming.ttf
33}
34
35post-activate {
36    system "${prefix}/bin/fc-cache -v ${prefix}/share/fonts"
37}
38post-deactivate {
39    system "${prefix}/bin/fc-cache -v ${prefix}/share/fonts"
40}
Note: See TracBrowser for help on using the repository browser.