diff options
Diffstat (limited to 'emulators/desmume')
-rw-r--r-- | emulators/desmume/Makefile | 23 | ||||
-rw-r--r-- | emulators/desmume/distinfo | 6 | ||||
-rw-r--r-- | emulators/desmume/pkg-plist | 14 |
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 |