Ticket #25916: Portfile

File Portfile, 1.2 KB (added by oksmith77, 14 years ago)
Line 
1# $Id$
2
3PortSystem 1.0
4name            ttf-arphic-uming
5version         0.1.20060928
6revision        1
7categories      x11 fonts
8maintainers     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    http://www.font.su/fonts/download/
17distfiles       ${name}_${version}.ttf
18checksums       md5     7b3c708e40c160e48d646aaed7d775d9 \
19                sha1    2a4f4a69e343c21c24d044b2cb19fd4f0decc82c \
20                rmd160  3c7b8a1871dfdd160b8afa200f14374b803d1bc6
21
22use_configure   no
23supported_archs noarch
24build       {}
25destroot {
26    set fontdir ${destroot}${prefix}/share/fonts/${name}
27    xinstall -d -m 755 ${fontdir}
28    eval xinstall -m 644 ${prefix}/var/macports/distfiles/${name}/${distfiles} \
29                         ${fontdir}/uming.ttf
30}
31
32post-activate {
33    system "${prefix}/bin/fc-cache -fv ${prefix}/share/fonts"
34}