summaryrefslogtreecommitdiff
path: root/games/xbill
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1995-09-12 10:29:42 +0000
committerSatoshi Asami <asami@FreeBSD.org>1995-09-12 10:29:42 +0000
commit1e22ea5eec3b8f4bd9b2fe5a30c9ee5e0b730b33 (patch)
tree4d7a309ae41ff21edaa0631c1e63f9f59fec4d66 /games/xbill
parentthe md5 file was wrong. I'm not sure why. the one currently in (diff)
Squash the evil Bills!
Requested by: Wolfram Schneider <wosch@cs.tu-berlin.de>
Notes
Notes: svn path=/head/; revision=2142
Diffstat (limited to 'games/xbill')
-rw-r--r--games/xbill/Makefile23
-rw-r--r--games/xbill/distinfo1
-rw-r--r--games/xbill/files/patch-aa51
-rw-r--r--games/xbill/pkg-comment1
-rw-r--r--games/xbill/pkg-descr5
-rw-r--r--games/xbill/pkg-plist3
6 files changed, 84 insertions, 0 deletions
diff --git a/games/xbill/Makefile b/games/xbill/Makefile
new file mode 100644
index 000000000000..50954afa3f73
--- /dev/null
+++ b/games/xbill/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: xbill
+# Version required: 1.1
+# Date created: 12 September 1995
+# Whom: asami
+#
+# $Id: Makefile,v 1.5 1995/04/11 00:20:20 asami Exp $
+#
+
+DISTNAME= xbill-1.1
+CATEGORIES+= games
+MASTER_SITES= ftp://crl.dec.com/pub/X11/contrib/games/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= asami@FreeBSD.ORG
+
+USE_IMAKE= yes
+WRKSRC= ${WRKDIR}/xbill
+NO_INSTALL_MANPAGES= yes
+
+post-install:
+ cp ${WRKSRC}/README ${PREFIX}/lib/xbill
+
+.include <bsd.port.mk>
diff --git a/games/xbill/distinfo b/games/xbill/distinfo
new file mode 100644
index 000000000000..bcc7b1adcb57
--- /dev/null
+++ b/games/xbill/distinfo
@@ -0,0 +1 @@
+MD5 (xbill-1.1.tgz) = 409294e2589de8b77c607aed1b3d7f86
diff --git a/games/xbill/files/patch-aa b/games/xbill/files/patch-aa
new file mode 100644
index 000000000000..b5f37c955975
--- /dev/null
+++ b/games/xbill/files/patch-aa
@@ -0,0 +1,51 @@
+--- ./Imakefile.org Mon Apr 17 20:23:20 1995
++++ ./Imakefile Tue Sep 12 03:09:04 1995
+@@ -4,22 +4,22 @@
+ XCOMM installed setgid daemon to allow it to write to the scores file
+ XCOMM if a system score file is used.
+
+-SCORE_DEF = -DSCORE_FILE=\"/var/games/xbill/scores\"
++SCORE_DEF = -DSCORE_FILE=\"$(USRLIBDIR)/xbill/scores\"
+ XCOMM SCORE_DEF = -DSCORE_FILE=\"$(HOME)/.xbill-scores\"
+
+ XCOMM If you do not have libXpm installed in the standard place,
+ XCOMM uncomment the second define below and insert the correct paths.
+ XCOMM Make sure xpm.h can be referenced as <X11/xpm.h>
+
+-XCOMM XPMINC = -I<xpm include dir>
+-XCOMM XPMLIBDIR = -L<xpm lib dir>
++XPMINC = -I$(INCROOT)
++XPMLIBDIR = -L$(USRLIBDIR)
+ XPMLIB = -lXpm
+
+ XCOMM Use one of the following two lines. Motif looks a lot better,
+ XCOMM but Athena is free and may compile easier.
+
+-#define Use_Motif
+-XCOMM #define Use_Athena
++XCOMM #define Use_Motif
++#define Use_Athena
+
+ #ifdef Use_Motif
+ XMLIB = -lXm
+@@ -42,6 +42,6 @@
+
+ ComplexProgramTarget(xbill)
+
+-MakeDirectories(install,/var/games/xbill)
++MakeDirectories(install,$(USRLIBDIR)/xbill)
+ InstallMultipleFlags(xbill,$(BINDIR),-s -g daemon -m 2755)
+-InstallMultipleFlags(scores,/var/games/xbill,-g daemon -m 664)
++InstallMultipleFlags(scores,$(USRLIBDIR)/xbill,-g daemon -m 664)
+--- ./xbill.h.org Sun Apr 16 12:47:02 1995
++++ ./xbill.h Tue Sep 12 03:09:23 1995
+@@ -10,7 +10,9 @@
+ #include <unistd.h>
+ #include <stdlib.h>
+ #include <stdio.h>
++#ifndef __FreeBSD__
+ #include <malloc.h>
++#endif
+
+ #define INTERVAL 250 /*timer interval*/
+ #define MAX_COMPUTERS 25 /*maximum number of computers on screen*/
diff --git a/games/xbill/pkg-comment b/games/xbill/pkg-comment
new file mode 100644
index 000000000000..448e0a1eafcf
--- /dev/null
+++ b/games/xbill/pkg-comment
@@ -0,0 +1 @@
+xbill-1.1, save your computers from the evil clutches of Bill
diff --git a/games/xbill/pkg-descr b/games/xbill/pkg-descr
new file mode 100644
index 000000000000..94346de5441c
--- /dev/null
+++ b/games/xbill/pkg-descr
@@ -0,0 +1,5 @@
+xbill is a game for Bill-haters. Ah, the escasy to squish the evil Bill
+like a bug! :>
+
+- Satoshi
+asami@cs.berkeley.edu
diff --git a/games/xbill/pkg-plist b/games/xbill/pkg-plist
new file mode 100644
index 000000000000..22be3e5a0953
--- /dev/null
+++ b/games/xbill/pkg-plist
@@ -0,0 +1,3 @@
+bin/xbill
+lib/xbill/scores
+lib/xbill/README