aboutsummaryrefslogtreecommitdiff
path: root/emulators/minivmac
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-11-13 19:22:30 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-11-13 19:22:30 +0000
commit18cf29fea730d98de3b995869d189511b0d3d4b8 (patch)
tree3512973976aa6b84036ab10f64add008a4a5fd76 /emulators/minivmac
parent7618128fa0eb1fd3c6174acca24f2fe2e0951106 (diff)
downloadports-18cf29fea730d98de3b995869d189511b0d3d4b8.tar.gz
ports-18cf29fea730d98de3b995869d189511b0d3d4b8.zip
Notes
Diffstat (limited to 'emulators/minivmac')
-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
6 files changed, 70 insertions, 0 deletions
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