source: trunk/dports/gnome/gnome/Portfile @ 114316

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

gnome: update to version 3.10.2, license, dependencies.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 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 114316 2013-12-05 06:40:58Z devans@macports.org $
3
4PortSystem      1.0
5
6name            gnome
7version         3.10.2
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:rarian \
21                port:desktop-file-utils \
22                port:gtk3 \
23                port:shared-mime-info \
24                port:gconf \
25                port:gnome3-core \
26                port:gnome3-apps
27
28distfiles
29use_configure   no
30build           { }
31
32destroot    {
33    file mkdir ${destroot}${prefix}/share/doc
34    system "echo ${long_description} > ${destroot}${prefix}/share/doc/README.${name}.txt"
35}
36
37post-activate {
38    system "${prefix}/bin/scrollkeeper-update"
39    system "${prefix}/bin/update-desktop-database -q ${prefix}/share/applications"
40    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
41    system "${prefix}/bin/update-mime-database ${prefix}/share/mime"
42    system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
43        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
44    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
45}
46
47notes "
48To start gnome, create a file called ~/.xinitrc.d/99-gnome.sh which contains this line:
49
50    USERWM=${prefix}/bin/gnome-session
51
52See also http://trac.macports.org/wiki/GNOME for instructions and examples
53Make sure you do not have a custom ~/.xinitrc file, or you can run into problems.
54"
55
56variant office description {Include GNOME office applications} {
57    depends_lib-append port:gnumeric \
58                       port:abiword-x11 \
59                       port:dia \
60                       port:planner
61}
62
63variant graphics description {Include GNOME graphics applications} {
64    depends_lib-append path:bin/inkscape:inkscape \
65                       port:gimp
66}
67
68livecheck.type  none
Note: See TracBrowser for help on using the repository browser.