Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f600e5a
commit 0d08650
Showing
1 changed file
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# -*- 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 | ||
|
||
PortSystem 1.0 | ||
|
||
name liberation-fonts | ||
version 2.00.1 | ||
checksums rmd160 99ee3851f3f1ae9a431541de5765312f01ef19d7 \ | ||
sha256 7890278a6cd17873c57d9cd785c2d230d9abdea837e96516019c5885dd271504 | ||
|
||
categories x11 fonts | ||
platforms darwin | ||
supported_archs noarch | ||
maintainers ctreleaven openmaintainer | ||
# See homepage re license - | ||
license SIL | ||
|
||
description replacements for the three commonly used fonts on Microsoft systems | ||
|
||
long_description The Liberation Fonts are intended to be open font replacements for the \ | ||
three most commonly used fonts on Microsoft systems: Times New Roman, \ | ||
Arial, and Courier New. | ||
|
||
homepage https://fedorahosted.org/liberation-fonts/ | ||
master_sites https://fedorahosted.org/releases/l/i/liberation-fonts/ | ||
|
||
distname ${name}-ttf-${version} | ||
|
||
depends_run port:fontconfig | ||
|
||
use_configure no | ||
|
||
build {} | ||
|
||
destroot { | ||
set fontsdir ${destroot}${prefix}/share/fonts/${name} | ||
xinstall -d -m 755 ${fontsdir} | ||
xinstall -m 644 {*}[glob ${worksrcpath}/*.ttf] ${fontsdir} | ||
|
||
xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name} | ||
xinstall -m 644 -W ${worksrcpath} \ | ||
AUTHORS \ | ||
ChangeLog \ | ||
LICENSE \ | ||
README \ | ||
TODO \ | ||
${destroot}${prefix}/share/doc/${name} | ||
} | ||
|
||
post-activate { | ||
system "${prefix}/bin/fc-cache -fv ${prefix}/share/fonts" | ||
} | ||
|
||
livecheck.type regex | ||
livecheck.regex {\-ttf\-([0-9.]+)\.tar} |