source: trunk/dports/gnome/gedit-plugins/Portfile @ 113744

Last change on this file since 113744 was 113744, checked in by sean@…, 7 years ago

gedit-plugins: remove python25 variant due to py-cairo change

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 113744 2013-11-23 16:37:36Z sean@macports.org $
3
4PortSystem      1.0
5
6name            gedit-plugins
7version         2.32.0
8license         GPL-2
9set branch      [join [lrange [split ${version} .] 0 1] .]
10description     Plug-ins for GEdit
11long_description Various additional plug-ins for GEdit 2.
12maintainers     nomaintainer
13categories      gnome editors
14platforms       darwin
15homepage        http://www.gnome.org/projects/${name}/
16master_sites    gnome:sources/${name}/${branch}/
17
18use_bzip2       yes
19
20checksums       rmd160  a7540bfd57bdc15546eea802c68719ac71f85c10 \
21                sha256  2ef7bf48e9500556d84ae4c2950f4eadcc3f9cb9c58c90f2c83956b0ddad1107
22
23depends_build   port:gnome-doc-utils \
24                port:intltool \
25                port:pkgconfig
26
27depends_lib     port:gconf \
28                port:gedit \
29                port:vte \
30                port:gucharmap
31
32configure.args  --disable-schemas-install
33
34variant python26 conflicts python27 description {Use python 2.6} {
35    configure.python          ${prefix}/bin/python2.6
36    depends_lib-append        port:py26-pygtksourceview \
37                              port:dbus-python26
38    set python_framework      ${frameworks_dir}/Python.framework/Versions/2.6
39    configure.pkg_config_path ${python_framework}/lib/pkgconfig
40}
41
42variant python27 conflicts python26 description {Use python 2.7} {
43    configure.python          ${prefix}/bin/python2.7
44    depends_lib-append        port:py27-pygtksourceview \
45                              port:dbus-python27
46    set python_framework      ${frameworks_dir}/Python.framework/Versions/2.7
47    configure.pkg_config_path ${python_framework}/lib/pkgconfig
48}
49
50if {![variant_isset python26]} {
51    default_variants +python27
52}
53
54post-activate {
55       system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
56            gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
57}
58
59livecheck.type  gnome
Note: See TracBrowser for help on using the repository browser.