aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/desmume
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2008-09-03 04:27:35 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2008-09-03 04:27:35 +0800
commit7d13068a83205b56c77c142325826f5f30e5c214 (patch)
tree43caa2229883836427b430864a28bd48397440a7 /emulators/desmume
parentd0de81f9d81993858a07aa9f1f78fdbb8256464c (diff)
downloadfreebsd-ports-gnome-7d13068a83205b56c77c142325826f5f30e5c214.tar.gz
freebsd-ports-gnome-7d13068a83205b56c77c142325826f5f30e5c214.tar.zst
freebsd-ports-gnome-7d13068a83205b56c77c142325826f5f30e5c214.zip
- Update to 0.8. The latest version of the emulator includes several major feature additions, including support for 3D rendering and a gdb stub.
- Pass maintainership to submitter PR: 126985 Submitted by: L Campbell <llc2w at virginia dot edu> (improved by me) Approved by: Stefan Sperling <stsp at stsp dot in-berlin dot de> (maintainer)
Diffstat (limited to 'emulators/desmume')
-rw-r--r--emulators/desmume/Makefile23
-rw-r--r--emulators/desmume/distinfo6
-rw-r--r--emulators/desmume/pkg-plist14
3 files changed, 34 insertions, 9 deletions
diff --git a/emulators/desmume/Makefile b/emulators/desmume/Makefile
index f5f017775951..3d62883dcd65 100644
--- a/emulators/desmume/Makefile
+++ b/emulators/desmume/Makefile
@@ -6,21 +6,27 @@
#
PORTNAME= desmume
-PORTVERSION= 0.6.0
-PORTREVISION= 3
+PORTVERSION= 0.8
CATEGORIES= emulators
MASTER_SITES= SF
-MAINTAINER= stsp@stsp.in-berlin.de
+MAINTAINER= llc2w@virginia.edu
COMMENT= Nintendo DS emulator
+LIB_DEPENDS= gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext
+
USE_SDL= sdl
USE_GMAKE= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_GNOME= gtk20 libglade2
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= GMSGFMT=msgfmt DATADIRNAME=share
-PLIST_FILES= bin/desmume-glade bin/desmume bin/desmume-cli
+USE_AUTOTOOLS= aclocal:19 autoconf:262
+ACLOCAL_ARGS=
+AUTOCONF_ARGS=
+
+CFLAGS+= -I${LOCALBASE}/include -DGTKGLEXT_AVAILABLE -DHAVE_LIBGDKGLEXT_X11_1_0 \
+ -DHAVE_GL_GL_H -DHAVE_GL_GLU_H
.include <bsd.port.pre.mk>
@@ -28,4 +34,9 @@ PLIST_FILES= bin/desmume-glade bin/desmume bin/desmume-cli
BROKEN= Does not compile on ia64
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|@MKDIR_P@|${MKDIR}|' ${WRKSRC}/src/cli/Makefile.in \
+ ${WRKSRC}/src/gtk/Makefile.in ${WRKSRC}/src/gtk-glade/Makefile.in
+ @${REINPLACE_CMD} -e 's|../MMU.h|../&|' ${WRKSRC}/src/gtk/tools/ioregsView.c
+
.include <bsd.port.post.mk>
diff --git a/emulators/desmume/distinfo b/emulators/desmume/distinfo
index 858cd8eb7527..cd79db6efdf7 100644
--- a/emulators/desmume/distinfo
+++ b/emulators/desmume/distinfo
@@ -1,3 +1,3 @@
-MD5 (desmume-0.6.0.tar.gz) = 48f192b8839affc03b2b28e5eb509984
-SHA256 (desmume-0.6.0.tar.gz) = 61dd71c6dd58dffbff45b4af54ba4d81fb46d749aae0894895828a4517c288ef
-SIZE (desmume-0.6.0.tar.gz) = 359041
+MD5 (desmume-0.8.tar.gz) = d8bf49dfd8d571af3a16be105c70dfda
+SHA256 (desmume-0.8.tar.gz) = df874af3da82ad453a9e095b9a51bbc864ada211566a6184af6e0f483d447e8a
+SIZE (desmume-0.8.tar.gz) = 690259
diff --git a/emulators/desmume/pkg-plist b/emulators/desmume/pkg-plist
new file mode 100644
index 000000000000..d46029264e08
--- /dev/null
+++ b/emulators/desmume/pkg-plist
@@ -0,0 +1,14 @@
+bin/desmume
+bin/desmume-cli
+bin/desmume-glade
+share/applications/desmume-glade.desktop
+share/applications/desmume.desktop
+%%DATADIR%%/glade/DeSmuME.xpm
+%%DATADIR%%/glade/DeSmuMe.glade
+%%DATADIR%%/glade/DeSmuMe_Dtools.glade
+share/locale/fr/LC_MESSAGES/desmume.mo
+share/locale/pt_BR/LC_MESSAGES/desmume.mo
+share/pixmaps/DeSmuME.xpm
+@dirrm %%DATADIR%%/glade
+@dirrm %%DATADIR%%
+@dirrmtry share/applications