source: trunk/dports/gnome/planner/Portfile

Last change on this file was 151191, checked in by mf2k@…, 14 months ago

d-mode.el gtkglextmm php-mode.el planner py-cssutils speex speex-devel uif2iso: Ports abandoned. (#51782)

  • 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:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 151191 2016-08-09 19:24:56Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            planner
7license         GPL-2
8version         0.14.6
9revision        5
10set branch      [join [lrange [split ${version} .] 0 1] .]
11categories      gnome
12maintainers     nomaintainer
13description     Project management application for GNOME 2
14long_description \
15    Planner is a tool for planning, scheduling and tracking \
16    projects for the GNOME Desktop. Planner is an open source \
17    project aiming at being a better alternative than the \
18    available proprietary tools. \
19    Planner is part of GNOME Office, a productivity suite \
20    composed of entirely free software, integrated with the \
21    GNOME Desktop.
22homepage        https://wiki.gnome.org/Apps/Planner
23platforms       darwin
24master_sites    gnome:sources/${name}/${branch}/
25checksums       rmd160 edfb1df0158695d918a6848b7e62ebed8830a210 \
26                sha256 130d29e6d6b8c1994017deba2acca05a4bf83ba1e169635ec8c5c7878abe0696
27
28distname        planner-${version}
29use_xz          yes
30
31depends_build   port:pkgconfig \
32                port:intltool \
33                port:gtk-doc
34
35depends_lib     port:desktop-file-utils \
36                port:gtk2 \
37                port:gconf \
38                port:libgnomeui \
39                port:libgnomecanvas \
40                port:rarian \
41                port:libxslt
42
43# autoreconf to reconfigure with our intltool.m4
44
45use_autoreconf  yes
46autoreconf.args -fvi
47
48configure.args  --disable-python \
49                --disable-update-mimedb \
50                --disable-schemas-install \
51                --disable-eds \
52                --mandir=${prefix}/share/man
53
54variant eds description {Enable evolution-data-server support} {
55                depends_lib-append port:evolution-data-server
56                configure.args-delete --disable-eds
57                configure.args-append --enable-eds
58}
59
60variant debug description {Enable debug} {
61                configure.cflags-delete -O2
62                configure.cflags-append -O0 -g
63}
64
65# evolution-data-server is not universal
66
67if {[variant_isset eds]} {
68                universal_variant no
69}
70
71post-activate {
72    system "${prefix}/bin/scrollkeeper-update"
73    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
74    system "update-mime-database ${prefix}/share/mime"
75    system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
76        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
77}
78
79livecheck.type  gnome
Note: See TracBrowser for help on using the repository browser.