source: trunk/dports/graphics/fontforge/Portfile @ 20309

Last change on this file since 20309 was 20309, checked in by blair@…, 13 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 20309 2006-11-01 21:25:57Z blair@macports.org $
2
3PortSystem                      1.0
4name                            fontforge
5version                         20060125
6categories                      graphics fonts
7maintainers                     darwinports@opendarwin.org
8description                     Outline and bitmap font editor/converter for many formats
9long_description \
10        FontForge allows you to edit outline and bitmap fonts.  You may create \
11        new ones or modify old ones.  It is also a format converter and can \
12        interconvert between PostScript (ascii & binary Type1, some Type3, \
13        some Type0), TrueType, OpenType (Type2), CID, SVG.  Previously known as \
14        pfaedit.
15
16platforms                       darwin
17
18homepage                        http://fontforge.sourceforge.net/
19master_sites            ${homepage}
20distname                        ${name}_full-${version}
21use_bzip2                       yes
22
23checksums                       md5 831ac5225b1a9b00b0b7bcf622c62fee
24
25worksrcdir                      ${name}-${version}
26
27depends_lib                     port:libpng port:libungif port:tiff port:jpeg \
28                                        port:libuninameslist port:freetype port:gettext \
29                                        lib:libX11:XFree86
30
31patchfiles                      patch-configure patch-Makefile.dynamic.in \
32                                        patch-gdraw_Makefile.dynamic.in \
33                                        patch-fontforge_Makefile.dynamic.in \
34                                        patch-Unicode_Makefile.dynamic.in patch-po_Makefile.in
35post-patch {
36        reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/configure
37}
38
39configure.env           CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
40configure.args          --mandir=${prefix}/share/man
41
42post-destroot {
43        xinstall -m 755 -d ${destroot}/${prefix}/share/doc/${name}
44        xinstall -m 644 -W ${worksrcpath} AUTHORS INSTALL LICENSE README-Mac.html \
45                README-Unix.html README-unix ${destroot}/${prefix}/share/doc/${name}
46}
47
48variant svg {
49        depends_lib-append              port:libxml2
50        configure.args-append   --with-multilayer
51}
52
Note: See TracBrowser for help on using the repository browser.