source: trunk/dports/gnome/libgnomecanvas/Portfile @ 38750

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

nomaintainer ports: allow pango or pango-devel to satisfy pango dependency

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
RevLine 
[20305]1# $Id: Portfile 38750 2008-07-30 07:07:11Z ryandesign@macports.org $
[29875]2
3PortSystem  1.0
4
[3244]5name            libgnomecanvas
[30296]6version     2.20.1.1
[29662]7set branch  [join [lrange [split ${version} .] 0 1] .]
[30296]8revision    0
[3244]9description     A graphics library for GNOME.
10long_description        The GNOMECanvas library provides a number \
11                        of features: \
12                        Image loading facilities. Rendering of a \
13                        GdkPixBuf into various formats: drawables \
14                        (windows, pixmaps), GdkRGB buffers. \
15                        A cache interface.
[31825]16maintainers     nomaintainer
[3260]17categories      gnome
[3244]18platforms       darwin
19homepage        http://www.gnome.org/
[29662]20master_sites    gnome:sources/${name}/${branch}/
[14034]21
[30296]22checksums       md5 948ed771d2957d24a0c9a414e9581055 \
23                sha1 302a4762b658244828ad1c9f291ffb972b8274c9 \
24                rmd160 fe5333c31f385313b2e90deb9710275d61bbc15b
[14034]25
[29425]26depends_build   port:pkgconfig \
27                port:perl5.8 \
28                port:p5-xml-parser \
29                port:intltool
30
[14034]31depends_lib \
[38077]32    path:${prefix}/lib/pkgconfig/glib-2.0.pc:glib2 \
[29425]33    port:gtk2 \
34    port:gail \
[38750]35    path:${prefix}/lib/pkgconfig/pango.pc:pango \
[29425]36    port:gettext \
37    port:libiconv \
[18614]38        port:libart_lgpl \
[16891]39        port:libglade2
[14034]40
[3244]41use_bzip2       yes
[14034]42
[28553]43configure.cppflags-append "-L${prefix}/lib"
[29425]44
45test.run        yes
46test.target     check
47
48pre-test {
49    set libdirs {}
50    fs-traverse {dir} ${worksrcpath} {
51        if {[file tail ${dir}] == ".libs" && [file isdirectory ${dir}]} {
52            lappend libdirs ${dir}
53
54            continue
55        }
56    }
57
58    test.env    DYLD_LIBRARY_PATH=[join ${libdirs} :]
59}
60
[29662]61livecheck.check regex
62livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
63livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
64
Note: See TracBrowser for help on using the repository browser.