summaryrefslogtreecommitdiff
path: root/games/gniffel
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-10-06 09:09:37 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-10-06 09:09:37 +0000
commite78af6ce1ea9e409eb9da664a5f0072cc97422ca (patch)
treeb98e4658d3cf5d4c2011b32abaa83d213d34fcd0 /games/gniffel
parentHack this file beyond recognition to cope with both the old and new (diff)
Add gniffel - a clone of the famous Yatzi game, also known as Kniffel, for
GNOME.
Notes
Notes: svn path=/head/; revision=33454
Diffstat (limited to 'games/gniffel')
-rw-r--r--games/gniffel/Makefile30
-rw-r--r--games/gniffel/distinfo1
-rw-r--r--games/gniffel/files/patch-aa11
-rw-r--r--games/gniffel/pkg-comment1
-rw-r--r--games/gniffel/pkg-descr5
-rw-r--r--games/gniffel/pkg-plist23
6 files changed, 71 insertions, 0 deletions
diff --git a/games/gniffel/Makefile b/games/gniffel/Makefile
new file mode 100644
index 000000000000..cb496433d224
--- /dev/null
+++ b/games/gniffel/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: gniffel
+# Date created: 6 October 2000
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gniffel
+PORTVERSION= 0.1
+CATEGORIES= games gnome
+MASTER_SITES= http://www.informatik.fh-wiesbaden.de/~i820/downloads/
+
+MAINTAINER= sobomax@FreeBSD.org
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GNOME= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
+ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+
+.include <bsd.port.mk>
diff --git a/games/gniffel/distinfo b/games/gniffel/distinfo
new file mode 100644
index 000000000000..3e627d4eefdf
--- /dev/null
+++ b/games/gniffel/distinfo
@@ -0,0 +1 @@
+MD5 (gniffel-0.1.tar.bz2) = 07cdd11ad9417692f16ef8c9202106f1
diff --git a/games/gniffel/files/patch-aa b/games/gniffel/files/patch-aa
new file mode 100644
index 000000000000..066f39ef1725
--- /dev/null
+++ b/games/gniffel/files/patch-aa
@@ -0,0 +1,11 @@
+--- configure 2000/10/06 07:06:27 1.1
++++ configure 2000/10/06 07:06:36
+@@ -1391,7 +1391,7 @@
+ ISC=
+ fi
+
+-CFLAGS=-O2
++#CFLAGS=-O2
+ # Extract the first word of "gcc", so it can be a program name with args.
+ set dummy gcc; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
diff --git a/games/gniffel/pkg-comment b/games/gniffel/pkg-comment
new file mode 100644
index 000000000000..a41de55c4bc2
--- /dev/null
+++ b/games/gniffel/pkg-comment
@@ -0,0 +1 @@
+A clone of the famous Yatzi game, also known as Kniffel, for GNOME
diff --git a/games/gniffel/pkg-descr b/games/gniffel/pkg-descr
new file mode 100644
index 000000000000..d1bda3f479cd
--- /dev/null
+++ b/games/gniffel/pkg-descr
@@ -0,0 +1,5 @@
+A clone of the famous Yatzi game, also known as Kniffel in Germany. It is
+similar to gTali in the gngames package. It should not be better than gtali,
+or cooler, it is just another game of this kind.
+
+WWW: http://www.informatik.fh-wiesbaden.de/~i820/downloads.html
diff --git a/games/gniffel/pkg-plist b/games/gniffel/pkg-plist
new file mode 100644
index 000000000000..bf7d0a726232
--- /dev/null
+++ b/games/gniffel/pkg-plist
@@ -0,0 +1,23 @@
+bin/gniffel
+share/gnome/apps/Games/gniffel.desktop
+share/gnome/help/gniffel/C/index.html
+share/gnome/help/gniffel/C/topic.dat
+share/gnome/help/gniffel/de/index.html
+share/gnome/help/gniffel/de/topic.dat
+share/gnome/pixmaps/gniffel/gnome-die-1.xpm
+share/gnome/pixmaps/gniffel/gnome-die-1_hilite.xpm
+share/gnome/pixmaps/gniffel/gnome-die-2.xpm
+share/gnome/pixmaps/gniffel/gnome-die-2_hilite.xpm
+share/gnome/pixmaps/gniffel/gnome-die-3.xpm
+share/gnome/pixmaps/gniffel/gnome-die-3_hilite.xpm
+share/gnome/pixmaps/gniffel/gnome-die-4.xpm
+share/gnome/pixmaps/gniffel/gnome-die-4_hilite.xpm
+share/gnome/pixmaps/gniffel/gnome-die-5.xpm
+share/gnome/pixmaps/gniffel/gnome-die-5_hilite.xpm
+share/gnome/pixmaps/gniffel/gnome-die-6.xpm
+share/gnome/pixmaps/gniffel/gnome-die-6_hilite.xpm
+share/gnome/pixmaps/gnome-gniffel.png
+@dirrm share/gnome/pixmaps/gniffel
+@dirrm share/gnome/help/gniffel/de
+@dirrm share/gnome/help/gniffel/C
+@dirrm share/gnome/help/gniffel