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

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

various ports: rebuild to remove references to libpng15.

  • 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 115235 2013-12-29 19:42:00Z devans@macports.org $
3
4PortSystem      1.0
5
6name            gedit-plugins
7version         2.32.0
8revision        1
9license         GPL-2
10set branch      [join [lrange [split ${version} .] 0 1] .]
11description     Plug-ins for GEdit
12long_description Various additional plug-ins for GEdit 2.
13maintainers     nomaintainer
14categories      gnome editors
15platforms       darwin
16homepage        http://www.gnome.org/projects/${name}/
17master_sites    gnome:sources/${name}/${branch}/
18
19use_bzip2       yes
20
21checksums       rmd160  a7540bfd57bdc15546eea802c68719ac71f85c10 \
22                sha256  2ef7bf48e9500556d84ae4c2950f4eadcc3f9cb9c58c90f2c83956b0ddad1107
23
24depends_build   port:gnome-doc-utils \
25                port:intltool \
26                port:pkgconfig
27
28depends_lib     port:gconf \
29                port:gedit \
30                port:vte \
31                port:gucharmap
32
33configure.args  --disable-schemas-install
34
35variant python26 conflicts python27 description {Use python 2.6} {
36    configure.python          ${prefix}/bin/python2.6
37    depends_lib-append        port:py26-pygtksourceview \
38                              port:dbus-python26
39    set python_framework      ${frameworks_dir}/Python.framework/Versions/2.6
40    configure.pkg_config_path ${python_framework}/lib/pkgconfig
41}
42
43variant python27 conflicts python26 description {Use python 2.7} {
44    configure.python          ${prefix}/bin/python2.7
45    depends_lib-append        port:py27-pygtksourceview \
46                              port:dbus-python27
47    set python_framework      ${frameworks_dir}/Python.framework/Versions/2.7
48    configure.pkg_config_path ${python_framework}/lib/pkgconfig
49}
50
51if {![variant_isset python26]} {
52    default_variants +python27
53}
54
55post-activate {
56       system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
57            gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
58}
59
60livecheck.type  gnome
Note: See TracBrowser for help on using the repository browser.