aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2008-08-30 00:21:16 +0800
committerijliao <ijliao@FreeBSD.org>2008-08-30 00:21:16 +0800
commit67c274bdd3159927abb2174991bce9ad3b9e6e11 (patch)
tree69400577d9a6c3f31fb464380278f65f3e27372d /games
parentfd57a2e1ceafdd1fa0604662667557c80422b27f (diff)
downloadfreebsd-ports-gnome-67c274bdd3159927abb2174991bce9ad3b9e6e11.tar.gz
freebsd-ports-gnome-67c274bdd3159927abb2174991bce9ad3b9e6e11.tar.zst
freebsd-ports-gnome-67c274bdd3159927abb2174991bce9ad3b9e6e11.zip
upgrade to 0.4.1
drop maintainership
Diffstat (limited to 'games')
-rw-r--r--games/burrtools/Makefile9
-rw-r--r--games/burrtools/distinfo6
-rw-r--r--games/burrtools/files/patch-src::help::data2c.cpp20
-rw-r--r--games/burrtools/files/patch-src::lib::stl.cpp20
4 files changed, 49 insertions, 6 deletions
diff --git a/games/burrtools/Makefile b/games/burrtools/Makefile
index d5fc798e775f..dedd643fee3e 100644
--- a/games/burrtools/Makefile
+++ b/games/burrtools/Makefile
@@ -7,20 +7,23 @@
#
PORTNAME= burrtools
-PORTVERSION= 0.3.1
+PORTVERSION= 0.4.1
PORTREVISION= 0
CATEGORIES= games
MASTER_SITES= SF
-MAINTAINER= ijliao@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= A puzzle solver
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
fltk.1:${PORTSDIR}/x11-toolkits/fltk \
xmlwrapp.5:${PORTSDIR}/textproc/xmlwrapp
-USE_GNOME= gnometarget
+USE_GL= yes
GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
+ LDFLAGS="-L${X11BASE}/lib"
+USE_GMAKE= yes
PLIST_FILES= bin/burrGui bin/burrTxt
diff --git a/games/burrtools/distinfo b/games/burrtools/distinfo
index f7f6b676f691..12ba06d243f6 100644
--- a/games/burrtools/distinfo
+++ b/games/burrtools/distinfo
@@ -1,3 +1,3 @@
-MD5 (burrtools-0.3.1.tar.gz) = e2cb83793a9ca3f3262e0da0c94b74ab
-SHA256 (burrtools-0.3.1.tar.gz) = cb0426c78be880aee7abb4cbe6560c8f1155f9eed6d41035622bb8b56a3ed94b
-SIZE (burrtools-0.3.1.tar.gz) = 2041131
+MD5 (burrtools-0.4.1.tar.gz) = e39c22bfca8240848e8c12f920ca42ee
+SHA256 (burrtools-0.4.1.tar.gz) = 3cad891122c085060580ec25e25e75c2c9c8e6c75d3a661d1d8cbd669d85ddf3
+SIZE (burrtools-0.4.1.tar.gz) = 1594331
diff --git a/games/burrtools/files/patch-src::help::data2c.cpp b/games/burrtools/files/patch-src::help::data2c.cpp
new file mode 100644
index 000000000000..308108afede9
--- /dev/null
+++ b/games/burrtools/files/patch-src::help::data2c.cpp
@@ -0,0 +1,20 @@
+--- src/help/data2c.cpp.orig 2008-08-30 00:15:50.000000000 +0800
++++ src/help/data2c.cpp 2008-08-30 00:16:22.000000000 +0800
+@@ -44,6 +44,9 @@
+ fprintf(out, "\\x%02x", c);
+ }
+
++#if defined(__FreeBSD__)
++#include <libgen.h>
++#else
+ #if defined(WIN32) || defined(__APPLE__)
+ const char * basename(const char * n) {
+
+@@ -58,6 +61,7 @@
+ return n;
+ }
+ #endif
++#endif
+
+
+ /* first param: output file name
diff --git a/games/burrtools/files/patch-src::lib::stl.cpp b/games/burrtools/files/patch-src::lib::stl.cpp
new file mode 100644
index 000000000000..316b7606c4f3
--- /dev/null
+++ b/games/burrtools/files/patch-src::lib::stl.cpp
@@ -0,0 +1,20 @@
+--- src/lib/stl.cpp.orig 2008-08-30 00:13:04.000000000 +0800
++++ src/lib/stl.cpp 2008-08-30 00:14:23.000000000 +0800
+@@ -21,6 +21,9 @@
+ #include <math.h>
+ #include <string.h>
+
++#if defined(__FreeBSD__)
++#include <libgen.h>
++#else
+ #if defined(WIN32) || defined(__APPLE__)
+ const char * basename(const char * name) {
+ const char * res1 = strchr(name, '/');
+@@ -36,6 +39,7 @@
+ return res;
+ }
+ #endif
++#endif
+
+ void stlExporter_c::open(const char * name) {
+