source: trunk/dports/x11/pango/Portfile @ 27150

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

pango: no need to have these appended ldflags in quotes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 27150 2007-07-21 14:27:34Z ryandesign@macports.org $
2
3PortSystem      1.0
4name            pango
5version         1.16.4
6categories      x11
7maintainers     ryandesign
8homepage        http://www.pango.org/
9master_sites    gnome:sources/pango/[strsed ${version} {/\.[0-9]*$//}]
10platforms       darwin
11use_bzip2       yes
12
13description \
14        Framework for the layout and rendering of i18n text
15
16long_description \
17        The goal of the Pango project is to provide an \
18        open-source framework for the layout and rendering \
19        of internationalized text.
20
21checksums \
22        md5 025e2ac5e40cac163aae4653aeef559c \
23        sha1 6a21126632ed99950818c64d8598b6e92fa7da58 \
24        rmd160 377bc9f6e253db899d3eb31d31a9e0d0ba586ba7
25
26depends_lib \
27        port:glib2 \
28        lib:libX11.6:XFree86 \
29        port:Xft2 \
30        port:cairo \
31        port:fontconfig
32
33patchfiles \
34        patch-ltmain.sh
35
36configure.cppflags-append \
37        -no-cpp-precomp
38
39configure.ldflags-append \
40        -no-undefined \
41        -bind_at_load
42
43configure.args \
44        --mandir=${prefix}/share/man \
45        --enable-cairo
46
47post-destroot {
48        system "install -o root -m 755 -d \
49                ${destroot}${prefix}/etc/pango"
50        system "cp ${worksrcpath}/modules/pangorc \
51                ${destroot}${prefix}/etc/pango"
52        system "cp ${worksrcpath}/pango/pangox.aliases \
53                ${destroot}${prefix}/etc/pango"
54        reinplace "s|\\.\\./modules/|${prefix}/etc/pango/|g" \
55                ${destroot}/${prefix}/etc/pango/pangorc
56        system "env LANG=C DYLD_LIBRARY_PATH=${destroot}${prefix}/lib \
57                ${destroot}${prefix}/bin/pango-querymodules ${destroot}${prefix}/lib/pango/1.6.0/modules/*.so \
58                >${destroot}${prefix}/etc/pango/pango.modules"
59        reinplace s|${destroot}||g ${destroot}${prefix}/etc/pango/pango.modules
60}
61
62livecheck.check     freshmeat
Note: See TracBrowser for help on using the repository browser.