source: trunk/dports/x11/freefont-ttf/Portfile

Last change on this file was 137110, checked in by khindenburg@…, 2 years ago

freefont-ttf: fix livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 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 137110 2015-06-05 01:14:30Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                freefont-ttf
7version             20120503
8categories          x11 fonts
9license             GPL-3+
10platforms           darwin
11maintainers         gmail.com:mschamschula openmaintainer
12
13description         Free UCS Outline Fonts
14long_description    A set of free outline fonts covering the ISO \
15                    10646/Unicode UCS (Universal Character Set).
16homepage            http://www.gnu.org/software/freefont/
17
18installs_libs       no
19supported_archs     noarch
20
21master_sites        gnu:freefont
22use_zip             yes
23checksums           rmd160  6d557859062a9aaf2022f4bfd63b9973f31474f0 \
24                    sha256  7c85baf1bf82a1a1845d1322112bc6ca982221b484e3b3925022e25b5cae89af
25
26worksrcdir          freefont-${version}
27
28post-extract {
29    foreach f {fonts.dir fonts.scale} {
30        system "bzip2 -dc ${filespath}/${f}.bz2 > ${worksrcpath}/${f}"
31    }
32}
33use_configure       no
34
35build {}
36
37destroot {
38    set fontdir ${destroot}${prefix}/share/fonts/${name}
39    xinstall -d -m 755 ${fontdir}
40    foreach f {*.ttf fonts.*} {
41        eval xinstall -m 644 [glob ${worksrcpath}/${f}] ${fontdir}
42    }
43}
44
45livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.