source: trunk/dports/print/ttf2eot/Portfile @ 56051

Last change on this file since 56051 was 56051, checked in by ryandesign@…, 11 years ago

ttf2eot: does not work on PowerPC Macs at this time

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