Hi.
This updates residualvm to the latest version with Myst III support.
Works fine with Grim Fandango.
OK?
Index: Makefile
===================================================================
RCS file: /cvs/ports/games/residualvm/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile 1 Dec 2014 07:47:35 -0000 1.2
+++ Makefile 29 Jan 2015 21:21:21 -0000
@@ -2,8 +2,7 @@
COMMENT = interpreter for some LucasArts 3D games
-V = 0.1.1
-REVISION = 0
+V = 0.2.1
DISTNAME = residualvm-${V}-sources
PKGNAME = residualvm-${V}
@@ -14,21 +13,33 @@ HOMEPAGE = http://residualvm.org/
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
-WANTLIB += GL GLU SDL c freetype m pthread stdc++ z
+WANTLIB += GL SDL c freetype iconv jpeg m mad mpeg2 ogg png pthread
+WANTLIB += stdc++ theoradec vorbis vorbisfile z
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=residualvm/}
-LIB_DEPENDS = devel/sdl
+LIB_DEPENDS = audio/libmad \
+ audio/libvorbis \
+ devel/sdl \
+ graphics/libmpeg2 \
+ multimedia/libtheora
+RUN_DEPENDS = devel/desktop-file-utils \
+ x11/gtk+3,-guic
+SEPARATE_BUILD = Yes
USE_GMAKE = Yes
CONFIGURE_STYLE = simple
CONFIGURE_ARGS += --enable-verbose-build \
--mandir=${PREFIX}/man
-CONFIGURE_ENV = CPPFLAGS="-I${X11BASE}/include" \
- LDFLAGS="-L${X11BASE}/lib"
+CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include
-I${X11BASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
NO_TEST = Yes
WRKDIST = ${WRKDIR}/residualvm-${V}
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/applications/
+ ${INSTALL_DATA} ${WRKSRC}/dists/residualvm.desktop
${PREFIX}/share/applications/
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/games/residualvm/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo 11 Jul 2014 15:07:13 -0000 1.1.1.1
+++ distinfo 29 Jan 2015 21:21:21 -0000
@@ -1,2 +1,2 @@
-SHA256 (residualvm-0.1.1-sources.tar.gz) =
ZlYtYn2+8T6+It2Uj2Nr8S/F9djn2moNtYCYfTXJK9s=
-SIZE (residualvm-0.1.1-sources.tar.gz) = 4968791
+SHA256 (residualvm-0.2.1-sources.tar.gz) =
Hz/zY9APeZ447gj5hbZeBxNHgvY/8GWlvsaPyrTVeOQ=
+SIZE (residualvm-0.2.1-sources.tar.gz) = 5938687
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/games/residualvm/patches/patch-configure,v
retrieving revision 1.2
diff -u -p -r1.2 patch-configure
--- patches/patch-configure 1 Dec 2014 07:47:35 -0000 1.2
+++ patches/patch-configure 29 Jan 2015 21:21:21 -0000
@@ -1,26 +1,26 @@
$OpenBSD: patch-configure,v 1.2 2014/12/01 07:47:35 jsg Exp $
Freetype's headers conflict with -pedantic.
---- configure.orig Sun Feb 10 07:38:56 2013
-+++ configure Sat Nov 29 20:05:29 2014
-@@ -1601,7 +1601,7 @@ fi;
+--- configure.orig Wed Dec 31 14:06:05 2014
++++ configure Sun Jan 11 23:07:37 2015
+@@ -1818,7 +1818,7 @@ echo $_use_cxx11
# However, some platforms use GNU extensions in system header files, so
# for these we must not use -pedantic.
case $_host_os in
--android | gamecube | psp | wii | webos)
-+android | gamecube | psp | wii | webos | openbsd*)
+-android | gamecube | psp | tizen | wii | webos)
++android | gamecube | psp | tizen | wii | webos | openbsd* )
;;
*)
# ICC does not support pedantic, while GCC and clang do.
-@@ -1775,7 +1775,7 @@ cc_check_clean tmp_find_type_with_size.cpp
+@@ -2002,7 +2002,7 @@ cc_check_clean tmp_find_type_with_size.cpp
# for the smaller sizes.
echo_n "Alignment required... "
case $_host_cpu in
-- i[3-6]86 | x86_64 | ppc*)
+- i[3-6]86 | amd64 | x86_64 | ppc*)
+ i[3-6]86 | amd64 | x86_64 | powerpc* | ppc*)
# Unaligned access should work
_need_memalign=no
;;
-@@ -1816,11 +1816,11 @@ case $_host_cpu in
+@@ -2045,7 +2045,7 @@ case $_host_cpu in
echo "MIPS"
DEFINES="$DEFINES -DMIPS_TARGET"
;;
@@ -29,8 +29,3 @@ Freetype's headers conflict with -pedant
echo "PowerPC"
DEFINES="$DEFINES -DPPC_TARGET"
;;
-- x86_64)
-+ amd64 | x86_64)
- echo "x86_64"
- ;;
- *)
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/games/residualvm/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 DESCR
--- pkg/DESCR 11 Jul 2014 15:07:13 -0000 1.1.1.1
+++ pkg/DESCR 29 Jan 2015 21:21:21 -0000
@@ -1,5 +1,5 @@
ResidualVM is a game engine reimplementation that allows you to play 3D
-adventure games such as Grim Fandango.
+adventure games such as Grim Fandango and Myst III.
ResidualVM utilizes OpenGL for 3D graphics hardware acceleration. A
software renderer is also included for machines without hardware OpenGL.
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/games/residualvm/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST 11 Jul 2014 15:07:13 -0000 1.1.1.1
+++ pkg/PLIST 29 Jan 2015 21:21:21 -0000
@@ -1,18 +1,28 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2014/07/11 15:07:13 bentley Exp $
@bin bin/residualvm
@man man/man6/residualvm.6
+share/applications/residualvm.desktop
share/doc/residualvm/
share/doc/residualvm/AUTHORS
share/doc/residualvm/COPYING
share/doc/residualvm/COPYING.BSD
share/doc/residualvm/COPYING.FREEFONT
+share/doc/residualvm/COPYING.ISC
share/doc/residualvm/COPYING.LGPL
+share/doc/residualvm/COPYING.LUA
+share/doc/residualvm/COPYING.MIT
+share/doc/residualvm/COPYING.TINYGL
share/doc/residualvm/COPYRIGHT
share/doc/residualvm/KNOWN_BUGS
share/doc/residualvm/NEWS
-share/doc/residualvm/README
+share/doc/residualvm/README.md
+share/icons/hicolor/scalable/apps/residualvm.svg
share/pixmaps/
share/pixmaps/residualvm.xpm
share/residualvm/
share/residualvm/modern.zip
share/residualvm/residualvm-grim-patch.lab
+@exec %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
+@unexec-delete %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
+@exec %D/bin/update-desktop-database
+@unexec-delete %D/bin/update-desktop-database