[123083] trunk/dports/games/gnubg

dtakahashi at macports.org dtakahashi at macports.org
Mon Aug 4 17:35:16 PDT 2014


Revision: 123083
          https://trac.macports.org/changeset/123083
Author:   dtakahashi at macports.org
Date:     2014-08-04 17:35:16 -0700 (Mon, 04 Aug 2014)
Log Message:
-----------
gnubg: update to 1.03.000

Modified Paths:
--------------
    trunk/dports/games/gnubg/Portfile
    trunk/dports/games/gnubg/files/darwin-disable-canberra.configure.ac.diff

Modified: trunk/dports/games/gnubg/Portfile
===================================================================
--- trunk/dports/games/gnubg/Portfile	2014-08-05 00:25:04 UTC (rev 123082)
+++ trunk/dports/games/gnubg/Portfile	2014-08-05 00:35:16 UTC (rev 123083)
@@ -6,8 +6,7 @@
 PortGroup               active_variants 1.1
 
 name                    gnubg
-version                 1.02.000
-revision                1
+version                 1.03.000
 categories              games
 license                 GPL-3
 platforms               darwin
@@ -26,8 +25,8 @@
 distfiles               ${name}-release-${version}-sources.tar.gz
                         
 checksums               ${name}-release-${version}-sources.tar.gz \
-                        rmd160  15bfc5524fa6b92d8c60818a19632e029d1ebafb \
-                        sha256  7ece7fc02481f8e6c08869306f1cf52cad9ec5ddd675de67782cf028a6dcb504
+                        rmd160  a7158cbd1d092cae6a9ddcd2135a43298f133d11 \
+                        sha256  609f66323dd20fcaa2e1f889b70f8453b5c53999a8c5afda971c131bcfa0e4f0
 
 patchfiles              darwin-disable-canberra.configure.ac.diff
 
@@ -58,7 +57,23 @@
     py27-mysql    provides the MySQL backend of a game database
     py27-pygresql provides the PostgreSQL backend of a game database"
 
-variant board3d description enable OpenGL board {
+#
+# the following variants indicate the binary dependencies
+# based on the backend of gtk2
+#
+
+variant x11 conflicts quartz {
+    require_active_variants port:gtk2 x11
+}
+variant quartz conflicts x11 {
+    require_active_variants port:gtk2 quartz
+}
+
+if {![variant_isset quartz]} {
+    default_variants +x11
+}
+
+variant board3d conflicts quartz description "enable OpenGL board" {
     depends_lib-append      port:gtkglext
     ## disable 3D board on the quartz variants
     ## because of the display issue
@@ -72,3 +87,4 @@
     ## instead of the ones provided by OSX
     configure.cflags-append -I${prefix}/include/GL
 }
+

Modified: trunk/dports/games/gnubg/files/darwin-disable-canberra.configure.ac.diff
===================================================================
--- trunk/dports/games/gnubg/files/darwin-disable-canberra.configure.ac.diff	2014-08-05 00:25:04 UTC (rev 123082)
+++ trunk/dports/games/gnubg/files/darwin-disable-canberra.configure.ac.diff	2014-08-05 00:35:16 UTC (rev 123083)
@@ -1,18 +1,23 @@
---- configure.ac.orig	2013-07-27 06:23:42.000000000 +0900
-+++ configure.ac	2014-07-17 14:24:58.000000000 +0900
-@@ -131,10 +131,12 @@
+--- configure.ac.orig	2014-08-05 08:35:10.000000000 +0900
++++ configure.ac	2014-08-05 08:37:34.000000000 +0900
+@@ -132,12 +132,16 @@
  PKG_CHECK_MODULES(PANGOCAIRO, [pangocairo >= 1.0], have_pangocairo="yes", [AC_MSG_WARN([no pangocairo support])])
  PKG_CHECK_MODULES(SQLITE, [sqlite3], have_sqlite="yes", AC_MSG_WARN([no sqlite support]))
  
 -if test "x$win32" != "xyes"; then
 -    PKG_CHECK_MODULES(CANBERRA, [libcanberra-gtk], have_canberra="yes", AC_MSG_WARN([no libcanberra-gtk support]))
+-    PKG_CHECK_MODULES(GLU, [glu], have_glu="yes", AC_MSG_WARN([no glu support]))
 -else
-+if test "x$win32" = "xyes"; then
++if test "x$win32" == "xyes"; then
      have_canberra="no"
-+elif test "x$darwin" = "xyes"; then
-+    have_canberra="no"
+     have_glu="yes"
 +else
-+    PKG_CHECK_MODULES(CANBERRA, [libcanberra-gtk], have_canberra="yes", AC_MSG_WARN([no libcanberra-gtk support]))
++    if test "x$darwin" == "xyes"; then
++        have_canberra="no"
++    else
++        PKG_CHECK_MODULES(CANBERRA, [libcanberra-gtk], have_canberra="yes", AC_MSG_WARN([no libcanberra-gtk support]))
++    fi
++    PKG_CHECK_MODULES(GLU, [glu], have_glu="yes", AC_MSG_WARN([no glu support]))
  fi
  
  PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.6.0], have_gtk="yes" , AC_MSG_WARN([no gtk support]))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140804/c79e538b/attachment-0001.html>


More information about the macports-changes mailing list