source: trunk/dports/print/fondu/Portfile @ 54913

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

fix universal variant, ticket #17599

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 54913 2009-08-04 15:37:04Z snc@macports.org $
2
3PortSystem 1.0
4
5name           fondu
6version        060102
7platforms      darwin
8description    A set of programs to interconvert between mac font formats and pfb, ttf, otf and bdf files on unix. 
9
10long_description \
11Dealing with mac fonts is hard on other operating systems because mac fonts are stored \
12in the resource fork, and other operating systems do not support this concept. Fondu \
13will extract the resource fork from either a macbinary file or a binhex file. Ufond will \
14create a resource fork inside a macbinary file.
15
16categories     print
17homepage       http://fondu.sourceforge.net/
18master_sites   http://fondu.sourceforge.net/
19checksums      md5 e20861beacddc1ab392bef7813641bf8     
20maintainers    nomaintainer
21distname       fondu_src-${version}
22extract.suffix   .tgz
23worksrcdir     fondu-${version}
24
25post-patch {
26        set CPPFLAGS "${configure.cppflags}"
27        set CFLAGS "${configure.cflags}"
28        set LDFLAGS "${configure.ldflags}"
29
30        if {[variant_isset universal]} {
31                set CPPFLAGS "${CPPFLAGS} ${configure.universal_cppflags}"
32                set CFLAGS "${CFLAGS} ${configure.universal_cflags}"
33                set LDFLAGS "${LDFLAGS} ${configure.universal_ldflags}"
34        }
35
36        reinplace "s|^CFLAGS = -g \$(WFLAGS)|CFLAGS = -g \$(WFLAGS) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}|g" ${worksrcpath}/Makefile.in
37}
38
39configure.args  --bindir=${prefix}/bin --mandir=${prefix}/share/man
40
41post-destroot {
42        foreach manpage [glob ${worksrcpath}/*.1] {
43                xinstall ${manpage} ${destroot}${prefix}/share/man/man1/
44        }
45 }
Note: See TracBrowser for help on using the repository browser.