summaryrefslogtreecommitdiff
path: root/emulators/simh/Makefile
diff options
context:
space:
mode:
authorsoren <soren@pkgsrc.org>2002-08-20 23:58:14 +0000
committersoren <soren@pkgsrc.org>2002-08-20 23:58:14 +0000
commit71c95c2e4dc2366af53a6a60126e713844fe442a (patch)
treee313545687c00224b7d5bf0d20a09d20ef19fd76 /emulators/simh/Makefile
parent4120a3ead5ab0f03ba808c3470345ce84ef8efb4 (diff)
downloadpkgsrc-71c95c2e4dc2366af53a6a60126e713844fe442a.tar.gz
Update to V2.9-11.
This includes several new emulators including one for the VAX, which runs NetBSD/vax!
Diffstat (limited to 'emulators/simh/Makefile')
-rw-r--r--emulators/simh/Makefile29
1 files changed, 23 insertions, 6 deletions
diff --git a/emulators/simh/Makefile b/emulators/simh/Makefile
index f351e24a03e..b2fe094a686 100644
--- a/emulators/simh/Makefile
+++ b/emulators/simh/Makefile
@@ -1,16 +1,33 @@
-# $NetBSD: Makefile,v 1.5 2001/09/09 20:36:22 agc Exp $
+# $NetBSD: Makefile,v 1.6 2002/08/20 23:58:14 soren Exp $
#
-DISTNAME= sim_2.3d
-PKGNAME= simh-2.3d
+DISTNAME= simhv29-11
+PKGNAME= simh-2.9.11
CATEGORIES= emulators
-MASTER_SITES= ftp://minnie.cs.adfa.oz.au/pub/PDP-11/Sims/Supnik_2.3/sources/
+MASTER_SITES= http://simh.trailing-edge.com/sources/
+EXTRACT_SUFX= .zip
+EXTRACT_CMD= unzip -aq ${DOWNLOADED_DISTFILE}
MAINTAINER= packages@netbsd.org
-COMMENT= PDP, IBM 1401, and Nova CPU simulator
+HOMEPAGE= http://simh.trailing-edge.com/
+COMMENT= Bob Supnik's historical computer simulator
WRKSRC= ${WRKDIR}
-MAKEFILE= ${FILESDIR}/Makefile
+pre-build:
+ ${MKDIR} ${WRKSRC}/BIN
+ -${MV} ${WRKSRC}/AltairZ80/altairz80_defs.h \
+ ${WRKSRC}/AltairZ80/altairZ80_defs.h
+
+do-install:
+ (cd ${WRKSRC}/BIN && for BIN in *; do \
+ ${INSTALL_PROGRAM} $$BIN ${PREFIX}/bin/simh-$$BIN; \
+ done)
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/simh
+ ${INSTALL_DATA} ${WRKSRC}/VAX/ka655.bin ${PREFIX}/share/simh
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/simh
+ (cd ${WRKSRC} && for TXT in *.txt */*.txt; do \
+ ${INSTALL_DATA} $$TXT ${PREFIX}/share/doc/simh; \
+ done)
.include "../../mk/bsd.pkg.mk"