From 7bd0044862247cbd8ce5a0f278bda26a92063b9a Mon Sep 17 00:00:00 2001 From: kei Date: Tue, 15 Oct 2002 12:39:12 +0000 Subject: initial import of Mini vMac 0.1.7 into the NetBSD packages collection. Mini vMac is a minor spin off of the program vMac. Its goal is to provide the simplest usable emulation of a Macintosh, instead of the fastest or most usable emulation. It can serve as a programmers introduction to vMac, having only about one tenth as much source code. --- emulators/minivmac/DESCR | 4 ++++ emulators/minivmac/Makefile | 30 ++++++++++++++++++++++++++++++ emulators/minivmac/PLIST | 12 ++++++++++++ emulators/minivmac/distinfo | 5 +++++ emulators/minivmac/patches/patch-aa | 25 +++++++++++++++++++++++++ 5 files changed, 76 insertions(+) create mode 100644 emulators/minivmac/DESCR create mode 100644 emulators/minivmac/Makefile create mode 100644 emulators/minivmac/PLIST create mode 100644 emulators/minivmac/distinfo create mode 100644 emulators/minivmac/patches/patch-aa (limited to 'emulators') diff --git a/emulators/minivmac/DESCR b/emulators/minivmac/DESCR new file mode 100644 index 00000000000..3c33bc3d85e --- /dev/null +++ b/emulators/minivmac/DESCR @@ -0,0 +1,4 @@ +Mini vMac is a minor spin off of the program vMac. Its goal is to +provide the simplest usable emulation of a Macintosh, instead of the +fastest or most usable emulation. It can serve as a programmers +introduction to vMac, having only about one tenth as much source code. diff --git a/emulators/minivmac/Makefile b/emulators/minivmac/Makefile new file mode 100644 index 00000000000..212472d319b --- /dev/null +++ b/emulators/minivmac/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/10/15 12:39:12 kei Exp $ + +DISTNAME= minivmac-0.1.7.src +PKGNAME= minivmac-0.1.7 +CATEGORIES= emulators +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=minivmac/} +EXTRACT_SUFX= .tgz + +MAINTAINER= kei@netbsd.org +HOMEPAGE= http://www.gryphel.com/c/minivmac/ +COMMENT= miniature Macintosh emulator + +WRKSRC= ${WRKDIR}/minivmac + +USE_X11BASE= YES + +SCRIPTS_ENV+= CC="${CC}" + +DOCDIR= ${PREFIX}/share/doc/html/minivmac + +do-build: + cd ${WRKSRC}/tool/bash; \ + ${SETENV} ${SCRIPTS_ENV} ${SHELL} build + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/drv/minivmac ${PREFIX}/bin; \ + ${INSTALL_DATA_DIR} ${DOCDIR}; \ + ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCDIR} + +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/minivmac/PLIST b/emulators/minivmac/PLIST new file mode 100644 index 00000000000..2153da09294 --- /dev/null +++ b/emulators/minivmac/PLIST @@ -0,0 +1,12 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/10/15 12:39:12 kei Exp $ +bin/minivmac +share/doc/html/minivmac/about.html +share/doc/html/minivmac/build.html +share/doc/html/minivmac/credits.html +share/doc/html/minivmac/license.html +share/doc/html/minivmac/todo.html +share/doc/html/minivmac/autoquit.html +share/doc/html/minivmac/contents.html +share/doc/html/minivmac/default.html +share/doc/html/minivmac/manual.html +@dirrm share/doc/html/mminivmac diff --git a/emulators/minivmac/distinfo b/emulators/minivmac/distinfo new file mode 100644 index 00000000000..3fb3642e012 --- /dev/null +++ b/emulators/minivmac/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/10/15 12:39:12 kei Exp $ + +SHA1 (minivmac-0.1.7.src.tgz) = 761b56ec9d4dbc2a3b200dd40a9c44b93913e308 +Size (minivmac-0.1.7.src.tgz) = 93155 bytes +SHA1 (patch-aa) = c1f992d7277edb53c88d6b973cfe1046c5633434 diff --git a/emulators/minivmac/patches/patch-aa b/emulators/minivmac/patches/patch-aa new file mode 100644 index 00000000000..aa56bda2f8b --- /dev/null +++ b/emulators/minivmac/patches/patch-aa @@ -0,0 +1,25 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/10/15 12:39:12 kei Exp $ + +--- tool/bash/build.orig Thu Jul 18 03:09:52 2002 ++++ tool/bash/build Mon Oct 14 03:49:09 2002 +@@ -32,17 +32,17 @@ + + # what compiler to use and what options + +-CallC="gcc -c" ++CallC="${CC} -c -I${X11BASE}/include" + CallC="${CallC} -Wall -Wmissing-prototypes -Wstrict-prototypes" + CallC="${CallC} -O3" + + # what linker to use and what options + +-LinkLine="gcc" ++LinkLine="${CC}" + + # what libraries to link with + +-LinkLibs="-L/usr/X11R6/lib -lXext -lX11" ++LinkLibs="-L${X11BASE}/lib -Wl,-R${X11BASE}/lib -lXext -lX11" + + # set this to 1 for more speed if you have a PowerPC computer, + # or other processor with big endian addressing that can -- cgit v1.2.3