pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/xhomer Import xhomer-9.16.06 as emulators/xh...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bd8a579d9885
branches:  trunk
changeset: 551076:bd8a579d9885
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat Dec 06 12:56:27 2008 +0000

description:
Import xhomer-9.16.06 as emulators/xhomer.
Based on PR 39980 by John Maier.

Xhomer is a machine emulator for the Digital Equipment Corporation (DEC)
Pro 350 computer, a PDP-11-based machine that was sold in the early
to mid-'80's.  Xhomer is based on the PDP-11 CPU core from the SIMH simulator,
and is written entirely in C.

diffstat:

 emulators/xhomer/DESCR            |   4 +++
 emulators/xhomer/Makefile         |  35 ++++++++++++++++++++++++++++++++
 emulators/xhomer/PLIST            |  42 +++++++++++++++++++++++++++++++++++++++
 emulators/xhomer/distinfo         |   6 +++++
 emulators/xhomer/patches/patch-aa |  36 +++++++++++++++++++++++++++++++++
 5 files changed, 123 insertions(+), 0 deletions(-)

diffs (143 lines):

diff -r 9a14555c9a7c -r bd8a579d9885 emulators/xhomer/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/xhomer/DESCR    Sat Dec 06 12:56:27 2008 +0000
@@ -0,0 +1,4 @@
+Xhomer is a machine emulator for the Digital Equipment Corporation (DEC)
+Pro 350 computer, a PDP-11-based machine that was sold in the early
+to mid-'80's.  Xhomer is based on the PDP-11 CPU core from the SIMH simulator,
+and is written entirely in C.
diff -r 9a14555c9a7c -r bd8a579d9885 emulators/xhomer/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/xhomer/Makefile Sat Dec 06 12:56:27 2008 +0000
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/12/06 12:56:27 obache Exp $
+
+DISTNAME=      xhomer-9-16-06
+PKGNAME=       xhomer-9.16.06
+CATEGORIES=    emulators
+MASTER_SITES=  http://xhomer.isani.org/xhomer/
+EXTRACT_SUFX=  .tgz
+
+MAINTAINER=    jmaier%happymolars.org@localhost
+HOMEPAGE=      http://xhomer.isani.org/xhomer/
+COMMENT=       DEC Pro 350/380 emulator
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_TOOLS+=    gmake
+
+NO_CONFIGURE=  yes
+
+BUILD_TARGET=  xhomer
+
+MAKE_FLAGS+=   X11DIR=${X11BASE} USE_DGA2=Y USE_DGA1=N
+
+INSTALLATION_DIRS=     bin share/examples/xhomer share/doc/xhomer
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/xhomer ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA} ${WRKSRC}/bat.ram ${DESTDIR}${PREFIX}/share/examples/xhomer
+       ${INSTALL_DATA} ${WRKSRC}/xhomer.cfg ${DESTDIR}${PREFIX}/share/examples/xhomer/
+       ${INSTALL_DATA} ${WRKSRC}/DOC/*  ${DESTDIR}${PREFIX}/share/doc/xhomer
+
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libXxf86dga/buildlink3.mk"
+.include "../../x11/xextproto/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9a14555c9a7c -r bd8a579d9885 emulators/xhomer/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/xhomer/PLIST    Sat Dec 06 12:56:27 2008 +0000
@@ -0,0 +1,42 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/12/06 12:56:27 obache Exp $
+bin/xhomer
+share/doc/xhomer/battery_backed_ram.html
+share/doc/xhomer/building.html
+share/doc/xhomer/change_log.html
+share/doc/xhomer/configuration_file.html
+share/doc/xhomer/contact.gif
+share/doc/xhomer/control_menu.html
+share/doc/xhomer/display.html
+share/doc/xhomer/emulated_hardware.html
+share/doc/xhomer/floppy_drive.html
+share/doc/xhomer/hard_drive.html
+share/doc/xhomer/index.html
+share/doc/xhomer/lk201_mapping.html
+share/doc/xhomer/performance.html
+share/doc/xhomer/pro_software.html
+share/doc/xhomer/problems.html
+share/doc/xhomer/running.html
+share/doc/xhomer/rx50_floppies.html
+share/doc/xhomer/screen1.gif
+share/doc/xhomer/screen10.gif
+share/doc/xhomer/screen11.gif
+share/doc/xhomer/screen2.gif
+share/doc/xhomer/screen3.gif
+share/doc/xhomer/screen4.gif
+share/doc/xhomer/screen5.gif
+share/doc/xhomer/screen6.gif
+share/doc/xhomer/screen7.gif
+share/doc/xhomer/screen8.gif
+share/doc/xhomer/screen9.gif
+share/doc/xhomer/screen_shots.html
+share/doc/xhomer/serial_devices.html
+share/doc/xhomer/title.gif
+share/doc/xhomer/topics.html
+share/doc/xhomer/xhomer.html
+share/doc/xhomer/xhomer.html.head
+share/doc/xhomer/xhomer.html.middle
+share/doc/xhomer/xhomer.html.tail
+share/examples/xhomer/bat.ram
+share/examples/xhomer/xhomer.cfg
+@dirrm share/examples/xhomer
+@dirrm share/doc/xhomer
diff -r 9a14555c9a7c -r bd8a579d9885 emulators/xhomer/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/xhomer/distinfo Sat Dec 06 12:56:27 2008 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/12/06 12:56:27 obache Exp $
+
+SHA1 (xhomer-9-16-06.tgz) = ebb9762b60121dd9caafd973b8161254fb8bb629
+RMD160 (xhomer-9-16-06.tgz) = 7d6ed8ec8cd0a1b43ed9a87f2835fe53efee73ae
+Size (xhomer-9-16-06.tgz) = 318277 bytes
+SHA1 (patch-aa) = a765656930ca2748766d27bc15008b9d5d49b5e5
diff -r 9a14555c9a7c -r bd8a579d9885 emulators/xhomer/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/xhomer/patches/patch-aa Sat Dec 06 12:56:27 2008 +0000
@@ -0,0 +1,36 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/12/06 12:56:27 obache Exp $
+
+--- Makefile.orig      2004-02-08 22:37:24.000000000 +0000
++++ Makefile
+@@ -115,17 +115,17 @@ PRO_VERSION = `cat VERSION`
+ # C-Compiler configuration
+ 
+ # All the rest of the flags in this section assume gcc
+-CC=gcc -Wall
++#CC=gcc -Wall
+ # -Wchar-subscripts -W -Wshadow -Wconversion
+ # -Wtraditional -Wstrict-prototypes
+ 
+ # This prevents "undesirable excess precision" on some machines, says gcc
+-CC += -ffloat-store
++#CC += -ffloat-store
+ 
+ # The 1st choice runs about 15% slower than the 2nd (-O3 -fomit-frame-pointer).
+ # but it (re)compiles faster and unlike the second choice, it is debuggable.
+ # CC += -g -O -fno-inline
+-CC += -O3 -Winline -fomit-frame-pointer
++#CC += -O3 -Winline -fomit-frame-pointer
+ 
+ # Some older gcc's need this on i386 to work around a bug.  As long as
+ # omit-frame-pointer is also set, it doesn't seem to hurt performance, so
+@@ -184,8 +184,8 @@ ifeq ($(PRO),Y)
+ 
+   # Try this as the default place for X11 stuff and ncurses
+ 
+-  CCINCS = -I$(X11DIR)/include -I/usr/X11/include -I$(NCURSESINC)
+-  CCLIBS = -L$(X11DIR)/lib     -L/usr/X11/lib     -L$(NCURSESLIB)
++  CCINCS = $(CFLAGS)
++  CCLIBS = $(LDFLAGS)
+ 
+   # But some vendors put things in non-standard places
+ 



Home | Main Index | Thread Index | Old Index