source: trunk/dports/x11/urw-fonts/Portfile

Last change on this file was 137621, checked in by mf2k@…, 2 years ago

a2ps-j canna chasen chasen-base chasen-ipadic chasen-ipadic-sjis chasen-ipadic-utf8 chasen-naist-jdic chasen-naist-jdic-sjis chasen-naist-jdic-utf8 cocot darts dejavu-fonts disvf FDclone ghostscript ghostscript-fonts-hiragino gnushogi jnethack kakasi kinput2 lv makejvf nkf p5-nkf p5-text-chasen p5-text-kakasi pTeX smartmontools urw-fonts: Ports abandoned by takanori. (#47537)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 137621 2015-06-15 14:56:57Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            urw-fonts
7version         1.0.7pre44
8categories      x11 fonts
9maintainers     nomaintainer
10license             GPL-2+
11description     Cyrillized free URW fonts
12long_description \
13                These fonts were made from the free URW fonts distributed with ghostcript. \
14                There are NO changes in the latin part of them (I hope). \
15                Cyrillic glyphs were added by copying suitable latin ones \
16                and painting oulines of unique cyrillic glyphs in same style as the others.
17platforms       darwin
18supported_archs noarch
19homepage        ftp://ftp.gnome.ru/fonts/urw/release/
20master_sites    macports \
21                ftp://ftp.gnome.ru/fonts/urw/release/
22use_bzip2       yes
23checksums       md5 51c6c2690593cd9bd92f197a6f2ff8bd \
24                sha1 465fd5faab9ba9e7590f1bf761015862eb09748d \
25                rmd160 52bddb1e267e6aa3cace9197293718e4919384bd
26
27depends_run     port:fontconfig
28
29extract.dir     ${worksrcpath}
30pre-extract {
31    file mkdir ${worksrcpath}
32}
33
34use_configure   no
35
36build {}
37
38destroot {
39    set fontsdir ${destroot}${prefix}/share/fonts/${name}
40    xinstall -d -m 755 ${fontsdir}
41    foreach f {*.afm *.pfb *.pfm fonts.*} {
42        eval xinstall -m 644 [glob ${worksrcpath}/${f}] ${fontsdir}
43    }
44}
45post-destroot {
46    xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
47    xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog README README.tweaks ${destroot}${prefix}/share/doc/${name}
48}
49post-activate {
50    #though this approach is not so scalable.
51    system "${prefix}/bin/fc-cache -fv ${prefix}/share/fonts"
52}
53
54#livecheck.name urw-fonts-cyrillic
55livecheck.type  none
Note: See TracBrowser for help on using the repository browser.