summaryrefslogtreecommitdiff
path: root/emulators/xtrs
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2004-09-25 16:26:47 +0000
committeruebayasi <uebayasi@pkgsrc.org>2004-09-25 16:26:47 +0000
commit8d3bbe68eefa2070e3d850669251ee7fb350e7f8 (patch)
treed3c6f3e4d6259624bd7a45683da9cedfa5b9aaea /emulators/xtrs
parente365511080b1807ba175bf7f28da5239c44be41b (diff)
downloadpkgsrc-8d3bbe68eefa2070e3d850669251ee7fb350e7f8.tar.gz
Initial import of xtrs-4.9.
xtrs is a Radio Shack TRS-80 Model I/III/4/4P emulator for Unix and the X Window System. It includes lower case, the real time clock, hi-res graphics, serial port, parallel printer, mouse, cassette, sound and music output (requires OSS), 5" and 8" floppy disk drives in single and double density, and even hard disk drives. The emulated floppy and hard disk file formats are compatible with the popular MSDOS-based emulators by Jeff Vavasour, Matthew Reed, and David Keil, and (if you choose a capable enough file format), all features of the original TRS-80 floppy disk controller are emulated. Under Linux, physical floppy disk drives are also supported. Physical cassettes can be read and written too. The user interface is a bit spartan, but it gets the job done.
Diffstat (limited to 'emulators/xtrs')
-rw-r--r--emulators/xtrs/DESCR12
-rw-r--r--emulators/xtrs/Makefile34
-rw-r--r--emulators/xtrs/PLIST14
-rw-r--r--emulators/xtrs/distinfo4
4 files changed, 64 insertions, 0 deletions
diff --git a/emulators/xtrs/DESCR b/emulators/xtrs/DESCR
new file mode 100644
index 00000000000..7e1602a5507
--- /dev/null
+++ b/emulators/xtrs/DESCR
@@ -0,0 +1,12 @@
+xtrs is a Radio Shack TRS-80 Model I/III/4/4P emulator for Unix
+and the X Window System. It includes lower case, the real time
+clock, hi-res graphics, serial port, parallel printer, mouse,
+cassette, sound and music output (requires OSS), 5" and 8" floppy
+disk drives in single and double density, and even hard disk drives.
+The emulated floppy and hard disk file formats are compatible with
+the popular MSDOS-based emulators by Jeff Vavasour, Matthew Reed,
+and David Keil, and (if you choose a capable enough file format),
+all features of the original TRS-80 floppy disk controller are
+emulated. Under Linux, physical floppy disk drives are also
+supported. Physical cassettes can be read and written too. The
+user interface is a bit spartan, but it gets the job done.
diff --git a/emulators/xtrs/Makefile b/emulators/xtrs/Makefile
new file mode 100644
index 00000000000..24e0b188eaf
--- /dev/null
+++ b/emulators/xtrs/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/09/25 16:26:47 uebayasi Exp $
+#
+
+DISTNAME= xtrs-4.9
+CATEGORIES= emulators
+MASTER_SITES= http://www.tim-mann.org/trs80/
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= ${MASTER_SITES}
+COMMENT= TRS-80 Model I/III/4 Emulator for Unix
+
+USE_BUILDLINK3= yes
+USE_X11= yes
+
+ALL_TARGET= default
+
+SUBST_CLASSES+= mf
+SUBST_STAGE.mf= post-patch
+SUBST_FILES.mf= Makefile.local
+SUBST_SED.mf= -e 's|/usr/local|${PREFIX}|g' \
+ -e 's|/usr/X11/|${X11PREFIX}/|g' \
+ -e 's|/usr/include/X11|${X11BASE}/include|g' \
+ -e 's|^\(LDFLAGS = \)-L\(/usr/X11R6/lib\)|\1-Wl,-R\2 -L\2|g' \
+ -e 's|/share/man|/man|g'
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/lib/xtrs
+ ${INSTALL_DATA} ${WRKSRC}/xtrsrom4p.hex ${PREFIX}/lib/xtrs/romimage.m4p
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xtrs
+ ${INSTALL_DATA} ${WRKSRC}/xtrsrom4p.README ${PREFIX}/share/doc/xtrs
+
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../devel/readline/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/xtrs/PLIST b/emulators/xtrs/PLIST
new file mode 100644
index 00000000000..bb47aa401da
--- /dev/null
+++ b/emulators/xtrs/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/09/25 16:26:47 uebayasi Exp $
+bin/cmddump
+bin/hex2cmd
+bin/mkdisk
+bin/xtrs
+lib/xtrs/romimage.m4p
+man/man1/cassette.1
+man/man1/cmddump.1
+man/man1/hex2cmd.1
+man/man1/mkdisk.1
+man/man1/xtrs.1
+share/doc/xtrs/xtrsrom4p.README
+@dirrm share/doc/xtrs
+@dirrm lib/xtrs
diff --git a/emulators/xtrs/distinfo b/emulators/xtrs/distinfo
new file mode 100644
index 00000000000..deca7b7ca4c
--- /dev/null
+++ b/emulators/xtrs/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/09/25 16:26:47 uebayasi Exp $
+
+SHA1 (xtrs-4.9.tar.gz) = abfbbdb972c7fa2b3545ed42698162a88168bded
+Size (xtrs-4.9.tar.gz) = 422910 bytes