aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-01-11 05:22:45 +0000
committerSteve Price <steve@FreeBSD.org>1999-01-11 05:22:45 +0000
commit6de60b38244c62170d8fab04132e2039efb25280 (patch)
treec82541bc56cb9b92f9fcd355848fddbb34548ffa
parentacdb0c013623842e87313a67c824760bcdaeb3fe (diff)
downloadports-6de60b38244c62170d8fab04132e2039efb25280.tar.gz
ports-6de60b38244c62170d8fab04132e2039efb25280.zip
Notes
-rw-r--r--games/xtron/Makefile35
-rw-r--r--games/xtron/distinfo1
-rw-r--r--games/xtron/files/patch-aa13
-rw-r--r--games/xtron/files/patch-ab11
-rw-r--r--games/xtron/files/patch-ac11
-rw-r--r--games/xtron/pkg-comment1
-rw-r--r--games/xtron/pkg-descr3
-rw-r--r--games/xtron/pkg-plist24
8 files changed, 99 insertions, 0 deletions
diff --git a/games/xtron/Makefile b/games/xtron/Makefile
new file mode 100644
index 000000000000..bbbfa63d76e9
--- /dev/null
+++ b/games/xtron/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: xtron
+# Version required: 1.1a
+# Date created: 29 March 1998
+# Whom: Andrey Zakhvatov
+#
+# $Id$
+#
+
+DISTNAME= xtron-1.1a
+CATEGORIES= games x11
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= games/arcade
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= andy@icc.surw.chel.su
+
+LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
+
+USE_X_PREFIX= yes
+
+do-install:
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/xtron ${PREFIX}/bin
+ @ ${MKDIR} ${PREFIX}/share/xtron
+ @ ${INSTALL_DATA} ${WRKSRC}/pixmaps/* ${PREFIX}/share/xtron
+ @ ${INSTALL_DATA} ${WRKSRC}/xtronrc ${PREFIX}/lib/X11/app-defaults/Tron
+ @ ${MKDIR} ${PREFIX}/share/doc/xtron
+
+.if !defined(NOPORTDOCS)
+post-install:
+.for file in CHANGES COPYING README
+ @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xtron
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/games/xtron/distinfo b/games/xtron/distinfo
new file mode 100644
index 000000000000..c25e204a308f
--- /dev/null
+++ b/games/xtron/distinfo
@@ -0,0 +1 @@
+MD5 (xtron-1.1a.tgz) = 1f15c9cb5a03ac740d62cea3f876da60
diff --git a/games/xtron/files/patch-aa b/games/xtron/files/patch-aa
new file mode 100644
index 000000000000..98a0da60f8b6
--- /dev/null
+++ b/games/xtron/files/patch-aa
@@ -0,0 +1,13 @@
+--- Makefile Sun Apr 16 13:26:00 1995
++++ /home/andy/tmp/wrk/Makefile Sun Mar 29 23:08:24 1998
+@@ -20,8 +20,8 @@
+ #
+ CC= gcc
+ CFLAGS= -O4 -Wall
+-INCLUDES= -I/usr/X386/include/X11 -I/usr/include
+-LIBS= -L/usr/X386/lib
++INCLUDES= -I/usr/X11R6/include -I/usr/X11R6/include/X11
++LIBS= -L/usr/X11R6/lib
+ LDLIBS= -lXpm -lX11
+ DEPEND= makedepend
+ OBJS= wintype.o xtron.o main.o xpm2pixmap.o resource.o
diff --git a/games/xtron/files/patch-ab b/games/xtron/files/patch-ab
new file mode 100644
index 000000000000..8e1a62beba1a
--- /dev/null
+++ b/games/xtron/files/patch-ab
@@ -0,0 +1,11 @@
+--- resource.c Sun Apr 23 22:39:03 1995
++++ /home/andy/tmp/wrk/resource.c Sun Mar 29 23:05:40 1998
+@@ -101,7 +101,7 @@
+ if ((XTRONresources = XrmGetFileDatabase("./.xtronrc")) == NULL) {
+ if ((XTRONresources = XrmGetFileDatabase("$HOME/xtronrc")) == NULL) {
+ if ((XTRONresources = XrmGetFileDatabase("$HOME/.xtronrc")) == NULL) {
+- if ((XTRONresources = XrmGetFileDatabase("/usr/X11/lib/X11/app-defaults/xtronrc")) == NULL) {
++ if ((XTRONresources = XrmGetFileDatabase("/usr/X11R6/lib/X11/app-defaults/Tron")) == NULL) {
+ if ((XTRONresources = XrmGetFileDatabase("/usr/X11/lib/X11/app-defaults/.xtronrc")) == NULL) {
+ fprintf(stderr,"error: unable to open/read resource file xtronrc\n");
+ return(0);
diff --git a/games/xtron/files/patch-ac b/games/xtron/files/patch-ac
new file mode 100644
index 000000000000..90a09bf15c97
--- /dev/null
+++ b/games/xtron/files/patch-ac
@@ -0,0 +1,11 @@
+--- xtronrc Sun Apr 23 22:53:22 1995
++++ /home/andy/tmp/wrk/xtronrc Sun Mar 29 23:27:25 1998
+@@ -3,7 +3,7 @@
+ # in the user's home directory or in /usr/X11/lib/X11/app-defaults.
+ # you can also rename it .xtronrc if you prefer it to be hidden
+ # make sure that the pixmaps directory has a trailing / at the end
+-xtron.PixmapsDIR: ./pixmaps/
++xtron.PixmapsDIR: /usr/X11R6/share/xtron/
+
+ # change these key settings for player 1 [RED]
+ xtron.player1UP: w
diff --git a/games/xtron/pkg-comment b/games/xtron/pkg-comment
new file mode 100644
index 000000000000..2235a6412944
--- /dev/null
+++ b/games/xtron/pkg-comment
@@ -0,0 +1 @@
+Avoid running into walls, your own tail, and that of your opponent.
diff --git a/games/xtron/pkg-descr b/games/xtron/pkg-descr
new file mode 100644
index 000000000000..c05208cfdd25
--- /dev/null
+++ b/games/xtron/pkg-descr
@@ -0,0 +1,3 @@
+ Xtron is a simple one or two player version of the old
+classic TRON. The game is simple: avoid running into walls,
+your own tail, and that of your opponent.
diff --git a/games/xtron/pkg-plist b/games/xtron/pkg-plist
new file mode 100644
index 000000000000..6524b8a2f179
--- /dev/null
+++ b/games/xtron/pkg-plist
@@ -0,0 +1,24 @@
+bin/xtron
+lib/X11/app-defaults/Tron
+share/doc/xtron/CHANGES
+share/doc/xtron/COPYING
+share/doc/xtron/README
+share/xtron/Xtron_icon.xpm
+share/xtron/again.xpm
+share/xtron/againr.xpm
+share/xtron/back.xpm
+share/xtron/comprr.xpm
+share/xtron/computer.xpm
+share/xtron/human.xpm
+share/xtron/humanr.xpm
+share/xtron/p1.xpm
+share/xtron/p2.xpm
+share/xtron/p3.xpm
+share/xtron/pause.xpm
+share/xtron/pauser.xpm
+share/xtron/quit.xpm
+share/xtron/quitr.xpm
+share/xtron/score.xpm
+share/xtron/scorer.xpm
+@dirrm share/doc/xtron
+@dirrm share/xtron