aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/mastergear
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-02-21 16:05:55 +0800
committerahze <ahze@FreeBSD.org>2005-02-21 16:05:55 +0800
commitd0c39fcb2593d22c5944192f9548e18775d18f66 (patch)
tree5dc99076fb3d19e57c098aa98d74a3031180ada7 /emulators/mastergear
parent11e0537ded47e8efa73f61b70f4808539a742862 (diff)
downloadfreebsd-ports-gnome-d0c39fcb2593d22c5944192f9548e18775d18f66.tar.gz
freebsd-ports-gnome-d0c39fcb2593d22c5944192f9548e18775d18f66.tar.zst
freebsd-ports-gnome-d0c39fcb2593d22c5944192f9548e18775d18f66.zip
- 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/mastergear')
-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 38ebe3ed0aec..183adbab0a4d 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 32173da6bc7d..618bf5799e86 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 93f1f7b9ff6f..df2129a58400 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%%