source: trunk/dports/gnome/gnome-games/Portfile @ 114908

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

gnome-games: update homepage.

  • 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 114908 2013-12-19 16:45:59Z devans@macports.org $
3
4PortSystem      1.0
5
6name            gnome-games
7version         3.6.1
8set branch      [join [lrange [split ${version} .] 0 1] .]
9description     Collection of small but addictive games for GNOME
10long_description ${description}
11maintainers     nomaintainer
12categories      gnome
13license         GPL-3+
14platforms       darwin
15homepage        https://wiki.gnome.org/Apps/Games
16master_sites    gnome:sources/${name}/${branch}/
17
18use_xz          yes
19
20checksums       rmd160  04ea846939f5a9bba2c444efaaa650dbe031a397 \
21                sha256  f016068350ca2a4deceeac0374d5372610b1da07e2c4b356470f3401e6e2a43d
22
23depends_build   port:pkgconfig \
24                port:intltool \
25                port:itstool \
26                port:libxml2
27
28depends_lib     port:desktop-file-utils \
29                port:gtk3 \
30                port:librsvg \
31                port:libcanberra \
32                port:xorg-libX11
33             
34depends_run     port:gnome-settings-daemon \
35                port:yelp
36
37patchfiles      patch-configure.diff
38
39configure.args  --enable-games="gnect,gnomine,gtali,gnotravex,gnotski,glines,iagno,gnobots2" \
40                --disable-schemas-compile \
41                --disable-silent-rules \
42
43variant python26 conflicts python27 description {Use python 2.6} {
44    configure.python          ${prefix}/bin/python2.6
45    depends_lib-append        port:py26-pygtk
46    set python_framework      ${frameworks_dir}/Python.framework/Versions/2.6
47    configure.pkg_config_path ${python_framework}/lib/pkgconfig
48}
49
50variant python27 conflicts python26 description {Use python 2.7} {
51    configure.python          ${prefix}/bin/python2.7
52    depends_lib-append        port:py27-pygtk
53    set python_framework      ${frameworks_dir}/Python.framework/Versions/2.7
54    configure.pkg_config_path ${python_framework}/lib/pkgconfig
55}
56
57if {![variant_isset python26]} {
58    default_variants +python27
59}
60
61post-activate {
62    system "${prefix}/bin/update-desktop-database -q ${prefix}/share/applications"
63    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
64    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
65}
66
67livecheck.type  gnome
Note: See TracBrowser for help on using the repository browser.