source: trunk/dports/gnome/vte/Portfile @ 38077

Last change on this file since 38077 was 38077, checked in by ryandesign@…, 11 years ago

In all openmaintainer and nomaintainer ports and my ports, depend on glib2 via a path in ${prefix} so that either glib2 or glib2-devel can satisfy the dependency

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 38077 2008-07-05 21:37:56Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            vte
7version         0.16.13
8maintainers     nomaintainer
9categories      gnome
10platforms       darwin
11description     Terminal widget with improved accessibility and I18N support.
12
13long_description \
14    Terminal widget with improved font, internationalisation and \
15    accessibility support for the GNOME 2 desktop.  Designed to \
16    replace libzvt.
17
18homepage        http://www.gnome.org/
19master_sites    gnome:sources/vte/[join [lrange [split ${version} .] 0 1] .]/
20use_bzip2       yes
21
22checksums       md5 40480f20f6b7664f3d364e4f2ed27889 \
23                sha1 5dc98cf5e2a5c96236ae8daa1bd53017e89adb71 \
24                rmd160 093e40ea7032b887cd1b12a97e060aeb8e8dd052
25
26depends_lib     port:python25 \
27                port:py25-gtk \
28                port:fontconfig \
29                port:freetype \
30                port:gettext \
31                port:libiconv \
32                port:gtk2 \
33                path:${prefix}/lib/pkgconfig/glib-2.0.pc:glib2 \
34                port:ncurses \
35                port:Xft2 \
36                port:pango
37
38depends_build   port:p5-xml-parser \
39                port:pkgconfig
40
41configure.args  --disable-freetypetest
42configure.env   PYTHON=${prefix}/bin/python2.5
43
44configure.cflags-append -fstrict-aliasing -funroll-loops
45
46variant without_python description {Disable Python support} {
47    depends_lib-delete  port:python25 port:py25-gtk
48    configure.args-append   --disable-python
49}
50
51platform darwin 9 {
52    post-patch {
53        reinplace "s| -export-symbols-regex.*||g" \
54            ${worksrcpath}/python/Makefile.in
55        reinplace "s|-export-symbols-regex.*| \\\\|g" \
56            ${worksrcpath}/src/Makefile.in
57    }
58}
Note: See TracBrowser for help on using the repository browser.