summaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
Diffstat (limited to 'emulators')
-rw-r--r--emulators/gxmame/Makefile46
-rw-r--r--emulators/gxmame/distinfo3
-rw-r--r--emulators/gxmame/pkg-descr7
-rw-r--r--emulators/gxmame/pkg-plist37
4 files changed, 93 insertions, 0 deletions
diff --git a/emulators/gxmame/Makefile b/emulators/gxmame/Makefile
new file mode 100644
index 000000000..6064e3a97
--- /dev/null
+++ b/emulators/gxmame/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: gxmame
+# Date created: 04 Oct 2003
+# Whom: Travis Poppe <tlp@liquidx.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gxmame
+DISTVERSION= 0.35beta2
+PORTREVISION= 4
+PORTEPOCH= 1
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}-${DISTVERSION}
+
+MAINTAINER= flynn@energyhq.es.eu.org
+COMMENT= GXmame is a GTK frontend for xmame
+
+LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
+RUN_DEPENDS= xmame:${PORTSDIR}/emulators/xmame
+
+USE_XLIB= yes
+USE_GNOME= gtk20 intlhack gnomehack gnomeprefix
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+
+CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --with-xmame-dir=${LOCALBASE}/share/xmame
+
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
+PLIST_SUB+= NLS=""
+.endif
+
+MAN6= gxmame.6
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|CFLAGS="-Wall.*||' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|$$(datadir)/doc|${PREFIX}/share/doc|' \
+ ${WRKSRC}/Makefile.in ${WRKSRC}/html/Makefile.in
+ @${REINPLACE_CMD} -e 's|__GNUC___|__GNUC__|' ${WRKSRC}/src/common.h
+
+.include <bsd.port.mk>
diff --git a/emulators/gxmame/distinfo b/emulators/gxmame/distinfo
new file mode 100644
index 000000000..4def76e6b
--- /dev/null
+++ b/emulators/gxmame/distinfo
@@ -0,0 +1,3 @@
+MD5 (gxmame-0.35beta2.tar.gz) = 2ef166272fe2d6b0dfe51dd1616a851c
+SHA256 (gxmame-0.35beta2.tar.gz) = 6d0339bf334f40ff0b972cf5c4df14660c48a2f0bce10f23d6a0feb3d5c83622
+SIZE (gxmame-0.35beta2.tar.gz) = 697013
diff --git a/emulators/gxmame/pkg-descr b/emulators/gxmame/pkg-descr
new file mode 100644
index 000000000..2960edaec
--- /dev/null
+++ b/emulators/gxmame/pkg-descr
@@ -0,0 +1,7 @@
+GXMame is a GTK frontend for xmame. Its goal is to provide an interface
+much like that of MAME32.
+
+WWW: http://gxmame.sourceforge.net
+
+- Travis Poppe
+tlp@liquidx.org
diff --git a/emulators/gxmame/pkg-plist b/emulators/gxmame/pkg-plist
new file mode 100644
index 000000000..7fff5c9f4
--- /dev/null
+++ b/emulators/gxmame/pkg-plist
@@ -0,0 +1,37 @@
+bin/gxmame
+share/gnome/applications/gxmame.desktop
+%%NLS%%share/locale/de/LC_MESSAGES/gxmame.mo
+%%NLS%%share/locale/el/LC_MESSAGES/gxmame.mo
+%%NLS%%share/locale/es/LC_MESSAGES/gxmame.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/gxmame.mo
+%%NLS%%share/locale/it/LC_MESSAGES/gxmame.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/gxmame.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/gxmame.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/gxmame.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/gxmame.mo
+share/gnome/gxmame/gxmame.png
+share/gnome/gxmame/gxmame-general.png
+share/gnome/gxmame/gxmame-screen.png
+share/gnome/pixmaps/gxmame.png
+share/gnome/pixmaps/gxmame.xpm
+share/doc/gxmame/AUTHORS
+share/doc/gxmame/BUGS
+share/doc/gxmame/COPYING
+share/doc/gxmame/ChangeLog
+share/doc/gxmame/NEWS
+share/doc/gxmame/README
+share/doc/gxmame/TODO
+share/doc/gxmame/html/gui/metal2.jpg
+share/doc/gxmame/html/gxmame-doc-1.html
+share/doc/gxmame/html/gxmame-doc-2.html
+share/doc/gxmame/html/gxmame-doc-3.html
+share/doc/gxmame/html/gxmame-doc-4.html
+share/doc/gxmame/html/gxmame-doc-5.html
+share/doc/gxmame/html/gxmame-doc-6.html
+share/doc/gxmame/html/gxmame-doc.html
+share/doc/gxmame/html/includes/gxmame.css
+@dirrm share/gnome/gxmame
+@dirrm share/doc/gxmame/html/gui
+@dirrm share/doc/gxmame/html/includes
+@dirrm share/doc/gxmame/html
+@dirrm share/doc/gxmame