aboutsummaryrefslogtreecommitdiffstats
path: root/games/jigzo
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2006-01-18 09:41:37 +0800
committerjylefort <jylefort@FreeBSD.org>2006-01-18 09:41:37 +0800
commit5ce5f850120a1766b837a0faa2cadd35dd26e118 (patch)
tree5d68f2a6d69bee274816977e6ef57604a9a7bc7f /games/jigzo
parent335e21dbc96e0ee83d75f9ea61f25ec621269d99 (diff)
downloadfreebsd-ports-gnome-5ce5f850120a1766b837a0faa2cadd35dd26e118.tar.gz
freebsd-ports-gnome-5ce5f850120a1766b837a0faa2cadd35dd26e118.tar.zst
freebsd-ports-gnome-5ce5f850120a1766b837a0faa2cadd35dd26e118.zip
Update to 0.1.4
PR: ports/91930 Submitted by: maintainer
Diffstat (limited to 'games/jigzo')
-rw-r--r--games/jigzo/Makefile3
-rw-r--r--games/jigzo/distinfo6
-rw-r--r--games/jigzo/files/patch-Makefile28
-rw-r--r--games/jigzo/files/patch-main.cxx6
4 files changed, 29 insertions, 14 deletions
diff --git a/games/jigzo/Makefile b/games/jigzo/Makefile
index 293e26abc01e..5a3f27fb837e 100644
--- a/games/jigzo/Makefile
+++ b/games/jigzo/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= glpuzzle
-PORTVERSION= 0.1.2
+PORTVERSION= 0.1.4
CATEGORIES= games
MASTER_SITES= http://www.iua.upf.es/~mdeboer/resorama/glpuzzle/
EXTRACT_SUFX= .tgz
@@ -30,6 +30,7 @@ MAKE_ENV= CXX="${CXX}" \
post-patch:
@${REINPLACE_CMD} -e "s|font/|${DATADIR}/font/|g" ${WRKSRC}/main.cxx
@${REINPLACE_CMD} -e "s|puzzle-preview/|${DATADIR}/puzzle-preview/|g" ${WRKSRC}/main.cxx
+ @${REINPLACE_CMD} -e "s|terminate|terminate_|g" ${WRKSRC}/main.cxx
@${REINPLACE_CMD} -e "s|puzzle-maps/|${DATADIR}/puzzle-maps/|g" ${WRKSRC}/puzzle-preview/preview.map
@${RM} -f ${WRKSRC}/puzzle-preview/preview.map.bak
diff --git a/games/jigzo/distinfo b/games/jigzo/distinfo
index 161e75cbd107..e15e8bed05e0 100644
--- a/games/jigzo/distinfo
+++ b/games/jigzo/distinfo
@@ -1,3 +1,3 @@
-MD5 (glpuzzle-0.1.2.tgz) = dda33d2b77a00b39bd3240cd65710d77
-SHA256 (glpuzzle-0.1.2.tgz) = 1dde2a5fefeb957358697d49054ef8043e7d7d0486b672647ccaa9a7ca3922c7
-SIZE (glpuzzle-0.1.2.tgz) = 3207022
+MD5 (glpuzzle-0.1.4.tgz) = 621df04274d61f2ee8bd43428971e063
+SHA256 (glpuzzle-0.1.4.tgz) = 0fcccd08e227175c7fb21740aa548cd0ded029de9401bfdcbb0136d85800bb61
+SIZE (glpuzzle-0.1.4.tgz) = 3206939
diff --git a/games/jigzo/files/patch-Makefile b/games/jigzo/files/patch-Makefile
index 4f5102491711..7a0b9101257d 100644
--- a/games/jigzo/files/patch-Makefile
+++ b/games/jigzo/files/patch-Makefile
@@ -1,10 +1,24 @@
---- Makefile.orig Mon Jan 9 03:32:53 2006
-+++ Makefile Tue Jan 10 02:57:36 2006
-@@ -23,6 +23,6 @@
- chmod +x $(PREFIX)/bin/glpuzzle
+--- Makefile.orig Sun Jan 15 12:25:30 2006
++++ Makefile Wed Jan 18 02:10:53 2006
+@@ -9,8 +9,6 @@
+ DEPENDS = $(SOURCES:.cxx=.d)
+ OBJECTS = $(SOURCES:.cxx=.o)
+ INCLFLAGS = -I/usr/include/SDL
+-CXX = g++
+-CXXFLAGS = -O2
- glpuzzle: main.cxx version.h
-- g++ -O2 -Wall -I/usr/include/SDL main.cxx -lpthread -lSDL -lGL -lpthread -lpng -ljpeg -o glpuzzle
-+ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -lGL -lpng -ljpeg -o glpuzzle main.cxx
+ clean:
+ rm -f $(OBJECTS) $(DEPENDS) $(PROGRAM)
+@@ -22,10 +20,10 @@
+ @rm $@.tmp
+
+ %.o: %.cxx
+- $(CXX) -c $(CXXFLAGS) $(INCLFLAGS) $< -o $@
++ $(CXX) -c $(CXXFLAGS) $(CPPFLAGS) $< -o $@
+ $(PROGRAM): $(OBJECTS)
+- $(CXX) $(OBJECTS) -lpthread -lSDL -lGL -lpthread -lpng -ljpeg -o $@
++ $(CXX) $(OBJECTS) $(CXXFLAGS) $(LDFLAGS) -lGL -lpng -ljpeg -o $@
+ install: $(PROGRAM)
+ @echo Installing in $(PREFIX)
diff --git a/games/jigzo/files/patch-main.cxx b/games/jigzo/files/patch-main.cxx
index 8228e5a919fc..649d49663420 100644
--- a/games/jigzo/files/patch-main.cxx
+++ b/games/jigzo/files/patch-main.cxx
@@ -1,10 +1,10 @@
---- main.cxx.orig Wed Jan 11 04:42:54 2006
-+++ main.cxx Wed Jan 11 04:43:04 2006
+--- main.cxx.orig Sun Jan 15 12:24:51 2006
++++ main.cxx Wed Jan 18 02:24:47 2006
@@ -24,6 +24,7 @@
*
*/
+#include <unistd.h>
#include <cstdio>
- #include <cstdlib>
#include <cstring>
+ #include <cmath>