summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorJustin M. Seger <jseger@FreeBSD.org>1998-03-15 17:11:24 +0000
committerJustin M. Seger <jseger@FreeBSD.org>1998-03-15 17:11:24 +0000
commitb56e7b2654de04c434f9a68eadb1c0acb6c93903 (patch)
tree4c541f36bb1e507d76335b58131bfe0ce6c78c50 /games
parentUpdate for Fortify-1.2.1. (diff)
Import of xtruco-1.0.
This is XTruco - simple version for X Windows of the famous card game named Super Truco. PR: 6007 Submitted by: andy@icc.surw.chel.su
Notes
Notes: svn path=/head/; revision=10147
Diffstat (limited to 'games')
-rw-r--r--games/xtruco/Makefile22
-rw-r--r--games/xtruco/distinfo1
-rw-r--r--games/xtruco/files/patch-aa32
-rw-r--r--games/xtruco/pkg-comment1
-rw-r--r--games/xtruco/pkg-descr2
-rw-r--r--games/xtruco/pkg-plist1
6 files changed, 59 insertions, 0 deletions
diff --git a/games/xtruco/Makefile b/games/xtruco/Makefile
new file mode 100644
index 000000000000..1b8e82c88e76
--- /dev/null
+++ b/games/xtruco/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: xtruco
+# Version required: 1.0
+# Date created: 14 March 1998
+# Whom: Andrey Zakhvatov
+#
+# $Id$
+#
+
+DISTNAME= xtruco
+PKGNAME= xtruco-1.0
+CATEGORIES= games x11
+MASTER_SITES= ${MASTER_SITE_XCONTRIB}
+MASTER_SITE_SUBDIR= games
+
+MAINTAINER= andy@icc.surw.chel.su
+
+USE_X11= yes
+
+do-install:
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/xtruco ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/games/xtruco/distinfo b/games/xtruco/distinfo
new file mode 100644
index 000000000000..3fc101f2bb30
--- /dev/null
+++ b/games/xtruco/distinfo
@@ -0,0 +1 @@
+MD5 (xtruco.tar.gz) = 550f75d20d6402d2d573f7b9af3ac32f
diff --git a/games/xtruco/files/patch-aa b/games/xtruco/files/patch-aa
new file mode 100644
index 000000000000..9fc59b65d658
--- /dev/null
+++ b/games/xtruco/files/patch-aa
@@ -0,0 +1,32 @@
+--- Makefile Mon Oct 21 19:18:27 1996
++++ /home/andy/tmp/wrk/Makefile Sat Mar 14 20:08:33 1998
+@@ -6,17 +6,17 @@
+ # #
+ ################################
+
+-INCLUDES = -I/usr/X11/include
++INCLUDES = -I/usr/X11R6/include
+
+ # Remove '-DIPC_OK' if you have problems with 'shared-memory' (IPC routines)
+ OPC = -DIPC_OK
+
+-LIBRARIES = -lX11 -L/usr/X11/lib
++LIBRARIES = -lX11 -L/usr/X11R6/lib
+
+ CFILES = xtruco.c bitmap.c cursor.c display.c event.c gc.c pixmap.c\
+ topwind.c window.c color.c button.c font.c read.c
+
+-CC = gcc -O2 -g -Dlinux -DX11R6 $(INCLUDES) $(OPC)
++CC = gcc -DX11R6 $(INCLUDES) $(OPC)
+
+ PROG=xtruco
+
+@@ -25,7 +25,7 @@
+ OBJS=$(CFILES:.c=.o)
+
+ all: $(OBJS)
+- $(CC) -o $(PROG) $(LIBRARIES) $(OBJS)
++ $(CC) ${CFLAGS} -o $(PROG) $(LIBRARIES) $(OBJS)
+ # strip ${PROG}
+
+ clean:
diff --git a/games/xtruco/pkg-comment b/games/xtruco/pkg-comment
new file mode 100644
index 000000000000..1a8a4d471f6b
--- /dev/null
+++ b/games/xtruco/pkg-comment
@@ -0,0 +1 @@
+Simple version for X Window of the famous card game Super Truco.
diff --git a/games/xtruco/pkg-descr b/games/xtruco/pkg-descr
new file mode 100644
index 000000000000..969a55ea781a
--- /dev/null
+++ b/games/xtruco/pkg-descr
@@ -0,0 +1,2 @@
+ This is XTruco - simple version for X Windows
+of the famous card game named Super Truco.
diff --git a/games/xtruco/pkg-plist b/games/xtruco/pkg-plist
new file mode 100644
index 000000000000..8f83a0cc5ef1
--- /dev/null
+++ b/games/xtruco/pkg-plist
@@ -0,0 +1 @@
+bin/xtruco