Ticket #25915: Portfile

File Portfile, 1.1 KB (added by oksmith77, 14 years ago)
Line 
1# $Id$
2
3PortSystem 1.0
4name            ttf-arphic-ukai
5version         0.1.20060928
6revision        1
7categories      x11 fonts
8maintainers     openmaintainer
9description     AR PL ZenKai Uni and AR PL ZenKai Uni MBE Unicode Fonts
10long_description \
11                AR PL ZenKai Uni and AR PL ZenKai 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}.orig.tar.gz
18checksums       md5     465b1350911f086a2021c36e039f79c8 \
19                sha1    969e790b221f2e73505dc432f3b806015bf99dc0 \
20                rmd160  d548793de0045937c0aaef60f55e87c2c402038f
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 ${worksrcpath}/ukai.ttf ${fontdir}
29}
30
31post-activate {
32    system "${prefix}/bin/fc-cache -fv ${prefix}/share/fonts"
33}