aboutsummaryrefslogtreecommitdiff
path: root/emulators/sim
diff options
context:
space:
mode:
authorJames Raynard <jraynard@FreeBSD.org>1997-11-08 20:33:01 +0000
committerJames Raynard <jraynard@FreeBSD.org>1997-11-08 20:33:01 +0000
commit8588e86aef0124a9a0ffba6863fe5559313123b5 (patch)
tree245d7d79427ae2d4edadae973b39b779d9352607 /emulators/sim
parent46bf36ee1a7242a3341bb4ccd43c1fb0fad8a3df (diff)
downloadports-8588e86aef0124a9a0ffba6863fe5559313123b5.tar.gz
ports-8588e86aef0124a9a0ffba6863fe5559313123b5.zip
Notes
Diffstat (limited to 'emulators/sim')
-rw-r--r--emulators/sim/Makefile36
-rw-r--r--emulators/sim/distinfo2
-rw-r--r--emulators/sim/files/Makefile52
-rw-r--r--emulators/sim/pkg-comment1
-rw-r--r--emulators/sim/pkg-descr10
-rw-r--r--emulators/sim/pkg-plist10
6 files changed, 111 insertions, 0 deletions
diff --git a/emulators/sim/Makefile b/emulators/sim/Makefile
new file mode 100644
index 000000000000..493f297490bd
--- /dev/null
+++ b/emulators/sim/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: sim
+# Version required: 2.3
+# Date created: 7 November 1997
+# Whom: jraynard
+#
+# $Id$
+#
+
+DISTNAME= sim_2.3
+CATEGORIES= emulators
+MASTER_SITES= ftp://minnie.cs.adfa.oz.au/pub/PDP-11/Sims/Supnik_2.3/sources/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}.update1.tar.gz
+
+MAINTAINER= jraynard@FreeBSD.ORG
+
+RESTRICTED= "Non-commercial use only"
+
+NO_WRKSUBDIR= yes
+
+post-configure:
+ @${CP} ${FILESDIR}/Makefile ${WRKSRC}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKDIR}/i1401 ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKDIR}/nova ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKDIR}/pdp1 ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKDIR}/pdp4 ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKDIR}/pdp7 ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKDIR}/pdp8 ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKDIR}/pdp9 ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKDIR}/pdp11 ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKDIR}/pdp15 ${PREFIX}/bin
+ @${MKDIR} ${PREFIX}/share/sim && ${INSTALL_DATA} ${WRKDIR}/simh_doc.txt \
+ ${PREFIX}/share/sim
+
+.include <bsd.port.mk>
diff --git a/emulators/sim/distinfo b/emulators/sim/distinfo
new file mode 100644
index 000000000000..89e37a8801a5
--- /dev/null
+++ b/emulators/sim/distinfo
@@ -0,0 +1,2 @@
+MD5 (sim_2.3.tar.gz) = 4dbd894a56359f6607375d602322c9df
+MD5 (sim_2.3.update1.tar.Z) = 278ae979d1f7960aa2e6705496d7657d
diff --git a/emulators/sim/files/Makefile b/emulators/sim/files/Makefile
new file mode 100644
index 000000000000..b4161a2b4ce4
--- /dev/null
+++ b/emulators/sim/files/Makefile
@@ -0,0 +1,52 @@
+CONTROL_FILES= scp.c scp_tty.c
+
+I1401_FILES= i1401_cd.c i1401_cpu.c i1401_iq.c i1401_lp.c \
+ i1401_mt.c i1401_sys.c
+
+NOVA_FILES= nova_clk.c nova_cpu.c nova_dkp.c nova_dsk.c \
+ nova_lp.c nova_mta.c nova_pt.c nova_sys.c nova_tt.c
+
+PDP11_FILES= pdp11_cpu.c pdp11_fp.c pdp11_lp.c pdp11_rk.c pdp11_rl.c \
+ pdp11_rp.c pdp11_rx.c pdp11_stddev.c pdp11_sys.c pdp11_tm.c
+
+PDP18B_FILES= pdp18b_cpu.c pdp18b_drm.c pdp18b_lp.c pdp18b_mt.c \
+ pdp18b_rf.c pdp18b_rp.c pdp18b_stddev.c pdp18b_sys.c
+
+PDP1_FILES= pdp1_cpu.c pdp1_lp.c pdp1_stddev.c pdp1_sys.c
+
+PDP8_FILES= pdp8_clk.c pdp8_cpu.c pdp8_lp.c pdp8_mt.c pdp8_pt.c \
+ pdp8_rf.c pdp8_rk.c pdp8_rx.c pdp8_sys.c pdp8_tt.c
+
+all: i1401 nova pdp1 pdp4 pdp7 pdp8 pdp9 pdp11 pdp15
+
+i1401: $(I1401_FILES) i1401_defs.h
+ cc $(I1401_FILES) $(CONTROL_FILES) -o i1401
+
+nova: $(NOVA_FILES) nova_defs.h
+ cc $(NOVA_FILES) $(CONTROL_FILES) -lm -o nova
+
+pdp1: $(PDP1_FILES) pdp1_defs.h
+ cc $(PDP1_FILES) $(CONTROL_FILES) -o pdp1
+
+pdp4: $(PDP18B_FILES) pdp18b_defs.h
+ cc -DPDP4 $(PDP18B_FILES) $(CONTROL_FILES) -lm -o pdp4
+
+pdp7: $(PDP18B_FILES) pdp18b_defs.h
+ cc -DPDP7 $(PDP18B_FILES) $(CONTROL_FILES) -lm -o pdp7
+
+pdp8: $(PDP8_FILES) pdp8_defs.h
+ cc $(PDP8_FILES) $(CONTROL_FILES) -lm -o pdp8
+
+pdp9: $(PDP18B_FILES) pdp18b_defs.h
+ cc -DPDP9 $(PDP18B_FILES) $(CONTROL_FILES) -lm -o pdp9
+
+pdp11: $(PDP11_FILES) pdp11_defs.h
+ cc $(PDP11_FILES) $(CONTROL_FILES) -lm -o pdp11
+
+pdp15: $(PDP18B_FILES) pdp18b_defs.h
+ cc -DPDP15 $(PDP18B_FILES) $(CONTROL_FILES) -lm -o pdp15
+
+clean:
+ rm -f *.o i1401 nova pdp1 pdp4 pdp7 pdp8 pdp9 pdp11 pdp15
+
+#.include <bsd.prog.mk>
diff --git a/emulators/sim/pkg-comment b/emulators/sim/pkg-comment
new file mode 100644
index 000000000000..2c7228a07945
--- /dev/null
+++ b/emulators/sim/pkg-comment
@@ -0,0 +1 @@
+PDP-8, PDP-11, PDP-1, other 18b PDP, Nova, and IBM 1401 simulators.
diff --git a/emulators/sim/pkg-descr b/emulators/sim/pkg-descr
new file mode 100644
index 000000000000..fc904651ca4a
--- /dev/null
+++ b/emulators/sim/pkg-descr
@@ -0,0 +1,10 @@
+PDP-8, PDP-11, PDP-1, other 18b PDP, Nova, and IBM 1401 simulators.
+
+The simulators have been tested on VAX VMS, Alpha VMS, Alpha UNIX, Intel
+FreeBSD and Intel LINUX; a port to Windows 95 and Windows NT is in progress
+but lacks terminal emulation code. Porting to other environments will
+require changes to the operating system dependent code in scp_tty.c.
+
+These simulators are capable of running the Unix V5, V6 and V7 binaries
+licenced for non-commercial use by SCO. See ${WRKDIR}/simh_doc.txt for
+further details.
diff --git a/emulators/sim/pkg-plist b/emulators/sim/pkg-plist
new file mode 100644
index 000000000000..64d0b7cc081c
--- /dev/null
+++ b/emulators/sim/pkg-plist
@@ -0,0 +1,10 @@
+bin/i1401
+bin/nova
+bin/pdp1
+bin/pdp4
+bin/pdp7
+bin/pdp8
+bin/pdp9
+bin/pdp11
+bin/pdp15
+share/sim/simh_doc.txt