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

Last change on this file since 144186 was 144186, checked in by devans@…, 4 years ago

misc ports: increment revision to remove references to libncurses.5.

  • 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 144186 2016-01-04 06:56:45Z devans@macports.org $
3
4PortSystem      1.0
5PortGroup       gobject_introspection 1.0
6
7name            vte-gtk2-compat
8set gname       vte
9version         0.28.2
10revision        2
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
47# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
48
49configure.cmd   ./autogen.sh
50configure.args  --with-gtk=2.0 \
51                --disable-Bsymbolic \
52                --disable-python
53
54configure.cflags-append -fstrict-aliasing
55
56variant python27 description {Build Python bindings using Python 2.7} {
57    configure.args-delete --disable-python
58    set python_prefix ${frameworks_dir}/Python.framework/Versions/2.7
59    depends_lib-append port:py27-pygtk
60    configure.python ${prefix}/bin/python2.7
61    configure.pkg_config_path   ${python_prefix}/lib/pkgconfig
62    configure.env               PATH=${python_prefix}/bin:$env(PATH)
63}
64
65# default to optional python27 bindings
66
67default_variants +python27
68
69# rename gnome-pty-helper to avoid a conflict with port vte
70
71post-destroot {
72    move ${destroot}${prefix}/libexec/gnome-pty-helper ${destroot}${prefix}/libexec/gnome-pty-helper-0.0
73}
74
75platform darwin 9 {
76    post-patch {
77        reinplace "s| -export-symbols-regex.*||g" \
78            ${worksrcpath}/python/Makefile.in
79        reinplace "s|-export-symbols-regex.*| \\\\|g" \
80            ${worksrcpath}/src/Makefile.in
81    }
82}
83
84livecheck.type  none
Note: See TracBrowser for help on using the repository browser.