source: trunk/dports/gnome/vte-gtk2-compat/Portfile

Last change on this file was 144190, checked in by devans@…, 21 months ago

vte-gtk2-compat: add patch to fix pty initialization, increment revision.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
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: Portfile 144190 2016-01-04 13:20:36Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       gobject_introspection 1.0
6
7name            vte-gtk2-compat
8set gname       vte
9version         0.28.2
10revision        3
11set branch      [join [lrange [split $version .] 0 1] .]
12maintainers     devans openmaintainer
13categories      gnome
14license         LGPL
15platforms       darwin
16description     Terminal widget with improved accessibility and I18N support.
17
18long_description \
19    Terminal widget with improved font, internationalisation and \
20    accessibility support for the GNOME 2 desktop.  Designed to \
21    replace libzvt.
22
23homepage        http://www.gnome.org/
24master_sites    gnome:sources/$gname/$branch/
25use_xz          yes
26
27distname        ${gname}-${version}
28
29checksums       rmd160  8f3396d4e98023b74898e938331917b181964158 \
30                sha256  86cf0b81aa023fa93ed415653d51c96767f20b2d7334c893caba71e42654b0ae
31
32depends_build   port:pkgconfig \
33                port:intltool \
34                port:gperf \
35                port:gtk-doc \
36                port:gnome-common \
37                port:autoconf \
38                port:automake \
39                port:libtool
40
41depends_lib     port:gtk2
42
43gobject_introspection no
44
45patchfiles      patch-configure.in.diff \
46                patch-src-pty.c.diff
47
48# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
49
50configure.cmd   ./autogen.sh
51configure.args  --with-gtk=2.0 \
52                --disable-Bsymbolic \
53                --disable-python
54
55configure.cflags-append -fstrict-aliasing
56
57variant python27 description {Build Python bindings using Python 2.7} {
58    configure.args-delete --disable-python
59    set python_prefix ${frameworks_dir}/Python.framework/Versions/2.7
60    depends_lib-append port:py27-pygtk
61    configure.python ${prefix}/bin/python2.7
62    configure.pkg_config_path   ${python_prefix}/lib/pkgconfig
63    configure.env               PATH=${python_prefix}/bin:$env(PATH)
64}
65
66# default to optional python27 bindings
67
68default_variants +python27
69
70# rename gnome-pty-helper to avoid a conflict with port vte
71
72post-destroot {
73    move ${destroot}${prefix}/libexec/gnome-pty-helper ${destroot}${prefix}/libexec/gnome-pty-helper-0.0
74}
75
76platform darwin 9 {
77    post-patch {
78        reinplace "s| -export-symbols-regex.*||g" \
79            ${worksrcpath}/python/Makefile.in
80        reinplace "s|-export-symbols-regex.*| \\\\|g" \
81            ${worksrcpath}/src/Makefile.in
82    }
83}
84
85livecheck.type  none
Note: See TracBrowser for help on using the repository browser.