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

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

Removed now unnecessary gail dependency. Minor lint fix.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 40334 2008-09-29 17:31:45Z macsforever2000@macports.org $
2
3PortSystem  1.0
4
5name            libgnomecanvas
6version     2.20.1.1
7set branch  [join [lrange [split ${version} .] 0 1] .]
8revision    1
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.
16maintainers     nomaintainer
17categories      gnome
18platforms       darwin
19homepage        http://www.gnome.org/
20master_sites    gnome:sources/${name}/${branch}/
21
22checksums       md5 948ed771d2957d24a0c9a414e9581055 \
23                sha1 302a4762b658244828ad1c9f291ffb972b8274c9 \
24                rmd160 fe5333c31f385313b2e90deb9710275d61bbc15b
25
26depends_build   port:pkgconfig \
27                port:perl5.8 \
28                port:p5-xml-parser \
29                port:intltool
30
31depends_lib \
32    path:${prefix}/lib/pkgconfig/glib-2.0.pc:glib2 \
33    port:gtk2 \
34    path:${prefix}/lib/pkgconfig/pango.pc:pango \
35    port:gettext \
36    port:libiconv \
37        port:libart_lgpl \
38        port:libglade2
39
40use_bzip2       yes
41
42configure.cppflags-append "-L${prefix}/lib"
43
44test.run        yes
45test.target     check
46
47pre-test {
48    set libdirs {}
49    fs-traverse {dir} ${worksrcpath} {
50        if {[file tail ${dir}] == ".libs" && [file isdirectory ${dir}]} {
51            lappend libdirs ${dir}
52
53            continue
54        }
55    }
56
57    test.env    DYLD_LIBRARY_PATH=[join ${libdirs} :]
58}
59
60livecheck.check regex
61livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
62livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
63
Note: See TracBrowser for help on using the repository browser.