source: trunk/dports/gnome/gnome/Portfile

Last change on this file was 154460, checked in by devans@…, 13 months ago

gnome: update to version 3.22.1.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 154460 2016-10-30 02:00:22Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            gnome
7version         3.22.1
8license         Permissive
9categories      gnome
10platforms       darwin
11maintainers     devans openmaintainer
12description     The GNOME Desktop mega-port.
13
14long_description \
15                GNOME is a complete, free and easy-to-use desktop environment for users, \
16                as well as a powerful application development framework for software developers. \
17
18homepage        http://www.gnome.org/
19master_sites
20depends_lib     port:desktop-file-utils \
21                port:gtk3 \
22                port:shared-mime-info \
23                port:gnome3-core \
24                port:gnome3-apps
25
26distfiles
27use_configure   no
28build           { }
29
30destroot    {
31    file mkdir ${destroot}${prefix}/share/doc
32    system "echo ${long_description} > ${destroot}${prefix}/share/doc/README.${name}.txt"
33}
34
35post-activate {
36    system "${prefix}/bin/update-desktop-database -q ${prefix}/share/applications"
37    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
38    system "${prefix}/bin/update-mime-database ${prefix}/share/mime"
39    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
40}
41
42variant office description {Include GNOME office applications} {
43    depends_lib-append port:gnumeric \
44                       port:abiword-x11 \
45                       port:dia \
46                       port:planner
47}
48
49variant graphics description {Include GNOME graphics applications} {
50    depends_lib-append path:bin/inkscape:inkscape \
51                       port:gimp
52}
53
54livecheck.type  none
Note: See TracBrowser for help on using the repository browser.