pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/aliados Import aliados from pkgsrc-wip. Pac...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/39fed7c83fe6
branches:  trunk
changeset: 483192:39fed7c83fe6
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Tue Nov 09 05:47:28 2004 +0000

description:
Import aliados from pkgsrc-wip.  Packaged by ivaniclixx at gmail dot com,
and modified by Roland Illig and me.

Aliados is a CP/M 80 emulator that instead of emulate a machine and
run some variant of CP/M on it, emulates only the microprocessor and
captures all CP/M system calls to execute it natively.  Actually only
emulates a small part of CP/M, but with that already can execute many
programs, such as WordStar, Micrsoft Basic, Mallard Basic, Hi-Tech C,
Turbo Pascal and many others.  Aliados does not need to create disk
images, it reads and writes in the native filesystem all files that
match the CP/M name conventions.

diffstat:

 emulators/aliados/DESCR            |    8 ++
 emulators/aliados/Makefile         |   26 ++++++++
 emulators/aliados/PLIST            |    2 +
 emulators/aliados/distinfo         |    5 +
 emulators/aliados/patches/patch-aa |  115 +++++++++++++++++++++++++++++++++++++
 5 files changed, 156 insertions(+), 0 deletions(-)

diffs (176 lines):

diff -r a050a767c8f4 -r 39fed7c83fe6 emulators/aliados/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/aliados/DESCR   Tue Nov 09 05:47:28 2004 +0000
@@ -0,0 +1,8 @@
+Aliados is a CP/M 80 emulator that instead of emulate a machine and
+run some variant of CP/M on it, emulates only the microprocessor and
+captures all CP/M system calls to execute it natively.  Actually only
+emulates a small part of CP/M, but with that already can execute many
+programs, such as WordStar, Micrsoft Basic, Mallard Basic, Hi-Tech C,
+Turbo Pascal and many others.  Aliados does not need to create disk
+images, it reads and writes in the native filesystem all files that
+match the CP/M name conventions.
diff -r a050a767c8f4 -r 39fed7c83fe6 emulators/aliados/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/aliados/Makefile        Tue Nov 09 05:47:28 2004 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/09 05:47:28 minskim Exp $
+#
+
+DISTNAME=              aliados-0.1.1
+CATEGORIES=            emulators
+MASTER_SITES=          http://www.arrakis.es/~ninsesabe/aliados/
+EXTRACT_SUFX=          .tgz
+
+MAINTAINER=            ivaniclixx%gmail.com@localhost
+HOMEPAGE=              http://www.arrakis.es/~ninsesabe/aliados/
+COMMENT=               CP/M 80 emulator
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_BUILDLINK3=                YES
+NO_CONFIGURE=          YES
+USE_LANGUAGES=         c++
+USE_NCURSES=           # tigetstr tparm setupterm
+
+INSTALLATION_DIRS=     bin
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/aliados ${PREFIX}/bin/
+
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r a050a767c8f4 -r 39fed7c83fe6 emulators/aliados/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/aliados/PLIST   Tue Nov 09 05:47:28 2004 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/09 05:47:28 minskim Exp $
+bin/aliados
diff -r a050a767c8f4 -r 39fed7c83fe6 emulators/aliados/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/aliados/distinfo        Tue Nov 09 05:47:28 2004 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/11/09 05:47:28 minskim Exp $
+
+SHA1 (aliados-0.1.1.tgz) = adcc43f7bafc2ee11222002d03f306e8f561e3f6
+Size (aliados-0.1.1.tgz) = 50210 bytes
+SHA1 (patch-aa) = 2347332c491796a6df2468c6c814fbf9ffa04a8d
diff -r a050a767c8f4 -r 39fed7c83fe6 emulators/aliados/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/aliados/patches/patch-aa        Tue Nov 09 05:47:28 2004 +0000
@@ -0,0 +1,115 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/11/09 05:47:28 minskim Exp $
+
+--- Makefile.orig      2004-03-20 13:31:28.000000000 -0600
++++ Makefile
+@@ -1,16 +1,17 @@
+ # Makefile para aliados
+ 
+ # Path to ncurses required in hp-ux.
+-CPPFLAGS=-W -Wall -I/opt/ncurses/include
++#CPPFLAGS=-W -Wall -I/opt/ncurses/include
++CPPFLAGS+=    ${CXXFLAGS}
+ 
+ # To compile with console emulation using curses.
+-LDFLAGS=-lncurses -L/opt/ncurses/lib
++LDFLAGS+="-lncurses"
+ 
+ # To compile without console emulation.
+ #LDFLAGS=
+ #CURSESFLAGS=-DNO_CURSES
+ 
+-all: aliados disassemble
++all: aliados
+ 
+ # If you want to build the versions with and without libz80 at the same time.
+ 
+@@ -21,17 +22,17 @@ both: aliados aliadoslz disassemble
+ #------------------------------------------------
+ 
+ aliadoslz: aliadoslz.o cpmlz.o realconsole.o cpuz.o directory.o
+-      g++ $(CPPFLAGS) $(LDFLAGS) -o aliadoslz -lz80 \
++      $(CXX) $(CPPFLAGS) $(LDFLAGS) -o aliadoslz -lz80 \
+               aliadoslz.o cpmlz.o realconsole.o cpuz.o directory.o printer.o
+ 
+ aliadoslz.o: aliados.cpp cpm.h console.h realconsole.h printer.h
+-      g++ $(CPPFLAGS) -o aliadoslz.o -c aliados.cpp
++      $(CXX) $(CPPFLAGS) -o aliadoslz.o -c aliados.cpp
+ 
+ cpmlz.o: cpm.cpp cpm.h cpu.h console.h directory.h printer.h
+-      g++ $(CPPFLAGS) -o cpmlz.o -c cpm.cpp
++      $(CXX) $(CPPFLAGS) -o cpmlz.o -c cpm.cpp
+ 
+ cpuz.o: cpu.cpp cpu.h
+-      g++ $(CPPFLAGS) -o cpuz.o -c cpu.cpp
++      $(CXX) $(CPPFLAGS) -o cpuz.o -c cpu.cpp
+ 
+ #------------------------------------------------
+ #     Version using  ImcZ80.
+@@ -41,7 +42,7 @@ cpuz.o: cpu.cpp cpu.h
+ 
+ # Uncomment this if you compile with ImcZ80 and with libz80.
+ #aliados: aliados.o cpm.o Z80.o realconsole.o cpu.o
+-#     g++ $(CPPFLAGS) $(LDFLAGS) -o aliados \
++#     $(CXX) $(CPPFLAGS) $(LDFLAGS) -o aliados \
+ #             aliados.o cpm.o realconsole.o Z80.o cpu.o \
+ #             directory.o printer.o \
+ #             -lz80
+@@ -50,47 +51,47 @@ cpuz.o: cpu.cpp cpu.h
+ aliados: aliados.o cpm.o Z80.o realconsole.o cpu.o disasm.o \
+               directory.o printer.o
+ 
+-      g++ $(CPPFLAGS) -o aliados \
++      $(CXX) $(CPPFLAGS) -o aliados \
+               aliados.o cpm.o realconsole.o Z80.o cpu.o \
+               disasm.o directory.o printer.o \
+               $(LDFLAGS)
+ 
+ aliados.o: aliados.cpp cpm.h console.h realconsole.h printer.h
+-      g++ $(CPPFLAGS) -DUSE_ImcZ80 -c aliados.cpp
++      $(CXX) $(CPPFLAGS) -DUSE_ImcZ80 -c aliados.cpp
+ 
+ cpm.o: cpm.cpp cpm.h cpu.h console.h Z80.hxx directory.h printer.h
+-      g++ $(CPPFLAGS) -DUSE_ImcZ80 -c cpm.cpp
++      $(CXX) $(CPPFLAGS) -DUSE_ImcZ80 -c cpm.cpp
+ 
+ cpu.o: cpu.cpp cpu.h Z80.hxx disasm.h
+-      g++ $(CPPFLAGS) -DUSE_ImcZ80 -c cpu.cpp
++      $(CXX) $(CPPFLAGS) -DUSE_ImcZ80 -c cpu.cpp
+ 
+ Z80.o: Z80.cxx Z80.hxx z80ops.hxx cbops.hxx edops.hxx
+-      g++ -c Z80.cxx
++      $(CXX) -c Z80.cxx
+ 
+ #------------------------------------------------
+ #     Common to all versions.
+ #------------------------------------------------
+ 
+ realconsole.o: realconsole.cpp realconsole.h console.h
+-      g++ $(CPPFLAGS) $(CURSESFLAGS) -c realconsole.cpp
++      $(CXX) $(CPPFLAGS) $(CURSESFLAGS) -c realconsole.cpp
+ 
+ disasm.o: disasm.cpp disasm.h cpu.h
+-      g++ $(CPPFLAGS) -c disasm.cpp
++      $(CXX) $(CPPFLAGS) -c disasm.cpp
+ 
+ directory.o: directory.cpp directory.h
+-      g++ $(CPPFLAGS) -c directory.cpp
++      $(CXX) $(CPPFLAGS) -c directory.cpp
+ 
+ printer.o: printer.cpp printer.h
+-      g++ $(CPPFLAGS) -c printer.cpp
++      $(CXX) $(CPPFLAGS) -c printer.cpp
+ 
+ # disassemble is a tiny disassembler that uses the disassemble code
+ # of the debugger. Works correctly only with .COM files.
+ 
+ disassemble.o: disassemble.cpp cpu.h disasm.h Z80.hxx
+-      g++ $(CPPFLAGS) -c disassemble.cpp
++      $(CXX) $(CPPFLAGS) -c disassemble.cpp
+ 
+ disassemble: disassemble.o cpu.o disasm.o Z80.o
+-      g++ $(CPPFLAGS) -o disassemble disassemble.o cpu.o disasm.o Z80.o
++      $(CXX) $(CPPFLAGS) -o disassemble disassemble.o cpu.o disasm.o Z80.o
+ 
+ tgz:
+       tar cf - Makefile *.cpp *.h *.cxx *.hxx \



Home | Main Index | Thread Index | Old Index