summaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-02-21 08:05:55 +0000
committerahze <ahze@FreeBSD.org>2005-02-21 08:05:55 +0000
commitd0c39fcb2593d22c5944192f9548e18775d18f66 (patch)
tree5dc99076fb3d19e57c098aa98d74a3031180ada7 /emulators
parent11e0537ded47e8efa73f61b70f4808539a742862 (diff)
downloadFreeBSD-ports-d0c39fcb2593d22c5944192f9548e18775d18f66.zip
FreeBSD-ports-d0c39fcb2593d22c5944192f9548e18775d18f66.tar.gz
- Update to 2.0
- Mark IGNORE on 4.x and 6.x since it wants libc.so.5 PR: ports/77832 Submitted by: Sam Lawrance <boris@booknet.com.au>
Diffstat (limited to 'emulators')
-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 38ebe3e..183adba 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 32173da..618bf57 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 93f1f7b..df2129a 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%%
OpenPOWER on IntegriCloud