1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name ttfautohint |
---|
6 | version 1.7 |
---|
7 | description A library to autohint TrueType fonts |
---|
8 | long_description ttfautohint provides a 99% automated hinting process and a platform for \ |
---|
9 | finely hand-hinting the last 1%. It is ideal for web fonts and supports \ |
---|
10 | many scripts: Latin, Greek, Arabic, Devanagari, Hebrew, Khmer, Myanmar, \ |
---|
11 | Thai, and many more. |
---|
12 | |
---|
13 | homepage https://www.freetype.org/ttfautohint/ |
---|
14 | categories graphics fonts |
---|
15 | platforms darwin |
---|
16 | maintainers @tuffnatty openmaintainer |
---|
17 | license {freetype GPL-2} |
---|
18 | master_sites sourceforge:project/freetype/ttfautohint/${version} |
---|
19 | |
---|
20 | checksums rmd160 73f74ddab855cbe3b82d27216eabc410b07c4d9b \ |
---|
21 | sha256 3db94821e4edb3900b6533733d06731eb667f1e9c144bb70d1339de7ef4007f2 |
---|
22 | |
---|
23 | depends_build port:pkgconfig |
---|
24 | |
---|
25 | depends_lib port:freetype \ |
---|
26 | port:harfbuzz |
---|
27 | |
---|
28 | patch { |
---|
29 | reinplace "s/at_qmake_args='-spec macx-g++'/at_qmake_args='-spec ${qt_qmake_spec}'/" configure |
---|
30 | } |
---|
31 | |
---|
32 | configure.args --with-qt=no \ |
---|
33 | --with-doc=no |
---|
34 | |
---|
35 | variant qt4 conflicts qt5 description {Enable GUI based on QT 4} { |
---|
36 | PortGroup qt4 1.0 |
---|
37 | configure.args-replace --with-qt=no \ |
---|
38 | --with-qt=${qt_bins_dir} |
---|
39 | } |
---|
40 | |
---|
41 | variant qt5 conflicts qt4 description {Enable GUI based on QT 5} { |
---|
42 | PortGroup qt5 1.0 |
---|
43 | configure.args-replace --with-qt=no \ |
---|
44 | --with-qt=${qt_bins_dir} |
---|
45 | qt5.depends_component qtbase |
---|
46 | } |
---|