aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2011-08-23 12:35:50 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2011-08-23 12:35:50 +0000
commit116bdfe7a031ae0a9f53d1d460749bef30e9fc60 (patch)
tree3d401418e42ae3bfe6d2519ba9124c1cb1eaffc8
parentcdb3dc6f2258c9c528f2b75dc8e81f48968abdb6 (diff)
downloadports-116bdfe7a031ae0a9f53d1d460749bef30e9fc60.tar.gz
ports-116bdfe7a031ae0a9f53d1d460749bef30e9fc60.zip
Notes
-rw-r--r--emulators/desmume/Makefile16
-rw-r--r--emulators/desmume/distinfo4
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 <bsd.port.post.mk>
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