aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-11-14 03:22:30 +0800
committerlioux <lioux@FreeBSD.org>2002-11-14 03:22:30 +0800
commit3b88798045a760d82384b9e59d248d7227c0b86e (patch)
tree772b0e033ae05ec796fdb0e89ba407d6be85c770 /emulators
parent4017a41ed166d56f6acf9d80501b76bc10204990 (diff)
downloadfreebsd-ports-gnome-3b88798045a760d82384b9e59d248d7227c0b86e.tar.gz
freebsd-ports-gnome-3b88798045a760d82384b9e59d248d7227c0b86e.tar.zst
freebsd-ports-gnome-3b88798045a760d82384b9e59d248d7227c0b86e.zip
New port minivmac version 0.1.7: A miniature Macintosh emulator
Submitted by: blackend
Diffstat (limited to 'emulators')
-rw-r--r--emulators/Makefile1
-rw-r--r--emulators/minivmac/Makefile42
-rw-r--r--emulators/minivmac/distinfo1
-rw-r--r--emulators/minivmac/pkg-comment1
-rw-r--r--emulators/minivmac/pkg-descr9
-rw-r--r--emulators/minivmac/pkg-message6
-rw-r--r--emulators/minivmac/pkg-plist11
7 files changed, 71 insertions, 0 deletions
diff --git a/emulators/Makefile b/emulators/Makefile
index 7d66f7de6788..cf1c71555a32 100644
--- a/emulators/Makefile
+++ b/emulators/Makefile
@@ -35,6 +35,7 @@
SUBDIR += linux_base
SUBDIR += linux_base-6
SUBDIR += mastergear
+ SUBDIR += minivmac
SUBDIR += mtools
SUBDIR += osf1_base
SUBDIR += p-interp
diff --git a/emulators/minivmac/Makefile b/emulators/minivmac/Makefile
new file mode 100644
index 000000000000..2f043f2c06bf
--- /dev/null
+++ b/emulators/minivmac/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: minivmac
+# Date created: 9 November 2002
+# Whom: Marc Fonvieille <blackend@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= minivmac
+PORTVERSION= 0.1.7
+CATEGORIES= emulators
+MASTER_SITES= http://www.gryphel.com/c/download/ \
+ ${MASTER_SITE_SOURCEFORGE:S/%SUBDIR%/minivmac/}
+DISTNAME= ${PORTNAME}-${PORTVERSION}.src
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= blackend@FreeBSD.org
+
+USE_REINPLACE= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+post-patch:
+# CC,CFLAGS,LD safeness
+# X11 base safeness
+ @${REINPLACE_CMD} -E -e 's,cc,${CC} ${CFLAGS} -I${X11BASE}/include,; \
+ s,^(LinkLine).*$$,\1="${CC}",; \
+ s,/usr/X11R6,${X11BASE},' \
+ ${WRKSRC}/tool/bash/build
+
+do-build:
+ @cd ${WRKSRC}/tool/bash && ${SH} build
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/drv/minivmac ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/minivmac
+ @${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/minivmac
+.endif
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/emulators/minivmac/distinfo b/emulators/minivmac/distinfo
new file mode 100644
index 000000000000..5c2fe7771883
--- /dev/null
+++ b/emulators/minivmac/distinfo
@@ -0,0 +1 @@
+MD5 (minivmac-0.1.7.src.tgz) = d2116ea5243389e191f48f75572f8532
diff --git a/emulators/minivmac/pkg-comment b/emulators/minivmac/pkg-comment
new file mode 100644
index 000000000000..08571d44ef04
--- /dev/null
+++ b/emulators/minivmac/pkg-comment
@@ -0,0 +1 @@
+A miniature Macintosh emulator
diff --git a/emulators/minivmac/pkg-descr b/emulators/minivmac/pkg-descr
new file mode 100644
index 000000000000..43005c575162
--- /dev/null
+++ b/emulators/minivmac/pkg-descr
@@ -0,0 +1,9 @@
+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.
+
+Mini vMac, like vMac, emulates an Apple Macintosh Plus(tm).
+
+WWW: http://www.gryphel.com/c/minivmac/
diff --git a/emulators/minivmac/pkg-message b/emulators/minivmac/pkg-message
new file mode 100644
index 000000000000..3053b298e1de
--- /dev/null
+++ b/emulators/minivmac/pkg-message
@@ -0,0 +1,6 @@
+ - ----------------------------------------------------------------- -
+ - -
+ - You need to obtain a Mac Plus ROM file to use Mini vMac. -
+ - Instructions can be found on vMac Website: http://www.vmac.org/ -
+ - -
+ - ----------------------------------------------------------------- -
diff --git a/emulators/minivmac/pkg-plist b/emulators/minivmac/pkg-plist
new file mode 100644
index 000000000000..a76396b9e1ae
--- /dev/null
+++ b/emulators/minivmac/pkg-plist
@@ -0,0 +1,11 @@
+bin/minivmac
+%%PORTDOCS%%share/doc/minivmac/about.html
+%%PORTDOCS%%share/doc/minivmac/autoquit.html
+%%PORTDOCS%%share/doc/minivmac/build.html
+%%PORTDOCS%%share/doc/minivmac/contents.html
+%%PORTDOCS%%share/doc/minivmac/credits.html
+%%PORTDOCS%%share/doc/minivmac/default.html
+%%PORTDOCS%%share/doc/minivmac/license.html
+%%PORTDOCS%%share/doc/minivmac/manual.html
+%%PORTDOCS%%share/doc/minivmac/todo.html
+%%PORTDOCS%%@dirrm share/doc/minivmac