aboutsummaryrefslogtreecommitdiff
path: root/games/gnurobots
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-10-28 01:29:09 +0000
committerWill Andrews <will@FreeBSD.org>2000-10-28 01:29:09 +0000
commit5321816733b99598b98461ec1e15fa41101a2543 (patch)
treed55fa7b87540a563cc1d1631f95f54c785584976 /games/gnurobots
parent594fa29da607f9d5d3de59f37cb65568bced88ec (diff)
downloadports-5321816733b99598b98461ec1e15fa41101a2543.tar.gz
ports-5321816733b99598b98461ec1e15fa41101a2543.zip
Notes
Diffstat (limited to 'games/gnurobots')
-rw-r--r--games/gnurobots/Makefile38
-rw-r--r--games/gnurobots/distinfo1
-rw-r--r--games/gnurobots/files/patch-aa11
-rw-r--r--games/gnurobots/pkg-comment1
-rw-r--r--games/gnurobots/pkg-descr9
-rw-r--r--games/gnurobots/pkg-message7
-rw-r--r--games/gnurobots/pkg-plist24
7 files changed, 91 insertions, 0 deletions
diff --git a/games/gnurobots/Makefile b/games/gnurobots/Makefile
new file mode 100644
index 000000000000..8d7cf33f681d
--- /dev/null
+++ b/games/gnurobots/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: gnurobots
+# Date created: 22 Sept 2000
+# Whom: Aaron VonderHaar <avh4@usa.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnurobots
+PORTVERSION= 1.0D
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_GNU}
+MASTER_SITE_SUBDIR= gnurobots
+
+MAINTAINER= avh4@usa.net
+
+LIB_DEPENDS= guile.9:${PORTSDIR}/lang/guile
+
+GNU_CONFIGURE= yes
+
+pre-patch:
+ ${CP} ${WRKSRC}/getopt/getopt.h ${WRKSRC}/include
+ ${CP} ${WRKSRC}/getopt/getopt.c ${WRKSRC}/src
+ ${CP} ${WRKSRC}/getopt/getopt1.c ${WRKSRC}/src
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/gnurobots/maps ${PREFIX}/share/gnurobots/scheme \
+ ${PREFIX}/share/doc/gnurobots
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/robots ${PREFIX}/bin/gnurobots
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/robots_logfile ${PREFIX}/bin/gnurobots_logfile
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/xrobots ${PREFIX}/bin/xgnurobots
+ ${INSTALL_DATA} ${WRKSRC}/maps/* ${PREFIX}/share/gnurobots/maps/
+ ${INSTALL_DATA} ${WRKSRC}/scheme/* ${PREFIX}/share/gnurobots/scheme/
+ ${INSTALL_MAN} ${WRKSRC}/doc/* ${PREFIX}/share/doc/gnurobots/
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/games/gnurobots/distinfo b/games/gnurobots/distinfo
new file mode 100644
index 000000000000..8899f346c8d6
--- /dev/null
+++ b/games/gnurobots/distinfo
@@ -0,0 +1 @@
+MD5 (gnurobots-1.0D.tar.gz) = 0ced682367b0dc9b2fcfdb40230a5fb5
diff --git a/games/gnurobots/files/patch-aa b/games/gnurobots/files/patch-aa
new file mode 100644
index 000000000000..7aab72876e49
--- /dev/null
+++ b/games/gnurobots/files/patch-aa
@@ -0,0 +1,11 @@
+--- src/Makefile.in Sun Jun 18 11:26:24 2000
++++ src/Makefile.in Fri Sep 22 01:12:42 2000
+@@ -17,7 +17,7 @@
+
+ # Macros:
+
+-SOURCES=api.c sign.c loadmap.c drawmap.c
++SOURCES=api.c sign.c loadmap.c drawmap.c getopt.c getopt1.c
+ OBJECTS=$(SOURCES:.c=.o)
+
+ CFLAGS_X=@X_CFLAGS@
diff --git a/games/gnurobots/pkg-comment b/games/gnurobots/pkg-comment
new file mode 100644
index 000000000000..678e1a2817f0
--- /dev/null
+++ b/games/gnurobots/pkg-comment
@@ -0,0 +1 @@
+GNU diversion wherein Scheme-coded robots explore a world
diff --git a/games/gnurobots/pkg-descr b/games/gnurobots/pkg-descr
new file mode 100644
index 000000000000..1483f40422bb
--- /dev/null
+++ b/games/gnurobots/pkg-descr
@@ -0,0 +1,9 @@
+GNU Robots is a game/diversion where you construct a program for a
+little robot, then set him loose and watch him explore a world on his
+own. The robot program is written in Scheme, and is implemented using
+GNU Guile. --from GNU robots README
+
+WWW: http://www.gnu.org/software/robots/
+
+-Aaron VonderHaar
+ avh4@usa.net
diff --git a/games/gnurobots/pkg-message b/games/gnurobots/pkg-message
new file mode 100644
index 000000000000..74ef86a04f21
--- /dev/null
+++ b/games/gnurobots/pkg-message
@@ -0,0 +1,7 @@
+Where to find things
+ - A place to start: $PREFIX/share/doc/gnurobots/Robots-HOWTO
+ - Example maps: $PREFIX/share/gnurobots/maps/
+ - Example robots: $PREFIX/share/gnurobots/scheme/
+ - Binaries: gnurobots, gnurobots_logfile, xgnurobots
+ (this port adds the 'gnu' prefix to
+ distinguish from /usr/games/robots)
diff --git a/games/gnurobots/pkg-plist b/games/gnurobots/pkg-plist
new file mode 100644
index 000000000000..b3d36ef52a41
--- /dev/null
+++ b/games/gnurobots/pkg-plist
@@ -0,0 +1,24 @@
+bin/gnurobots
+bin/gnurobots_logfile
+bin/xgnurobots
+share/gnurobots/maps/maze.map
+share/gnurobots/maps/pattern.map
+share/gnurobots/maps/small.map
+share/gnurobots/scheme/beep.scm
+share/gnurobots/scheme/greedy.scm
+share/gnurobots/scheme/mapper.scm
+share/gnurobots/scheme/simple.scm
+share/gnurobots/scheme/stop.scm
+share/gnurobots/scheme/zap.scm
+share/doc/gnurobots/BUGS
+share/doc/gnurobots/COPYING
+share/doc/gnurobots/INSTALL
+share/doc/gnurobots/NEWS
+share/doc/gnurobots/README
+share/doc/gnurobots/Robots-HOWTO
+share/doc/gnurobots/contrib
+share/doc/gnurobots/guile-proj.scm
+@dirrm share/gnurobots/scheme
+@dirrm share/gnurobots/maps
+@dirrm share/gnurobots
+@dirrm share/doc/gnurobots