summaryrefslogtreecommitdiff
path: root/games/xjig
diff options
context:
space:
mode:
authorhubertf <hubertf>1998-04-23 09:03:43 +0000
committerhubertf <hubertf>1998-04-23 09:03:43 +0000
commit6af08af4a63125c46594023be3db85f7ee97cbf1 (patch)
treefcb5204ed91d35767faba2a9b5f8409afad29446 /games/xjig
parentc8bf34069f18959525974aeddf10a3c703f1b3b8 (diff)
downloadpkgsrc-6af08af4a63125c46594023be3db85f7ee97cbf1.tar.gz
Jigsaw puzzle.
Diffstat (limited to 'games/xjig')
-rw-r--r--games/xjig/Makefile19
-rw-r--r--games/xjig/files/md51
-rw-r--r--games/xjig/patches/patch-aa20
-rw-r--r--games/xjig/pkg/COMMENT1
-rw-r--r--games/xjig/pkg/DESCR41
-rw-r--r--games/xjig/pkg/PLIST4
6 files changed, 86 insertions, 0 deletions
diff --git a/games/xjig/Makefile b/games/xjig/Makefile
new file mode 100644
index 00000000000..3e7ce9cc03e
--- /dev/null
+++ b/games/xjig/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 1998/04/23 09:03:43 hubertf Exp $
+#
+
+DISTNAME= xjig-2.4
+CATEGORIES= games x11
+MASTER_SITES= http://www.cqi.com/~humbubba/linux/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= packages@netbsd.org
+
+USE_IMAKE= yes
+USE_X11= yes
+ALL_TARGET= xjig xjig.0
+
+post-install:
+ ${INSTALL_DATA_DIR} ${X11BASE}/lib/xjig
+ ${INSTALL_DATA} ${WRKSRC}/tina.gif ${X11BASE}/lib/xjig
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/xjig/files/md5 b/games/xjig/files/md5
new file mode 100644
index 00000000000..7b830f4c669
--- /dev/null
+++ b/games/xjig/files/md5
@@ -0,0 +1 @@
+MD5 (xjig-2.4.tgz) = a5eafd17de8d11e32c1664728144331e
diff --git a/games/xjig/patches/patch-aa b/games/xjig/patches/patch-aa
new file mode 100644
index 00000000000..1d186137c12
--- /dev/null
+++ b/games/xjig/patches/patch-aa
@@ -0,0 +1,20 @@
+--- Imakefile.orig Wed Jul 24 21:48:27 1996
++++ Imakefile Wed Apr 22 17:57:37 1998
+@@ -8,7 +8,7 @@
+ XCOMM optimization on your version, but if it doesn't work, a compiler bug
+ XCOMM might be the reason...
+
+-XCOMM CXX = gcc -g
++CXX = gcc -O5 -I${X11BASE}/include
+
+ XCOMM On some machines (like on linux) you can gain speed by using the
+ XCOMM MIT-SHM extension for transfering images to the server via shared
+@@ -27,7 +27,7 @@
+
+ XCOMM which default file should be loaded if no option is set
+
+- JIG_DEFAULT = \"tina.gif\"
++ JIG_DEFAULT = \"${X11BASE}/lib/xjig/tina.gif\"
+
+ XCOMM #######################################################################
+
diff --git a/games/xjig/pkg/COMMENT b/games/xjig/pkg/COMMENT
new file mode 100644
index 00000000000..ffd5a7b1a6b
--- /dev/null
+++ b/games/xjig/pkg/COMMENT
@@ -0,0 +1 @@
+jigsaw puzzle
diff --git a/games/xjig/pkg/DESCR b/games/xjig/pkg/DESCR
new file mode 100644
index 00000000000..f561f424a72
--- /dev/null
+++ b/games/xjig/pkg/DESCR
@@ -0,0 +1,41 @@
+ _ _
+ _ __ (_|_)___ _
+ | |/_/ / / / __ `/
+ _> < / / / /_/ /
+ /_/|_|_/ /_/\__, / V2.4
+ /___/ /____/
+ the jigsaw puzzle
+
+
+ available at ftp.x.org and mirrors as:
+ /contrib/games/xjig-2.4.tgz
+
+
+ Description:
+ XJig is a puzzle, that tries to replicate a jigsaw puzzle on the
+ screen as close as possible. Gif-images can be loaded and sliced
+ into pieces and as in every jigsaw puzzle, the goal is to
+ set the parts together again.
+
+ Special effects:
+ - Tiles are freely rotatable with intuitive pointer movement.
+ - Tiles can even be flipped to their back (to mirror them).
+ - Tiles can be shown as shaped windows on the desktop.
+
+
+ Restrictions:
+ - The game needs a C++ - compiler (tested with gcc-2.7.0 and HP's CC)
+ - The game works only on color monitors.
+ - For the texture-mapping routines, you might a bit of machine power
+ to make them look good (it runs very smooth on my Pentium 90).
+
+ Have fun.
+
+ comments to:
+
+ __ __ __ __ __ __ _
+ / / / /__ / /___ ___ __ __/ /_ / / / /___ ___ ____ (_)___ _
+ / /_/ / _ \/ / __ `__ \/ / / / __/ / /_/ / __ \/ _ \/ __ \/ / __ `/
+ / __ / __/ / / / / / / /_/ / /_ / __ / /_/ / __/ / / / / /_/ /
+ _ /_/ /_/\___/_/_/ /_/ /_/\__,_/\__/ /_/ /_/\____/\___/_/ /_/_/\__, /
+/__________________________________e-mail: Helmut.Hoenig@hub.de______/
diff --git a/games/xjig/pkg/PLIST b/games/xjig/pkg/PLIST
new file mode 100644
index 00000000000..ab21b52bba5
--- /dev/null
+++ b/games/xjig/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 1998/04/23 09:03:44 hubertf Exp $
+bin/xjig
+man/cat1/xjig.0
+lib/xjig/tina.gif