source: trunk/dports/gnome/gedit/Portfile @ 71062

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

gedit: update to version 2.30.3, dependencies, configuration, use python26.

  • 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 71062 2010-08-31 00:23:29Z devans@macports.org $
3
4PortSystem 1.0
5
6name            gedit
7version         2.30.3
8set branch      [join [lrange [split ${version} .] 0 1] .]
9description     GNOME editor.
10long_description \
11                ${description}
12maintainers     devans openmaintainer
13categories      gnome editors
14platforms       darwin
15homepage        http://www.gnome.org/projects/gedit/
16master_sites    gnome:sources/${name}/${branch}/
17
18checksums       md5     7c8ac5fe529285309f7d5750ee52b7bd \
19                sha1    c198bf088beb3cae6bee6fe91ef976cee250e688 \
20                rmd160  237b8d07fecf32030ff411806adcf21e234bfd87
21
22depends_build   port:gtk-doc \
23                port:intltool \
24                port:gnome-doc-utils
25
26depends_lib     port:gconf \
27                port:py26-pygtksourceview \
28                port:iso-codes \
29                port:enchant \
30                port:xorg-libsm
31
32use_bzip2       yes
33
34patchfiles      patch-configure.diff
35
36configure.args  --mandir=${prefix}/share/man \
37                --disable-scrollkeeper \
38                --disable-schemas-install \
39                --disable-gvfs-metadata \
40                --disable-updater
41
42configure.python ${prefix}/bin/python2.6
43set python_framework ${frameworks_dir}/Python.framework/Versions/2.6
44configure.pkg_config_path ${python_framework}/lib/pkgconfig
45
46#
47# py26-pygtksourceview -> py26-gtk -> py26-cairo -> py26-numpy -> atlas is not universal
48#
49
50universal_variant no
51
52variant no_x11 {
53        depends_lib-delete  port:xorg-libsm
54}
55
56post-activate    {
57        system "${prefix}/bin/scrollkeeper-update"
58        system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
59             gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
60}
61
62livecheck.type  regex
63livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
64livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.