From 116bdfe7a031ae0a9f53d1d460749bef30e9fc60 Mon Sep 17 00:00:00 2001 From: Ryan Steinmetz Date: Tue, 23 Aug 2011 12:35:50 +0000 Subject: [PATCH] Update to 0.9.7 Add LICENSE PR: ports/158929 Submitted by: L Campbell (maintainer) Approved by: tabthorpe (mentor) --- emulators/desmume/Makefile | 16 +++++++++++----- emulators/desmume/distinfo | 4 ++-- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/emulators/desmume/Makefile b/emulators/desmume/Makefile index 0626b86d993c..2cb9d221b598 100644 --- a/emulators/desmume/Makefile +++ b/emulators/desmume/Makefile @@ -6,17 +6,19 @@ # PORTNAME= desmume -PORTVERSION= 0.9.6 -PORTREVISION= 2 +PORTVERSION= 0.9.7 CATEGORIES= emulators MASTER_SITES= SF -EXTRACT_SUFX= -1.tar.gz MAINTAINER= llc2w@virginia.edu COMMENT= Nintendo DS emulator +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + LIB_DEPENDS= gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext +USE_GL= gl USE_SDL= sdl USE_GMAKE= yes USE_GNOME= gtk20 libglade2 @@ -28,8 +30,9 @@ USE_AUTOTOOLS= aclocal autoconf ACLOCAL_ARGS= AUTOCONF_ARGS= -CXXFLAGS+= -I${LOCALBASE}/include -DGTKGLEXT_AVAILABLE -DHAVE_LIBGDKGLEXT_X11_1_0 \ - -DHAVE_GL_GL_H -DHAVE_GL_GLU_H +CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib -DGTKGLEXT_AVAILABLE \ + -DHAVE_LIBGDKGLEXT_X11_1_0 -DHAVE_GL_GL_H -DHAVE_GL_GLU_H +CXXFLAGS+= ${CFLAGS} MAN1= desmume-cli.1 \ desmume-glade.1 \ @@ -41,4 +44,7 @@ MAN1= desmume-cli.1 \ BROKEN= Does not compile on ia64 .endif +post-patch: + @${REINPLACE_CMD} -e 's|mode_t|mode_t_|g' ${WRKSRC}/src/utils/libfat/libfat_pc.h + .include diff --git a/emulators/desmume/distinfo b/emulators/desmume/distinfo index 4bb91cca3aa3..37363fd8aa1e 100644 --- a/emulators/desmume/distinfo +++ b/emulators/desmume/distinfo @@ -1,2 +1,2 @@ -SHA256 (desmume-0.9.6-1.tar.gz) = 9dabdb7a5e89aca5b8427fe12a712b6ead52a39de47c7f136db69200b6930742 -SIZE (desmume-0.9.6-1.tar.gz) = 1018567 +SHA256 (desmume-0.9.7.tar.gz) = 0a0f7ef3cc76ff0bbc6f3df47c3689653617074ea7ffc354e9fa1240c5336523 +SIZE (desmume-0.9.7.tar.gz) = 1142550