aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/affenspiel/Makefile28
-rw-r--r--games/affenspiel/distinfo1
-rw-r--r--games/affenspiel/files/patch-aa21
-rw-r--r--games/affenspiel/pkg-comment1
-rw-r--r--games/affenspiel/pkg-descr3
-rw-r--r--games/affenspiel/pkg-plist4
6 files changed, 58 insertions, 0 deletions
diff --git a/games/affenspiel/Makefile b/games/affenspiel/Makefile
new file mode 100644
index 000000000000..87b567c160da
--- /dev/null
+++ b/games/affenspiel/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: affenspiel
+# Version required: 1.0
+# Date created: 2 May 1998
+# Whom: Andrey Zakhvatov
+#
+# $Id$
+#
+
+DISTNAME= affenspiel-1.0
+CATEGORIES= games x11
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= games/strategy
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= andy@icc.surw.chel.su
+
+WRKSRC= ${WRKDIR}/affenspiel
+USE_X11= yes
+
+do-install:
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/affenspiel ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @ ${MKDIR} ${PREFIX}/share/doc/affenspiel
+ @ ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/doc/affenspiel
+ @ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/affenspiel
+.endif
+
+.include <bsd.port.mk>
diff --git a/games/affenspiel/distinfo b/games/affenspiel/distinfo
new file mode 100644
index 000000000000..cb2815b99af1
--- /dev/null
+++ b/games/affenspiel/distinfo
@@ -0,0 +1 @@
+MD5 (affenspiel-1.0.tgz) = 7555aa524be2a05ab313faaa704cd10b
diff --git a/games/affenspiel/files/patch-aa b/games/affenspiel/files/patch-aa
new file mode 100644
index 000000000000..89909ed6f012
--- /dev/null
+++ b/games/affenspiel/files/patch-aa
@@ -0,0 +1,21 @@
+--- Makefile Sun Mar 5 20:47:27 1995
++++ /home/andy/tmp/wrk/Makefile Fri May 1 14:18:33 1998
+@@ -7,15 +7,15 @@
+ RM = rm -f
+ CC = gcc
+
+-FILE_CONFIG = -DSAVED_GAME_NAME=\"/tmp/affenspiel.saved\"
++FILE_CONFIG = -DSAVED_GAME_NAME=\"affenspiel.saved\"
+
+ CONFIG = $(FILE_CONFIG)
+ #DEBUG = -DDEBUG -g -ansi
+ #DEBUG = -DDEBUG -g -ansi -pedantic
+ DEBUG = -O2
+
+-CFLAGS = $(DEBUG) $(CONFIG)
+-LIBS = -lX11
++CFLAGS = $(DEBUG) $(CONFIG) -I${X11BASE}/include
++LIBS = -L${X11BASE}/lib -lX11
+
+ OBJS = das_mit_dem_affen.o
+
diff --git a/games/affenspiel/pkg-comment b/games/affenspiel/pkg-comment
new file mode 100644
index 000000000000..d369a28fba4d
--- /dev/null
+++ b/games/affenspiel/pkg-comment
@@ -0,0 +1 @@
+Little puzzle game with monkey for X Window System.
diff --git a/games/affenspiel/pkg-descr b/games/affenspiel/pkg-descr
new file mode 100644
index 000000000000..b2ee0dbfa102
--- /dev/null
+++ b/games/affenspiel/pkg-descr
@@ -0,0 +1,3 @@
+Shift the puzzle pieces around so that the monkey becomes complete,
+that means, move the big piece through the other pieces to the
+bottom of the playfield, so that the monkey picture gets complete.
diff --git a/games/affenspiel/pkg-plist b/games/affenspiel/pkg-plist
new file mode 100644
index 000000000000..c6eddb00921a
--- /dev/null
+++ b/games/affenspiel/pkg-plist
@@ -0,0 +1,4 @@
+bin/affenspiel
+share/doc/affenspiel/COPYRIGHT
+share/doc/affenspiel/README
+@dirrm share/doc/affenspiel