aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emulators/mastergear/Makefile20
-rw-r--r--emulators/mastergear/distinfo4
-rw-r--r--emulators/mastergear/pkg-plist7
3 files changed, 22 insertions, 9 deletions
diff --git a/emulators/mastergear/Makefile b/emulators/mastergear/Makefile
index 38ebe3ed0ae..183adbab0a4 100644
--- a/emulators/mastergear/Makefile
+++ b/emulators/mastergear/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= mastergear
-PORTVERSION= 1.5
+PORTVERSION= 2.0
CATEGORIES= emulators
MASTER_SITES= http://fms.komkon.org/MG/
-DISTNAME= MG15-FreeBSD-80x86-bin
+DISTNAME= MG20-FreeBSD-80x86-bin
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
@@ -24,9 +24,19 @@ USE_X_PREFIX= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mg ${PREFIX}/bin
+ @${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/CART.ROM ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/SF7000.ROM ${DATADIR}
.if(!defined(NOPORTDOCS))
- @${MKDIR} ${PREFIX}/share/mastergear
- ${INSTALL_DATA} ${WRKSRC}/MG.html ${PREFIX}/share/mastergear
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/MG.html ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000 || ${OSVERSION} > 600000
+IGNORE= Does not run, wants libc.so.5
+.endif
+
+
+.include <bsd.port.post.mk>
diff --git a/emulators/mastergear/distinfo b/emulators/mastergear/distinfo
index 32173da6bc7..618bf5799e8 100644
--- a/emulators/mastergear/distinfo
+++ b/emulators/mastergear/distinfo
@@ -1,2 +1,2 @@
-MD5 (MG15-FreeBSD-80x86-bin.tar.Z) = f1e03e5678f84010e5d6289c0bad2bbc
-SIZE (MG15-FreeBSD-80x86-bin.tar.Z) = 220439
+MD5 (MG20-FreeBSD-80x86-bin.tar.Z) = 85678687fb43a3635d4ef6f835b59301
+SIZE (MG20-FreeBSD-80x86-bin.tar.Z) = 161635
diff --git a/emulators/mastergear/pkg-plist b/emulators/mastergear/pkg-plist
index 93f1f7b9ff6..df2129a5840 100644
--- a/emulators/mastergear/pkg-plist
+++ b/emulators/mastergear/pkg-plist
@@ -1,3 +1,6 @@
bin/mg
-share/mastergear/MG.html
-@dirrm share/mastergear
+%%DATADIR%%/CART.ROM
+%%DATADIR%%/SF7000.ROM
+%%PORTDOCS%%%%DOCSDIR%%/MG.html
+@dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%