aboutsummaryrefslogtreecommitdiff
path: root/emulators/xzx
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/xzx')
-rw-r--r--emulators/xzx/Makefile21
-rw-r--r--emulators/xzx/distinfo3
-rw-r--r--emulators/xzx/files/patch-aa29
-rw-r--r--emulators/xzx/pkg-comment1
-rw-r--r--emulators/xzx/pkg-descr12
-rw-r--r--emulators/xzx/pkg-plist16
6 files changed, 82 insertions, 0 deletions
diff --git a/emulators/xzx/Makefile b/emulators/xzx/Makefile
new file mode 100644
index 000000000000..cc3208707b0b
--- /dev/null
+++ b/emulators/xzx/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: xzx
+# Version required: 2.2.1
+# Date created: 13 Nov 1997
+# Whom: Sheldon Hearn <axl@iafrica.com>
+#
+# $Id$
+#
+
+DISTNAME= xzx-2.2.1
+CATEGORIES= emulators x11
+MASTER_SITES= ftp://ftp.gns.getronics.nl/pub/os/sinclair/emulators/unix/
+DISTFILES= xzx-2.2.1-src.tar.gz \
+ xzx-2.2.1-roms.tar.gz \
+ xzx-2.2.1-contrib.tar.gz
+
+MAINTAINER= axl@iafrica.com
+
+USE_IMAKE= yes
+MAN1= xzx.1
+
+.include <bsd.port.mk>
diff --git a/emulators/xzx/distinfo b/emulators/xzx/distinfo
new file mode 100644
index 000000000000..bb6037b44b13
--- /dev/null
+++ b/emulators/xzx/distinfo
@@ -0,0 +1,3 @@
+MD5 (xzx-2.2.1-src.tar.gz) = 51f6f562aca7ee47fe93fa89ec3ea819
+MD5 (xzx-2.2.1-roms.tar.gz) = 333db76016b6917b1a019cf6412c23e3
+MD5 (xzx-2.2.1-contrib.tar.gz) = 5c42d5c46ccfbe6e90d595ff8e40a03f
diff --git a/emulators/xzx/files/patch-aa b/emulators/xzx/files/patch-aa
new file mode 100644
index 000000000000..8e6cee9c25fb
--- /dev/null
+++ b/emulators/xzx/files/patch-aa
@@ -0,0 +1,29 @@
+--- xzx.config.ORIG Sun Nov 2 14:21:34 1997
++++ xzx.config Thu Nov 13 01:50:08 1997
+@@ -33,13 +33,13 @@
+ */
+
+ /* Where the configuraion files and ROM images are installed */
+-ZXLIBDIR = /usr/local/lib/xzx
++ZXLIBDIR = /usr/X11R6/lib/X11/xzx
+
+ /* Where the binary files are installed */
+-BINDIR=/usr/local/bin
++BINDIR=/usr/X11R6/bin
+
+ /* Where the manual pages are installed */
+-MANDIR=/usr/local/man/man1
++MANDIR=/usr/X11R6/man/man1
+
+
+ /*******************************************************************************
+@@ -85,7 +85,8 @@
+ */
+ #if defined(i386Architecture) || defined(AlphaArchitecture) || \
+ defined(add_your_machine_here)
+-END_DEF = -DLITTLE_ENDIAN
++#FreeBSD has its own LITTLE_ENDIAN
++#END_DEF = -DLITTLE_ENDIAN
+ #else
+ END_DEF = -DBIG_ENDIAN
+ #endif
diff --git a/emulators/xzx/pkg-comment b/emulators/xzx/pkg-comment
new file mode 100644
index 000000000000..8fcc2d3d0b72
--- /dev/null
+++ b/emulators/xzx/pkg-comment
@@ -0,0 +1 @@
+ZX Spectrum (48K/128K/+3) Emulator for X11 Windows
diff --git a/emulators/xzx/pkg-descr b/emulators/xzx/pkg-descr
new file mode 100644
index 000000000000..7d720f628581
--- /dev/null
+++ b/emulators/xzx/pkg-descr
@@ -0,0 +1,12 @@
+XZX is a portable emulator of ZX Spectrum 48K/128K/+3 (8-bit home computers
+made by Sir Clive Sinclair) for machines running UNIX and the X Window system.
+
+XZX emulates either a Spectrum 48K, 128K or +3, Interface I with up to 8
+microdrives, Multiface 128 (if you have the ROM image) and Kempston joystick.
+XZX loads from .SNA, .Z80, .SLT, .DAT, .TAP, .TZX, .VOC, .MDR and .DSK files
+and saves to .SNA, .Z80, .SLT, .TAP, .MDR, .DSK and .SCR files.
+
+XZX will work with color (8,16,24,32bpp) and monochrome displays, where
+contrasting colours are displayed with the darker colour in black and the
+lighter colour in white, which works reasonably well. Halftoning is used if
+the scaling factor is increased.
diff --git a/emulators/xzx/pkg-plist b/emulators/xzx/pkg-plist
new file mode 100644
index 000000000000..1a06317b4092
--- /dev/null
+++ b/emulators/xzx/pkg-plist
@@ -0,0 +1,16 @@
+bin/ddtrans
+bin/mkcart
+bin/xzx
+lib/X11/app-defaults/Xzx
+lib/X11/xzx/128-0.rom
+lib/X11/xzx/128-1.rom
+lib/X11/xzx/if1.rom
+lib/X11/xzx/keyboard.scr
+lib/X11/xzx/mf128.rom
+lib/X11/xzx/pl3-0.rom
+lib/X11/xzx/pl3-1.rom
+lib/X11/xzx/pl3-2.rom
+lib/X11/xzx/pl3-3.rom
+lib/X11/xzx/spectrum.rom
+man/man1/xzx.1.gz
+@dirrm lib/X11/xzx