source: trunk/dports/devel/geany/Portfile

Last change on this file was 144373, checked in by devans@…, 11 months ago

geany: update to version 1.26, dependencies, configuration, reconfigure using distributed autogen.sh for intltool 0.51 compatibility (#50208, maintainer timeout).

  • 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:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 144373 2016-01-07 05:21:01Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            geany
7version         1.26
8license         GPL-2+
9categories      devel
10platforms       darwin
11maintainers     si-co.net:kiarash
12
13description     A fast and lightweight GTK+ IDE
14
15long_description \
16    Geany is a small and lightweight integrated development \
17    environment. It was developed to provide a small and fast \
18    IDE, which has only a few dependencies from other packages. \
19    Another goal was to be as independent as possible from a \
20    special Desktop Environment like KDE or GNOME.
21
22homepage        http://www.geany.org/
23master_sites    http://download.geany.org/
24use_bzip2       yes
25
26checksums       rmd160  6f1f73067a0e802a7c335e23526024533b9b2249 \
27                sha256  e38530e87c577e1e9806be3b40e08fb9ee321eb1abc6361ddacdad89c825f90d
28
29depends_build \
30    port:pkgconfig \
31    port:intltool \
32    port:autoconf \
33    port:automake \
34    port:libtool
35depends_lib \
36    port:desktop-file-utils \
37    port:gettext \
38    port:gtk2 \
39    port:vte-gtk2-compat
40
41# reconfigure using distributed autogen.sh for intltool 0.51 compatibility
42
43configure.cmd       ./autogen.sh
44
45configure.args      --disable-silent-rules \
46                    --enable-vte
47
48patchfiles          vte-sonames.diff
49
50variant gtk3 description {Enable experimental gtk3 support} {
51    depends_lib-replace port:gtk2 port:gtk3
52    depends_lib-replace port:vte-gtk2-compat port:vte-2.90
53    depends_run-append  port:gnome-themes-standard
54    configure.args-append --enable-gtk3
55}
56
57if {[variant_isset gtk3]} {
58    set update_icon_cache "gtk-update-icon-cache-3.0"
59    configure.args-append --with-vte-module-path=${prefix}/lib/libvte2_90.dylib
60} else {
61    configure.args-append --with-vte-module-path=${prefix}/lib/libvte.dylib
62    set update_icon_cache "gtk-update-icon-cache"
63}
64
65post-activate {
66    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
67    system "${prefix}/bin/${update_icon_cache} -f -t ${prefix}/share/icons/hicolor"
68}
69
70livecheck.type  regex
71livecheck.url   ${master_sites}
72livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.