summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-01-03 09:45:37 +0000
committerasami <asami@FreeBSD.org>2000-01-03 09:45:37 +0000
commit00b24e8c4b3375a98d6764599502400317ed2590 (patch)
treeaf5f9fa31918db0b1f4b6a24593e17fd839a187b /games
parent0ecc0787c2a33ad6d8cf43b3adaf16d748d8247b (diff)
downloadFreeBSD-ports-00b24e8c4b3375a98d6764599502400317ed2590.zip
FreeBSD-ports-00b24e8c4b3375a98d6764599502400317ed2590.tar.gz
Really add xoj back to head. (The previous one went to the vendor branch....)
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/xoj/Makefile22
-rw-r--r--games/xoj/distinfo1
-rw-r--r--games/xoj/files/patch-aa28
-rw-r--r--games/xoj/pkg-comment1
-rw-r--r--games/xoj/pkg-descr3
-rw-r--r--games/xoj/pkg-plist1
7 files changed, 57 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 67a59c6..0cf5bdb 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -194,6 +194,7 @@
SUBDIR += xnibbles
SUBDIR += xoct
SUBDIR += xoids
+ SUBDIR += xoj
SUBDIR += xonix
SUBDIR += xosmulti
SUBDIR += xothello
diff --git a/games/xoj/Makefile b/games/xoj/Makefile
new file mode 100644
index 0000000..91a2e96
--- /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 0000000..1218e1d
--- /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 0000000..f012597
--- /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 0000000..cd1b811
--- /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 0000000..452c4a5
--- /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 0000000..f521d48
--- /dev/null
+++ b/games/xoj/pkg-plist
@@ -0,0 +1 @@
+bin/xoj
OpenPOWER on IntegriCloud