From 6d4933316aab538b632aff9eb709bf4dd9b436ab Mon Sep 17 00:00:00 2001
From: Steve Price <steve@FreeBSD.org>
Date: Thu, 23 Dec 1999 19:45:09 +0000
Subject: Initial import of xoj version 1.0. And O. J. Simpson simulator root
 window demo.

PR:		6181
Submitted by:	Andrey Zakhvatov <andy@icc.surw.chel.su>
---
 games/xoj/Makefile       | 22 ++++++++++++++++++++++
 games/xoj/distinfo       |  1 +
 games/xoj/files/patch-aa | 28 ++++++++++++++++++++++++++++
 games/xoj/pkg-comment    |  1 +
 games/xoj/pkg-descr      |  3 +++
 games/xoj/pkg-plist      |  1 +
 6 files changed, 56 insertions(+)
 create mode 100644 games/xoj/Makefile
 create mode 100644 games/xoj/distinfo
 create mode 100644 games/xoj/files/patch-aa
 create mode 100644 games/xoj/pkg-comment
 create mode 100644 games/xoj/pkg-descr
 create mode 100644 games/xoj/pkg-plist

(limited to 'games/xoj')

diff --git a/games/xoj/Makefile b/games/xoj/Makefile
new file mode 100644
index 000000000000..91a2e96e519e
--- /dev/null
+++ b/games/xoj/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for:	xoj
+# Version required:			1.0
+# Date created:				30 March 1998
+# Whom:					Andrey Zakhvatov
+#
+# $FreeBSD$
+#
+
+DISTNAME=		xoj-1.0
+CATEGORIES=		games
+MASTER_SITES=		${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR=	X11/demos
+EXTRACT_SUFX=		.tgz
+
+MAINTAINER=		andy@icc.surw.chel.su
+
+USE_IMAKE=		yes
+
+do-install:
+	@ ${INSTALL_PROGRAM} ${WRKSRC}/xoj ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/games/xoj/distinfo b/games/xoj/distinfo
new file mode 100644
index 000000000000..1218e1dc5183
--- /dev/null
+++ b/games/xoj/distinfo
@@ -0,0 +1 @@
+MD5 (xoj-1.0.tgz) = 590e0d06454812a0714482b9831841b7
diff --git a/games/xoj/files/patch-aa b/games/xoj/files/patch-aa
new file mode 100644
index 000000000000..f01259700801
--- /dev/null
+++ b/games/xoj/files/patch-aa
@@ -0,0 +1,28 @@
+--- xoj.c.orig	Tue Jul 26 09:10:19 1994
++++ xoj.c	Sun Dec 19 22:32:12 1999
+@@ -106,7 +106,9 @@
+ void UpdateCop();
+ void DrawCop();
+ void EraseCop();
++#ifndef __FreeBSD__
+ void usleep();
++#endif
+ Pixel AllocNamedColor();
+ 
+ void
+@@ -584,6 +586,7 @@
+ /*
+  * sleep for a number of micro-seconds
+  */
++#ifndef __FreeBSD__
+ void usleep(usec) 
+ unsigned long usec;
+ {
+@@ -596,6 +599,7 @@
+     select(0, (void *)0, (void *)0, (void *)0, &t);
+ #endif
+ }
++#endif
+ 
+ 
+ 
diff --git a/games/xoj/pkg-comment b/games/xoj/pkg-comment
new file mode 100644
index 000000000000..cd1b81165254
--- /dev/null
+++ b/games/xoj/pkg-comment
@@ -0,0 +1 @@
+O. J. Simpson Simulator root window demo
diff --git a/games/xoj/pkg-descr b/games/xoj/pkg-descr
new file mode 100644
index 000000000000..452c4a53f179
--- /dev/null
+++ b/games/xoj/pkg-descr
@@ -0,0 +1,3 @@
+   Another root window demo. Lots of pretty icons scurry around
+your screen, chasing O.J. Simpson  and  degrading  your systems
+performance no doubt! "Relive the experience".
diff --git a/games/xoj/pkg-plist b/games/xoj/pkg-plist
new file mode 100644
index 000000000000..f521d487b908
--- /dev/null
+++ b/games/xoj/pkg-plist
@@ -0,0 +1 @@
+bin/xoj
-- 
cgit v1.2.3