[139331] users/devans/GNOME-3/stable/dports/gnome

devans at macports.org devans at macports.org
Wed Aug 12 21:20:48 PDT 2015


Revision: 139331
          https://trac.macports.org/changeset/139331
Author:   devans at macports.org
Date:     2015-08-12 21:20:48 -0700 (Wed, 12 Aug 2015)
Log Message:
-----------
GNOME-3/stable: gnome-sudoku, new port, well known Japanese logic game.

Added Paths:
-----------
    users/devans/GNOME-3/stable/dports/gnome/gnome-sudoku/
    users/devans/GNOME-3/stable/dports/gnome/gnome-sudoku/Portfile
    users/devans/GNOME-3/stable/dports/gnome/gnome-sudoku/files/
    users/devans/GNOME-3/stable/dports/gnome/gnome-sudoku/files/autogen.sh

Added: users/devans/GNOME-3/stable/dports/gnome/gnome-sudoku/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gnome-sudoku/Portfile	                        (rev 0)
+++ users/devans/GNOME-3/stable/dports/gnome/gnome-sudoku/Portfile	2015-08-13 04:20:48 UTC (rev 139331)
@@ -0,0 +1,60 @@
+# -*- 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
+# $Id: Portfile 136342 2015-05-15 08:40:04Z devans at macports.org $
+
+PortSystem          1.0
+
+name                gnome-sudoku
+version             3.16.0
+license             GPL-2+
+set branch          [join [lrange [split ${version} .] 0 1] .]
+description         Sudoku is a Japanese logic game that exploded in popularity in 2005.
+long_description    ${description}
+maintainers         devans openmaintainer
+categories          gnome games
+platforms           darwin
+homepage            https://wiki.gnome.org/Apps/Sudoku
+master_sites        gnome:sources/${name}/${branch}/
+
+use_xz              yes
+
+checksums           rmd160  04784380b47c6a8798c83f91f9a00d0404664159 \
+                    sha256  bbeb4c410ac690df967fe494da92a40ded473ed28b2565c5e2f34af91be53dad
+
+depends_build       port:pkgconfig \
+                    port:intltool \
+                    port:itstool \
+                    port:yelp-tools \
+                    port:appstream-glib \
+                    port:gnome-common \
+                    port:autoconf \
+                    port:automake \
+                    port:libtool
+
+depends_lib         port:desktop-file-utils \
+                    port:gtk3 \
+                    port:json-glib \
+                    port:libgee \
+                    port:qqwing
+
+depends_run         port:gnome-settings-daemon \
+                    port:yelp
+
+# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
+
+post-patch {
+    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
+}
+
+configure.cmd       ./autogen.sh
+
+configure.args      --disable-schemas-compile \
+                    --disable-silent-rules
+
+post-activate {
+   system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
+   system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/HighContrast"
+   system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+   system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
+}
+
+livecheck.type      gnome

Added: users/devans/GNOME-3/stable/dports/gnome/gnome-sudoku/files/autogen.sh
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gnome-sudoku/files/autogen.sh	                        (rev 0)
+++ users/devans/GNOME-3/stable/dports/gnome/gnome-sudoku/files/autogen.sh	2015-08-13 04:20:48 UTC (rev 139331)
@@ -0,0 +1,15 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+which gnome-autogen.sh || {
+    echo "You need to install gnome-common from GNOME git (or from"
+    echo "your OS vendor's package manager)."
+    exit 1
+}
+
+REQUIRED_AUTOMAKE_VERSION=1.9 
+REQUIRED_YELP_TOOLS_VERSION=3.1.1
+REQUIRED_GETTEXT_VERSION=0.12
+REQUIRED_INTLTOOL_VERSION=0.40.4
+
+. gnome-autogen.sh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150812/1a648884/attachment.html>


More information about the macports-changes mailing list