-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Copy pathPortfile
53 lines (40 loc) · 1.95 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# -*- 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
PortGroup perl5 1.0
name fntsample
version 4.1
revision 4
categories graphics fonts print
maintainers {mojca @mojca} openmaintainer
platforms darwin
license GPL-3+
description Font samples generator
long_description FntSample is a tool that can be used to make font samples \
that show coverage of the font and are similar in appearance \
to Unicode Charts.
homepage http://fntsample.sourceforge.net/
master_sites sourceforge:project/fntsample/fntsample/${version}/
checksums rmd160 1ad126aab52ff3e553a0a4071280bdeba59b540d \
sha256 1824f7e452b56671cf451819a46af70db549213e5c189e6b3cda273cd05e2411
perl5.branches 5.34
depends_build port:pkgconfig \
port:gettext \
port:perl${perl5.major}
depends_lib path:lib/pkgconfig/cairo.pc:cairo \
port:fontconfig \
port:freetype \
port:libiconv \
path:lib/pkgconfig/glib-2.0.pc:glib2 \
path:lib/pkgconfig/pango.pc:pango
depends_run port:perl${perl5.major} \
port:p${perl5.major}-libintl-perl \
port:p${perl5.major}-pdf-api2
configure.args --with-unicode-blocks=${prefix}/lib/perl5/${perl5.major}/unicore/Blocks.txt
post-patch {
reinplace -W ${worksrcpath} "s|^#! /usr/bin/perl|#! ${prefix}/bin/perl${perl5.major}|g" pdfoutline.pl
}
# this patch is only available in MacPorts; not sure what exactly to ask upstream
# the original colors are "useless" for print
variant brightcolors description {Use brighter colors in tables (consume less ink)} {
patchfiles patch-color.diff
}