source: trunk/dports/gnome/vte-2.90/Portfile @ 134962

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

intltool dependents already updated for intltool 0.51: change 'reconfigure with autogen.sh' to 'reconfigure with upstream autogen.sh' in comment.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 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 134962 2015-04-12 08:20:29Z devans@macports.org $
3
4PortSystem          1.0
5PortGroup           gobject_introspection 1.0
6
7name                vte-2.90
8set gname           vte
9version             0.36.3
10set branch          [join [lrange [split $version .] 0 1] .]
11maintainers         nomaintainer
12categories          gnome
13license             LGPL
14platforms           darwin
15description         VTE is a library (libvte) implementing a terminal emulator widget for GTK+, \
16                    and a minimal sample application (vte) using that.
17
18long_description    ${description} \
19                    Vte is mainly used in gnome-terminal, but can also be used to embed a \
20                    console/terminal in games, editors, IDEs, etc.
21
22homepage            https://wiki.gnome.org/Apps/Terminal/VTE
23master_sites        gnome:sources/$gname/$branch/
24
25use_xz              yes
26
27distname            ${gname}-${version}
28
29checksums           rmd160  0f948d580cf9cdd040c881c26230198b4c85aff5 \
30                    sha256  54e5b07be3c0f7b158302f54ee79d4de1cb002f4259b6642b79b1e0e314a959c
31
32depends_build       port:pkgconfig \
33                    port:intltool \
34                    port:gtk-doc \
35                    port:autoconf \
36                    port:automake \
37                    port:libtool
38
39depends_lib         port:gtk3
40
41patchfiles          patch-src-vteutils.c.diff
42
43gobject_introspection yes
44
45# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
46
47configure.cmd       ./autogen.sh
48
49configure.args      --enable-glade-catalogue=no \
50                    --disable-Bsymbolic
51
52configure.cflags-append -fstrict-aliasing
53
54variant glade description {Enable building of glade catalog items} {
55    depends_lib-append  port:glade
56    configure.args-replace --enable-glade-catalogue=no --enable-glade-catalogue=yes
57}
58
59# glade expects catalog modules and libraries to have a .so suffix
60
61post-destroot {
62    move ${destroot}${prefix}/etc/profile.d/vte.sh ${destroot}${prefix}/etc/profile.d/vte-2.90.sh
63    if {[variant_isset glade]} {
64        set libdir ${prefix}/lib
65        ln -s ${libdir}/libvte2_90.dylib ${destroot}${libdir}/libvte2_90.so
66    }
67}
68
69livecheck.type      none
Note: See TracBrowser for help on using the repository browser.