source: trunk/dports/print/lcdf-typetools/Portfile

Last change on this file was 149537, checked in by mps@…, 13 months ago

lcdf-typetools: update to version 2.106. remove obsolete patches.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 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 149537 2016-06-25 01:24:33Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                lcdf-typetools
7version             2.106
8categories          print tex
9platforms           darwin
10license             GPL-2+
11maintainers         nomaintainer
12
13description         Tools for manipulating fonts.
14long_description    The LCDF Typetools package contains several \
15                    programs for manipulating PostScript Type 1, \
16                    Type 1 multiple master, and PostScript-flavored \
17                    OpenType fonts.
18homepage            http://www.lcdf.org/type/
19
20installs_libs       no
21
22master_sites        ${homepage}
23checksums           rmd160  97972e29420b24d1928e49a89c0049bf61060ffa \
24                    sha256  503c3869f73a392ae0ba41e0fc4f7672e70e2d66e8a81f3bb183f495183fa967
25
26patch.pre_args      -p1
27
28if {${configure.cxx_stdlib} eq {libc++} &&
29    [string match *clang* ${configure.cxx}]
30} then {
31    configure.cxxflags-append   -std=c++11
32}
33configure.args      --without-kpathsea
34
35destroot.target     install-strip
36post-destroot {
37    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/doc
38    xinstall -m 644 -W ${worksrcpath} COPYING INSTALL NEWS.md ONEWS README.md \
39        ${destroot}${prefix}/share/doc/${name}
40}
41
42variant texlive description {Link against TeXLive's libkpathsea} {
43    depends_lib-append      port:texlive-bin
44    configure.args-replace  --without-kpathsea \
45                            --with-kpathsea=${prefix}
46
47    pre-activate {
48        # texlive-fontutils used to provide its own copy of
49        # lcdf-typetools, but now (as of TL2012) depends on this port
50        if {![catch {set vers [lindex [registry_active texlive-fontutils] 0]}]
51            && [vercmp [lindex $vers 1] 26926] < 0} {
52            registry_deactivate_composite texlive-fontutils "" [list ports_nodepcheck 1]
53        }
54    }
55}
56
57default_variants    +texlive
58
59livecheck.type  regex
60livecheck.regex ${name}-(\[0-9.\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.