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

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

various ports: rebuild to remove references to libpng15.

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