aboutsummaryrefslogtreecommitdiff
path: root/games/pythoong
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-08-11 20:22:04 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-08-11 20:22:04 +0000
commitc9cb59d1858c69dd8f0bcbdaee48474ef350e0ab (patch)
tree27406404d03409734c65ad80f1f4ea357e5849cd /games/pythoong
parentfe965280d5d256c708afb3fa3755151a9e5aa549 (diff)
downloadports-c9cb59d1858c69dd8f0bcbdaee48474ef350e0ab.tar.gz
ports-c9cb59d1858c69dd8f0bcbdaee48474ef350e0ab.zip
- Unbreak this port
- Fix package build PR: 55463 Submitted by: Simon Barner <barner@in.tum.de>
Notes
Notes: svn path=/head/; revision=86782
Diffstat (limited to 'games/pythoong')
-rw-r--r--games/pythoong/Makefile2
-rw-r--r--games/pythoong/files/patch-Makefile.am17
-rw-r--r--games/pythoong/files/patch-Makefile.in17
-rw-r--r--games/pythoong/files/patch-aclocal.m411
-rw-r--r--games/pythoong/files/patch-configure11
-rw-r--r--games/pythoong/pkg-plist2
6 files changed, 57 insertions, 3 deletions
diff --git a/games/pythoong/Makefile b/games/pythoong/Makefile
index d8c7b916694b..d82ae4dd12db 100644
--- a/games/pythoong/Makefile
+++ b/games/pythoong/Makefile
@@ -13,8 +13,6 @@ MASTER_SITES= http://perso.wanadoo.fr/christophe.cressend/tarballs/
MAINTAINER= ports@FreeBSD.org
COMMENT= A snake-like game written for Gnome desktop
-BROKEN= Does not configure
-
BUILD_DEPENDS= xbmtopbm:${PORTSDIR}/graphics/netpbm
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/games/pythoong/files/patch-Makefile.am b/games/pythoong/files/patch-Makefile.am
new file mode 100644
index 000000000000..237b2692e4ec
--- /dev/null
+++ b/games/pythoong/files/patch-Makefile.am
@@ -0,0 +1,17 @@
+--- Makefile.am.orig Fri Aug 8 05:22:01 2003
++++ Makefile.am Fri Aug 8 05:22:45 2003
+@@ -22,10 +22,10 @@
+
+ install-data-local:
+ -$(mkinstalldirs) $(DESTDIR)$(scoredir)
+- touch $(DESTDIR)$(scoredir)/pythoong.scores
+- -chown games.games $(DESTDIR)$(scoredir)/pythoong.scores
+- -chmod 664 $(DESTDIR)$(scoredir)/pythoong.scores
+- -chgrp games $(DESTDIR)$(bindir)/pythoong && chmod 2111 $(DESTDIR)$(bindir)/pythoong
++ touch $(DESTDIR)$(scoredir)/Pythoong.scores
++ -chown games:games $(DESTDIR)$(scoredir)/Pythoong.scores
++ -chmod 664 $(DESTDIR)$(scoredir)/Pythoong.scores
++ -chgrp games $(DESTDIR)$(bindir)/Pythoong
+
+ ## to automatically rebuild aclocal.m4 if any of the macros in
+ ## `macros/' change
diff --git a/games/pythoong/files/patch-Makefile.in b/games/pythoong/files/patch-Makefile.in
new file mode 100644
index 000000000000..bc795e903363
--- /dev/null
+++ b/games/pythoong/files/patch-Makefile.in
@@ -0,0 +1,17 @@
+--- Makefile.in.orig Fri Aug 8 05:25:23 2003
++++ Makefile.in Fri Aug 8 05:25:50 2003
+@@ -554,10 +554,10 @@
+
+ install-data-local:
+ -$(mkinstalldirs) $(DESTDIR)$(scoredir)
+- touch $(DESTDIR)$(scoredir)/pythoong.scores
+- -chown games.games $(DESTDIR)$(scoredir)/pythoong.scores
+- -chmod 664 $(DESTDIR)$(scoredir)/pythoong.scores
+- -chgrp games $(DESTDIR)$(bindir)/pythoong && chmod 2111 $(DESTDIR)$(bindir)/pythoong
++ touch $(DESTDIR)$(scoredir)/Pythoong.scores
++ -chown games:games $(DESTDIR)$(scoredir)/Pythoong.scores
++ -chmod 664 $(DESTDIR)$(scoredir)/Pythoong.scores
++ -chgrp games $(DESTDIR)$(bindir)/pythoong
+
+ @MAINT@include macros/macros.dep
+ @MAINT@macros/macros.dep: macros/Makefile.am
diff --git a/games/pythoong/files/patch-aclocal.m4 b/games/pythoong/files/patch-aclocal.m4
new file mode 100644
index 000000000000..3d0d126ac862
--- /dev/null
+++ b/games/pythoong/files/patch-aclocal.m4
@@ -0,0 +1,11 @@
+--- aclocal.m4.orig Fri Aug 8 05:02:36 2003
++++ aclocal.m4 Fri Aug 8 05:03:04 2003
+@@ -385,7 +385,7 @@
+ LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
+ DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
+ ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
+-$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
++$libtool_flags --no-verify $host \
+ || AC_MSG_ERROR([libtool configure failed])
+
+ # Reload cache, that may have been modified by ltconfig
diff --git a/games/pythoong/files/patch-configure b/games/pythoong/files/patch-configure
new file mode 100644
index 000000000000..d4dc2dc36182
--- /dev/null
+++ b/games/pythoong/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Mon Aug 11 15:36:11 2003
++++ configure Mon Aug 11 15:36:19 2003
+@@ -2248,7 +2248,7 @@
+ LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
+ DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
+ ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
+-$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
++$libtool_flags --no-verify $host \
+ || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
+
+ # Reload cache, that may have been modified by ltconfig
diff --git a/games/pythoong/pkg-plist b/games/pythoong/pkg-plist
index 0507f8f5f272..921ac280e37f 100644
--- a/games/pythoong/pkg-plist
+++ b/games/pythoong/pkg-plist
@@ -1,5 +1,5 @@
bin/pythoong
-share/gnome/games/pythoong.scores
+share/gnome/games/Pythoong.scores
share/gnome/pixmaps/pythoong/mazes/level01.xpm
share/gnome/pixmaps/pythoong/mazes/level02.xpm
share/gnome/pixmaps/pythoong/mazes/level03.xpm