summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emulators/Makefile1
-rw-r--r--emulators/xmamegui/Makefile40
-rw-r--r--emulators/xmamegui/distinfo3
-rw-r--r--emulators/xmamegui/pkg-descr11
-rw-r--r--emulators/xmamegui/pkg-message10
-rw-r--r--emulators/xmamegui/pkg-plist8
6 files changed, 73 insertions, 0 deletions
diff --git a/emulators/Makefile b/emulators/Makefile
index df5df83..50796f9 100644
--- a/emulators/Makefile
+++ b/emulators/Makefile
@@ -157,6 +157,7 @@
SUBDIR += xgs
SUBDIR += xhomer
SUBDIR += xmame
+ SUBDIR += xmamegui
SUBDIR += xmess
SUBDIR += xsystem35
SUBDIR += xzx
diff --git a/emulators/xmamegui/Makefile b/emulators/xmamegui/Makefile
new file mode 100644
index 0000000..9f8d9e9
--- /dev/null
+++ b/emulators/xmamegui/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: xmamegui
+# Date created: 2007-02-25
+# Whom: alepulver
+#
+# $FreeBSD$
+#
+
+PORTNAME= xmamegui
+DISTVERSION= 0.9-1
+CATEGORIES= emulators java
+MASTER_SITES= http://www.parallelrealities.co.uk/download.php?type=zip&file=
+
+MAINTAINER= alepulver@FreeBSD.org
+COMMENT= SDLMAME frontend that has been written using Java
+
+FETCH_BEFORE_ARGS+= -o ${DISTNAME}${EXTRACT_SUFX}
+
+USE_JAVA= yes
+JAVA_VERSION= 1.5+
+NO_WRKSUBDIR= yes
+
+DATADIR= ${JAVASHAREDIR}/${PORTNAME}
+
+do-build:
+ @(${ECHO_CMD} "#!${SH}"; \
+ ${ECHO_CMD} 'exec ${JAVA} -jar ${DATADIR}/${PORTNAME}.jar "$$@"') \
+ > ${WRKSRC}/${PORTNAME}
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${MKDIR} ${DATADIR}/lib
+ ${INSTALL_DATA} ${WRKSRC}/XMAMEGUI.jar ${DATADIR}/${PORTNAME}.jar
+ ${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${DATADIR}/lib
+
+post-install:
+ @${ECHO_CMD}
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_CMD}
+
+.include <bsd.port.mk>
diff --git a/emulators/xmamegui/distinfo b/emulators/xmamegui/distinfo
new file mode 100644
index 0000000..727e13d
--- /dev/null
+++ b/emulators/xmamegui/distinfo
@@ -0,0 +1,3 @@
+MD5 (xmamegui-0.9-1.tar.gz) = 55c027aa68eaf20bcaf18f6133bcda58
+SHA256 (xmamegui-0.9-1.tar.gz) = fcae155072d1fe6a72ded4eca04dd872106091c9d48b6b858642027404d86356
+SIZE (xmamegui-0.9-1.tar.gz) = 4781973
diff --git a/emulators/xmamegui/pkg-descr b/emulators/xmamegui/pkg-descr
new file mode 100644
index 0000000..3d272a8
--- /dev/null
+++ b/emulators/xmamegui/pkg-descr
@@ -0,0 +1,11 @@
+XMAME GUI is an SDLMAME frontend that has been written using Java.
+
+It has the following features:
+
+- Preview Screenshot.
+- Game List built from available ROMs.
+- ROM status verification.
+- Capture window for XMAME output detail.
+- Random Game feature to start a random (working) game.
+
+WWW: http://www.parallelrealities.co.uk/xmamegui.php
diff --git a/emulators/xmamegui/pkg-message b/emulators/xmamegui/pkg-message
new file mode 100644
index 0000000..599f951
--- /dev/null
+++ b/emulators/xmamegui/pkg-message
@@ -0,0 +1,10 @@
+==============================================================================
+
+XMAMEGUI has been installed.
+
+When you start it and asks for the "Screenshot Path" directory make sure it is
+writable by you, since by default it will automatically download game preview
+images to there. For example "~/.parallelrealities/xmamegui/prv" could be used
+(note that it has to be created manually).
+
+==============================================================================
diff --git a/emulators/xmamegui/pkg-plist b/emulators/xmamegui/pkg-plist
new file mode 100644
index 0000000..2a84fa2d
--- /dev/null
+++ b/emulators/xmamegui/pkg-plist
@@ -0,0 +1,8 @@
+bin/xmamegui
+%%DATADIR%%/lib/xalan.jar
+%%DATADIR%%/lib/xerces.jar
+%%DATADIR%%/lib/xercesImpl.jar
+%%DATADIR%%/lib/xml-apis.jar
+%%DATADIR%%/xmamegui.jar
+@dirrm %%DATADIR%%/lib
+@dirrm %%DATADIR%%
OpenPOWER on IntegriCloud