source: trunk/dports/print/ttf2eot/Portfile

Last change on this file was 107821, checked in by ryandesign@…, 4 years ago

mongodb, oracle-instantclient, curl, VillainousStyle, pure-gen, MyPaint, keybinder, fontconfig, graphviz-oldgui, openni, ttf2eot: use eq and ne for string comparisons

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 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 107821 2013-07-06 08:26:24Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    ttf2eot
7version                 0.0.2-2
8platforms               darwin
9categories              print www
10maintainers             ryandesign
11license                 BSD LGPL-2 LGPL-2.1
12homepage                http://code.google.com/p/ttf2eot/
13master_sites            googlecode
14
15description             TrueType font (ttf) to Embeddable OpenType font (eot) \
16                        converter
17
18long_description        ${name} converts TrueType font (ttf) files into \
19                        Embeddable OpenType font (eot) files for use in CSS \
20                        @font-face rules for Internet Explorer for Windows
21
22checksums               md5     97c9ceb0ded362bf2e6dd3a3a9360f8d \
23                        sha1    c9a64216e7a090cb50f7a5074865218623dea75d \
24                        rmd160  9710d38f4c33a42863d3c4a5aceffe6aac55f0ec
25
26pre-fetch {
27    if {${os.endian} eq "big"} {
28        ui_error "${name} does not currently work on PowerPC Macs."
29        ui_error "See http://code.google.com/p/ttf2eot/issues/detail?id=14"
30        return -code error "incompatible processor"
31    }
32}
33
34patchfiles              patch-Makefile.diff
35
36use_configure           no
37
38build.target            ${name}
39build.env               CXX=${configure.cxx}
40
41destroot {
42    xinstall -m 755 -W ${worksrcpath} ${name} ${destroot}${prefix}/bin
43    set docdir ${destroot}${prefix}/share/doc/${name}
44    xinstall -d ${docdir}
45    xinstall -m 644 -W ${worksrcpath} README ${docdir}
46}
Note: See TracBrowser for help on using the repository browser.