Ticket #55365: Portfile.2

File Portfile.2, 1.6 KB (added by kencu (Ken), 7 years ago)

Portfile.reformatted slightly

Line 
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
3PortSystem         1.0
4
5name               ttfautohint
6version            1.7
7description        A library to autohint TrueType fonts
8long_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
13homepage           https://www.freetype.org/ttfautohint/
14categories         graphics fonts
15platforms          darwin
16maintainers        @tuffnatty openmaintainer
17license            {freetype GPL-2}
18master_sites       sourceforge:project/freetype/ttfautohint/${version}
19
20checksums          rmd160 73f74ddab855cbe3b82d27216eabc410b07c4d9b \
21                   sha256 3db94821e4edb3900b6533733d06731eb667f1e9c144bb70d1339de7ef4007f2
22
23depends_build      port:pkgconfig
24
25depends_lib        port:freetype \
26                   port:harfbuzz
27                   
28configure.args     --with-qt=no \
29                   --with-doc=no
30
31variant qt4 conflicts qt5 description {Enable GUI based on QT 4} {
32    PortGroup  qt4 1.0
33    configure.args-replace --with-qt=no \
34                           --with-qt=${qt_bins_dir}
35}
36
37variant qt5 conflicts qt4 description {Enable GUI based on QT 5} {
38    PortGroup  qt5 1.0
39    configure.args-replace --with-qt=no \
40                           --with-qt=${qt_bins_dir}
41    qt5.depends_component  qtbase
42}