aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2011-08-23 20:35:50 +0800
committerzi <zi@FreeBSD.org>2011-08-23 20:35:50 +0800
commit9672e99793c466e4003520c801acebcf9a2fdf14 (patch)
tree50aba8f54b610d0a86037bad4dae8e3f5b1e9596 /emulators
parentc3748a44d445ecf2b90703ebdde939c1a3013778 (diff)
downloadfreebsd-ports-gnome-9672e99793c466e4003520c801acebcf9a2fdf14.tar.gz
freebsd-ports-gnome-9672e99793c466e4003520c801acebcf9a2fdf14.tar.zst
freebsd-ports-gnome-9672e99793c466e4003520c801acebcf9a2fdf14.zip
Update to 0.9.7
Add LICENSE PR: ports/158929 Submitted by: L Campbell <llc2w@virginia.edu> (maintainer) Approved by: tabthorpe (mentor)
Diffstat (limited to 'emulators')
-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