Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Nov 1997 03:00:48 +0200 (SAT)
From:      sheldonh@iafrica.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/5024: NEW port: ZX Spectrum Emulator! xzx-2.2.1
Message-ID:  <199711130100.DAA12449@axl.iafrica.com>
Resent-Message-ID: <199711130110.RAA27613@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         5024
>Category:       ports
>Synopsis:       NEW port: ZX Spectrum Emulator! xzx-2.2.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 12 17:10:00 PST 1997
>Last-Modified:
>Originator:     Sheldon Hearn
>Organization:
                 UUNET Internet Africa
>Release:        FreeBSD 2.2.5-STABLE i386
>Environment:

	FreeBSD 2.2-STABLE as of 5 Nov 1997

>Description:

	There aren't any ZX Spectrum Emulators in the FreeBSD Ports
	Collection yet. But you can change all that now with one simple
	commit...

	xzx-2.2.1 is a ZX Spectrum (48K/128K/+3) Emulator for X11 Windows

>How-To-Repeat:

	N/A

>Fix:
	
	This shar archive will recreate the port directory. Have fine,
	fellow Spectrum die-hards!


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xzx
#	xzx/Makefile
#	xzx/files
#	xzx/files/md5
#	xzx/pkg
#	xzx/pkg/COMMENT
#	xzx/pkg/DESCR
#	xzx/pkg/PLIST
#	xzx/patches
#	xzx/patches/patch-aa
#	xzx/patches/patch-ab
#	xzx/patches/patch-ac
#	xzx/patches/patch-ad
#
echo c - xzx
mkdir -p xzx > /dev/null 2>&1
echo x - xzx/Makefile
sed 's/^X//' >xzx/Makefile << 'END-of-xzx/Makefile'
X# New ports collection makefile for:	xzx
X# Version required:     2.2.1
X# Date created:         13 Nov 1997
X# Whom:                 Sheldon Hearn <axl@iafrica.com>
X#
X# $Id$
X#
X
XDISTNAME=	xzx-2.2.1
XCATEGORIES=	emulators x11
XMASTER_SITES=	ftp://ftp.gns.getronics.nl/pub/os/sinclair/emulators/unix/
XDISTFILES=	xzx-2.2.1-src.tar.gz \
X		xzx-2.2.1-roms.tar.gz \
X		xzx-2.2.1-contrib.tar.gz
X
XMAINTAINER=	axl@iafrica.com
X
XUSE_IMAKE=	yes
XMANCOMPRESSED=	yes
X
XMAN1=	xzx.1
X
Xdo-install:
X	cd ${WRKSRC} && \
X	${MAKE} install && ${MAKE} install.man
X
X.include <bsd.port.mk>
END-of-xzx/Makefile
echo c - xzx/files
mkdir -p xzx/files > /dev/null 2>&1
echo x - xzx/files/md5
sed 's/^X//' >xzx/files/md5 << 'END-of-xzx/files/md5'
XMD5 (xzx-2.2.1-src.tar.gz) = 51f6f562aca7ee47fe93fa89ec3ea819
XMD5 (xzx-2.2.1-roms.tar.gz) = 333db76016b6917b1a019cf6412c23e3
XMD5 (xzx-2.2.1-contrib.tar.gz) = 5c42d5c46ccfbe6e90d595ff8e40a03f
END-of-xzx/files/md5
echo c - xzx/pkg
mkdir -p xzx/pkg > /dev/null 2>&1
echo x - xzx/pkg/COMMENT
sed 's/^X//' >xzx/pkg/COMMENT << 'END-of-xzx/pkg/COMMENT'
XZX Spectrum (48K/128K/+3) Emulator for X11 Windows
END-of-xzx/pkg/COMMENT
echo x - xzx/pkg/DESCR
sed 's/^X//' >xzx/pkg/DESCR << 'END-of-xzx/pkg/DESCR'
XXZX is a portable emulator of ZX Spectrum 48K/128K/+3 (8-bit home computers
Xmade by Sir Clive Sinclair) for machines running UNIX and the X Window system.
X
XXZX emulates either a Spectrum 48K, 128K or +3, Interface I with up to 8
Xmicrodrives, Multiface 128 (if you have the ROM image) and Kempston joystick.
XXZX loads from .SNA, .Z80, .SLT, .DAT, .TAP, .TZX, .VOC, .MDR and .DSK files
Xand saves to .SNA, .Z80, .SLT, .TAP, .MDR, .DSK and .SCR files.
X
XXZX will work with color (8,16,24,32bpp) and monochrome displays, where
Xcontrasting colours are displayed with the darker colour in black and the
Xlighter colour in white, which works reasonably well. Halftoning is used if
Xthe scaling factor is increased.
END-of-xzx/pkg/DESCR
echo x - xzx/pkg/PLIST
sed 's/^X//' >xzx/pkg/PLIST << 'END-of-xzx/pkg/PLIST'
Xbin/ddtrans
Xbin/mkcart
Xbin/xzx
Xlib/X11/app-defaults/Xzx
Xlib/X11/xzx/128-0.rom
Xlib/X11/xzx/128-1.rom
Xlib/X11/xzx/if1.rom
Xlib/X11/xzx/keyboard.scr
Xlib/X11/xzx/mf128.rom
Xlib/X11/xzx/pl3-0.rom
Xlib/X11/xzx/pl3-1.rom
Xlib/X11/xzx/pl3-2.rom
Xlib/X11/xzx/pl3-3.rom
Xlib/X11/xzx/spectrum.rom
Xman/man1/xzx.1.gz
X@dirrm lib/X11/xzx
END-of-xzx/pkg/PLIST
echo c - xzx/patches
mkdir -p xzx/patches > /dev/null 2>&1
echo x - xzx/patches/patch-aa
sed 's/^X//' >xzx/patches/patch-aa << 'END-of-xzx/patches/patch-aa'
X--- xzx.config.ORIG	Sun Nov  2 14:21:34 1997
X+++ xzx.config	Thu Nov 13 01:50:08 1997
X@@ -33,13 +33,13 @@
X  */
X 
X /* Where the configuraion files and ROM images are installed */
X-ZXLIBDIR = /usr/local/lib/xzx
X+ZXLIBDIR = /usr/X11R6/lib/X11/xzx
X 
X /* Where the binary files are installed */
X-BINDIR=/usr/local/bin
X+BINDIR=/usr/X11R6/bin
X 
X /* Where the manual pages are installed */
X-MANDIR=/usr/local/man/man1
X+MANDIR=/usr/X11R6/man/man1
X 
X 
X /*******************************************************************************
X@@ -85,7 +85,8 @@
X  */
X #if defined(i386Architecture) || defined(AlphaArchitecture) || \
X 				 defined(add_your_machine_here)
X-END_DEF = -DLITTLE_ENDIAN
X+#FreeBSD has its own LITTLE_ENDIAN
X+#END_DEF = -DLITTLE_ENDIAN
X #else
X END_DEF = -DBIG_ENDIAN
X #endif
END-of-xzx/patches/patch-aa
echo x - xzx/patches/patch-ab
sed 's/^X//' >xzx/patches/patch-ab << 'END-of-xzx/patches/patch-ab'
X--- Imakefile.ORIG	Thu Nov 13 01:24:31 1997
X+++ Imakefile	Thu Nov 13 01:24:40 1997
X@@ -61,7 +61,7 @@
X DEFINES = $(END_DEF) $(SHM_DEF) $(TERMINAL_DEF) $(NAME_DEF) $(STRCASE_DEF) \
X 	  $(ESCAPE_DEF) $(JOY_DEF) $(AUDIO_DEF) $(IO_DEF) $(IF1_DEF) \
X 	  $(SLOW_DEF) $(MF128_DEF) $(PRINTER_DEF) $(PLUS3_DEF) $(DND_DEF) \
X-          -DUSRLIBDIR=\"$(LIBDIR)\" -DLIBDIR=\"$(ZXLIBDIR)\" -UREGISTERED
X+          -DUSRLIBDIR=\"$(LIBDIR)\" -DLIBDIR=\"$(ZXLIBDIR)\" -DUREGISTERED
X 
X DEPENDFLAGS = $(CCOPTIONS) $(DEFINES)
X 
END-of-xzx/patches/patch-ab
echo x - xzx/patches/patch-ac
sed 's/^X//' >xzx/patches/patch-ac << 'END-of-xzx/patches/patch-ac'
X--- Xzx.ad.ORIG	Thu Nov 13 02:13:49 1997
X+++ Xzx.ad	Thu Nov 13 02:14:13 1997
X@@ -4,7 +4,7 @@
X ! $Id: Xzx.ad,v 3.10 1997/10/19 08:19:00 erik Rel $
X !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
X 
X-*libDir:			.:/usr/local/lib/xzx
X+*libDir:			.:/usr/X11R6/lib/X11/xzx
X *quiet:				false
X 
X ! Display releated resources
END-of-xzx/patches/patch-ac
echo x - xzx/patches/patch-ad
sed 's/^X//' >xzx/patches/patch-ad << 'END-of-xzx/patches/patch-ad'
X--- xzx.man.ORIG	Thu Nov 13 02:15:04 1997
X+++ xzx.man	Thu Nov 13 02:15:19 1997
X@@ -26,7 +26,7 @@
X Use \fIpath\fR as the colon-separated directory list to check when loading the
X Spectrum ROM and any snapshots specified.  Directories are guaranteed to be
X searched in the order they are listed.  Defaults to
X- \fI".:/usr/local/lib/xzx"\fR.
X+ \fI".:/usr/X11R6/lib/X11/xzx"\fR.
X .TP
X .BI \-quiet " \fI<boolean>\fR"
X Supresses all non-error messages.  You will see neither warnings nor
END-of-xzx/patches/patch-ad
exit

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711130100.DAA12449>