source: trunk/dports/gnome/gnotime/Portfile

Last change on this file was 144464, checked in by devans@…, 23 months ago

gnotime: complete update to version 2.4.0, dependencies, configuration, add post-activate processing.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 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 144464 2016-01-09 16:49:15Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           active_variants 1.1
6
7name                gnotime
8version             2.4.0
9description         A GNOME project manager.
10long_description    GnoTime is a combination stop-watch, diary, \
11                    consultant billing system and project manager. \
12                    You can measure the amount of time you spend on a \
13                    task, associate a memo with it, set a billing rate, \
14                    print an invoice, as well as track that status of \
15                    other projects.
16maintainers         nomaintainer
17categories          gnome
18license             GPL-2+
19platforms           darwin
20homepage            http://gttr.sourceforge.net/
21master_sites        sourceforge:gttr
22
23checksums           rmd160  a0963cad9547c9b25f2ee6280c211a7fcb87e4d2 \
24                    sha256  a1bf1389829e5795016cc49810c8be80f9bbccb5d56e97f00efb0718559a539b
25
26depends_build       port:pkgconfig \
27                    port:intltool \
28                    port:gnome-common \
29                    port:autoconf \
30                    port:automake \
31                    port:libtool
32
33depends_lib         port:desktop-file-utils \
34                    port:gconf \
35                    port:gtk2 \
36                    port:guile \
37                    port:libglade2 \
38                    port:libgnome \
39                    port:libgnomeui \
40                    port:libgtkhtml3 \
41                    port:libxml2 \
42                    port:qof \
43                    port:rarian \
44                    port:xorg-libX11 \
45                    port:xorg-libXScrnSaver
46
47depends_run         port:yelp
48
49patchfiles          patch-configure.in.diff \
50                    patch-src-main.c.diff
51
52# only builds with X11
53
54require_active_variants gtk2 x11
55
56# reconfigure using distributed autogen.sh for intltool 0.51 compatibility
57
58configure.cmd       ./autogen.sh
59
60configure.args      --enable-compile-warnings=minimum \
61                    --disable-silent-rules \
62                    --x-includes=${prefix}/include \
63                    --x-libraries=${prefix}/lib
64
65post-activate {
66    system "${prefix}/bin/scrollkeeper-update"
67    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
68    system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
69        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
70}
71
72livecheck.url       http://sourceforge.net/projects/gttr/files/
73livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.