summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/prodosemu/Makefile18
-rw-r--r--emulators/prodosemu/files/patch-ac9
2 files changed, 17 insertions, 10 deletions
diff --git a/emulators/prodosemu/Makefile b/emulators/prodosemu/Makefile
index 523e16185f17..60a99100273d 100644
--- a/emulators/prodosemu/Makefile
+++ b/emulators/prodosemu/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: prodosemu
-# Date created: 18th February 1997
-# Whom: Joel Sutton <sutton@aardvark.apana.org.au>
-#
+# Created by: Joel Sutton <sutton@aardvark.apana.org.au>
# $FreeBSD$
-#
PORTNAME= prodosemu
PORTVERSION= 0.1
@@ -12,20 +8,22 @@ MASTER_SITES= http://mirrors.apple2.org.za/apple2.caltech.edu/emulators/
DISTNAME= ${PORTNAME}.v${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-COMMENT= A text based Apple IIe ProDOS emulator
+COMMENT= Text based Apple IIe ProDOS emulator
RESTRICTED= apple.rom copyright is owned by Apple and cannot be distributed.
+
WRKSRC= ${WRKDIR}/${PORTNAME}-v${PORTVERSION}
+MAKE_JOBS_SAFE= yes
+
+PORTDOCS= README
PLIST_FILES= bin/prodos share/apple2/prodos-2e.rom
PLIST_DIRS= share/apple2
-.if !defined(NOPORTDOCS)
-PORTDOCS= README
-.endif
+.include <bsd.port.options.mk>
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
diff --git a/emulators/prodosemu/files/patch-ac b/emulators/prodosemu/files/patch-ac
index ad709da0ae7f..c542e4154758 100644
--- a/emulators/prodosemu/files/patch-ac
+++ b/emulators/prodosemu/files/patch-ac
@@ -12,3 +12,12 @@
extern char prodosroot[];
+@@ -24,7 +28,7 @@
+ exit (1);
+ }
+
+-void main (int argc,char **argv)
++int main (int argc,char **argv)
+ {
+ short int byte;
+ int i, addr; /* Loop iterators */ \ No newline at end of file