Ticket #24959: Portfile

File Portfile, 1.8 KB (added by jnimety@…, 14 years ago)

Update Portfile

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem      1.0
5
6name            vte
7version         0.25.1
8revision        1
9set branch      [join [lrange [split $version .] 0 1] .]
10maintainers     nomaintainer
11categories      gnome
12platforms       darwin
13description     Terminal widget with improved accessibility and I18N support.
14
15long_description \
16    Terminal widget with improved font, internationalisation and \
17    accessibility support for the GNOME 2 desktop.  Designed to \
18    replace libzvt.
19
20homepage        http://www.gnome.org/
21master_sites    gnome:sources/$name/$branch/
22use_bzip2       yes
23
24checksums       md5 986bdf8f4e25bdb30615b69b26289909 \
25                sha1 818130a91bc205c3165aa380dae43d12b733a406 \
26                rmd160 cfb094f4055dd98e3cfd6053efa2119034c81295
27
28depends_lib     port:py26-gtk \
29                port:gtk2 \
30                port:ncurses
31
32depends_build   port:p5-xml-parser \
33                port:intltool \
34                port:pkgconfig
35
36if { ![file exists ${prefix}/include/gtk-2.0/gdk/gdkx.h] } {
37    patchfiles patch-x-display-missing.diff
38}
39
40configure.args  --disable-freetypetest
41configure.python ${prefix}/bin/python2.6
42
43configure.cflags-append -fstrict-aliasing
44
45use_parallel_build  yes
46
47variant without_python description {Disable Python support} {
48    depends_lib-delete  port:py26-gtk
49    configure.args-append   --disable-python
50}
51
52platform darwin 9 {
53    post-patch {
54        reinplace "s| -export-symbols-regex.*||g" \
55            ${worksrcpath}/python/Makefile.in
56        reinplace "s|-export-symbols-regex.*| \\\\|g" \
57            ${worksrcpath}/src/Makefile.in
58    }
59}
60
61livecheck.type  regex
62livecheck.url   http://ftp.gnome.org/pub/gnome/sources/$name/$branch/
63livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}