aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/yabause
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2011-06-25 09:42:16 +0800
committeracm <acm@FreeBSD.org>2011-06-25 09:42:16 +0800
commit52b2982c5ba44c09da9631a0fb1ef74482416d97 (patch)
treebd67f1a6f301d13fb1d35fcb498ff5cd71f8930b /emulators/yabause
parent4d765be215be3dbba3baa015470ad3adee218897 (diff)
downloadfreebsd-ports-gnome-52b2982c5ba44c09da9631a0fb1ef74482416d97.tar.gz
freebsd-ports-gnome-52b2982c5ba44c09da9631a0fb1ef74482416d97.tar.zst
freebsd-ports-gnome-52b2982c5ba44c09da9631a0fb1ef74482416d97.zip
- Update to 0.9.10
- Add QT4 option for build emulator with qt4 interface instead of gtk2
Diffstat (limited to 'emulators/yabause')
-rw-r--r--emulators/yabause/Makefile24
-rw-r--r--emulators/yabause/distinfo5
-rw-r--r--emulators/yabause/files/patch-src-gtk_Makefile.in10
-rw-r--r--emulators/yabause/files/patch-src-qt_Makefile.in10
-rw-r--r--emulators/yabause/pkg-plist14
5 files changed, 52 insertions, 11 deletions
diff --git a/emulators/yabause/Makefile b/emulators/yabause/Makefile
index 2e3b17d5adaf..f2165a334ad7 100644
--- a/emulators/yabause/Makefile
+++ b/emulators/yabause/Makefile
@@ -6,25 +6,39 @@
#
PORTNAME= yabause
-PORTVERSION= 0.9.4
-PORTREVISION= 5
+PORTVERSION= 0.9.10
CATEGORIES= emulators
MASTER_SITES= SF
MAINTAINER= acm@FreeBSD.org
COMMENT= Sega Saturn system emulator
-LIB_DEPENDS= gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext
+LIB_DEPENDS= gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext \
GNU_CONFIGURE= yes
USE_GMAKE= yes
+USE_GL= gl glu glut
+USE_GNOME= #
+USE_OPENAL= soft
+USE_QT_VER= 4
USE_SDL= yes
-USE_AUTOTOOLS= automake aclocal autoconf
SUB_FILES= pkg-message
MAN1= yabause.1
+OPTIONS= QT4 "Build wit qt4 interface instead of gtk2 one" on
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_QT4)
+QT_COMPONENTS= corelib gui opengl
+CONFIGURE_ARGS+= --with-port=qt
+.else
+USE_GNOME= gtk20
+CONFIGURE_ARGS+= --with-port=gtk
+.endif
+
post-install:
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/emulators/yabause/distinfo b/emulators/yabause/distinfo
index 84bd3dace644..7f058f5cde87 100644
--- a/emulators/yabause/distinfo
+++ b/emulators/yabause/distinfo
@@ -1,3 +1,2 @@
-MD5 (yabause-0.9.4.tar.gz) = 99380861d7c4acc2fd7dde5a1bb7095c
-SHA256 (yabause-0.9.4.tar.gz) = af8d31ad90172f591592714d9f1274b7a3ce99212d1241148d358a8b5b5d0551
-SIZE (yabause-0.9.4.tar.gz) = 736331
+SHA256 (yabause-0.9.10.tar.gz) = 2f15ea32d4d1226fd1bebf6b107ae9faa71fe230608f01a5b0105c2b2faa78be
+SIZE (yabause-0.9.10.tar.gz) = 1376089
diff --git a/emulators/yabause/files/patch-src-gtk_Makefile.in b/emulators/yabause/files/patch-src-gtk_Makefile.in
new file mode 100644
index 000000000000..c6ca2c4d5f41
--- /dev/null
+++ b/emulators/yabause/files/patch-src-gtk_Makefile.in
@@ -0,0 +1,10 @@
+--- src/gtk/Makefile.in 2011-06-24 19:03:30.000000000 -0500
++++ src/gtk/Makefile.in 2011-06-24 19:03:40.000000000 -0500
+@@ -900,7 +900,6 @@
+
+ install-data-am: install-ApplicationsDATA install-pixmapDATA
+ @$(NORMAL_INSTALL)
+- $(MAKE) $(AM_MAKEFLAGS) install-data-hook
+
+ install-dvi: install-dvi-recursive
+
diff --git a/emulators/yabause/files/patch-src-qt_Makefile.in b/emulators/yabause/files/patch-src-qt_Makefile.in
new file mode 100644
index 000000000000..cc9753230bc7
--- /dev/null
+++ b/emulators/yabause/files/patch-src-qt_Makefile.in
@@ -0,0 +1,10 @@
+--- src/qt/Makefile.in 2011-06-24 19:20:24.000000000 -0500
++++ src/qt/Makefile.in 2011-06-24 19:20:35.000000000 -0500
+@@ -521,7 +521,6 @@
+
+ install-data-am: install-ApplicationsDATA install-pixmapDATA
+ @$(NORMAL_INSTALL)
+- $(MAKE) $(AM_MAKEFLAGS) install-data-hook
+
+ install-dvi: install-dvi-recursive
+
diff --git a/emulators/yabause/pkg-plist b/emulators/yabause/pkg-plist
index f06e79159857..b381824fc8dd 100644
--- a/emulators/yabause/pkg-plist
+++ b/emulators/yabause/pkg-plist
@@ -1,6 +1,14 @@
bin/yabause
-share/gen68k/c68k_ini.inc
-share/applications/yabause.desktop
+%%DATADIR%%/yts/de.yts
+%%DATADIR%%/yts/es.yts
+%%DATADIR%%/yts/fr.yts
+%%DATADIR%%/yts/it.yts
+%%DATADIR%%/yts/lt.yts
+%%DATADIR%%/yts/pt.yts
+%%DATADIR%%/yts/pt_BR.yts
+%%DATADIR%%/yts/sv.yts
share/pixmaps/yabause.png
-@dirrm share/gen68k
+share/applications/yabause.desktop
+@dirrmtry share/yabause/yts
+@dirrmtry share/yabause
@dirrmtry share/applications