Hi,
This diff updates prboom to the latest release 2.5.0.
Tested on amd64/sparc64.
Comments ? OK ?
Cheers,
benoit
Index: Makefile
===================================================================
RCS file: /cvs/ports/games/prboom/Makefile,v
retrieving revision 1.14
diff -N -u Makefile
--- Makefile 5 Dec 2007 13:15:09 -0000 1.14
+++ Makefile 20 Dec 2009 10:33:42 -0000
@@ -1,8 +1,7 @@
# $OpenBSD: Makefile,v 1.14 2007/12/05 13:15:09 ajacoutot Exp $
COMMENT= enhanced clone of Id Software's Doom game; multiplayer
-DISTNAME= prboom-2.4.7
-PKGNAME= ${DISTNAME}p1
+DISTNAME= prboom-2.5.0
CATEGORIES= games x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=prboom/}
@@ -14,15 +13,14 @@
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
-WANTLIB= SDL c m pthread z GL GLU
+WANTLIB= SDL c m pthread GL GLU
USE_X11=Yes
LIB_DEPENDS= SDL_mixer.>=3::devel/sdl-mixer \
- SDL_net.>=1::devel/sdl-net \
- png.>=4::graphics/png
+ SDL_net.>=1::devel/sdl-net
-CONFIGURE_ENV+= CPPFLAGS="-I${X11BASE}/include
-I${LOCALBASE}/include/libpng" \
+CONFIGURE_ENV+= CPPFLAGS="-I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=--disable-cpu-opt
Index: distinfo
===================================================================
RCS file: /cvs/ports/games/prboom/distinfo,v
retrieving revision 1.9
diff -N -u distinfo
--- distinfo 5 Apr 2007 15:38:11 -0000 1.9
+++ distinfo 20 Dec 2009 10:33:42 -0000
@@ -1,5 +1,5 @@
-MD5 (prboom-2.4.7.tar.gz) = mUL1IXZNf4nfIhikVtpPAg==
-RMD160 (prboom-2.4.7.tar.gz) = eMhUiVTdlUafgJm8j6aX9ippwX4=
-SHA1 (prboom-2.4.7.tar.gz) = Uq65M9t3C0gzExfcNX9sutMIVgA=
-SHA256 (prboom-2.4.7.tar.gz) = 3iLbqs0loPCxbFB6ojJqkLf13Pz4YsPccHaZbGGHzS8=
-SIZE (prboom-2.4.7.tar.gz) = 999524
+MD5 (prboom-2.5.0.tar.gz) = qKFfYfomJquYBRqycDN4xA==
+RMD160 (prboom-2.5.0.tar.gz) = zGlcoM65+bnKKs5yZ6BkeZxh/7o=
+SHA1 (prboom-2.5.0.tar.gz) = 8X3G7U5y0HuFQpF3sAuHCeo29aA=
+SHA256 (prboom-2.5.0.tar.gz) = ImwcRw+MyYMydTZAT0BaHQJs8KUYjGlKEkPMhjABS64=
+SIZE (prboom-2.5.0.tar.gz) = 1049505
Index: patches/patch-Makefile_in
===================================================================
RCS file: /cvs/ports/games/prboom/patches/patch-Makefile_in,v
retrieving revision 1.1
diff -N -u patches/patch-Makefile_in
--- patches/patch-Makefile_in 22 Sep 2006 05:54:38 -0000 1.1
+++ patches/patch-Makefile_in 20 Dec 2009 10:33:42 -0000
@@ -1,12 +1,12 @@
-$OpenBSD: patch-Makefile_in,v 1.1 2006/09/22 05:54:38 jsg Exp $
---- Makefile.in.orig Fri Sep 22 13:30:36 2006
-+++ Makefile.in Fri Sep 22 13:30:54 2006
-@@ -207,7 +207,7 @@ AUX_DIST_GEN = \
- $(ac_aux_dir)/missing
-
- MAINTAINERCLEANFILES = $(AUX_DIST_GEN)
+$OpenBSD$
+--- Makefile.in~ Sun Nov 9 20:22:16 2008
++++ Makefile.in Sat Dec 19 11:39:40 2009
+@@ -163,7 +163,7 @@
+ builddir = @builddir@
+ datadir = @datadir@
+ datarootdir = @datarootdir@
-docdir = $(prefix)/share/doc/@pack...@-@VERSION@
+docdir = $(prefix)/share/doc/prboom
- SUBDIRS = doc data src ICONS VisualC8 VisualC6
- EXTRA_DIST = prboom.spec.in prboom.spec config.h bootstrap $(AUX_DIST_GEN)
- doc_DATA = README COPYING AUTHORS NEWS
+ dvidir = @dvidir@
+ exec_prefix = @exec_prefix@
+ host = @host@
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/games/prboom/patches/patch-configure,v
retrieving revision 1.6
diff -N -u patches/patch-configure
--- patches/patch-configure 20 Nov 2006 03:15:36 -0000 1.6
+++ patches/patch-configure 20 Dec 2009 10:33:42 -0000
@@ -1,8 +1,8 @@
-$OpenBSD: patch-configure,v 1.6 2006/11/20 03:15:36 jolan Exp $
---- configure.orig Sun Nov 19 11:45:22 2006
-+++ configure Sun Nov 19 21:12:41 2006
-@@ -1913,9 +1913,9 @@ if test "${with_waddir+set}" = set; then
- DOOMWADDIR="$withval"
+$OpenBSD$
+--- configure.orig Sun Nov 9 20:22:17 2008
++++ configure Sun Dec 20 00:54:27 2009
+@@ -2422,9 +2422,9 @@
+ withval=$with_waddir; DOOMWADDIR="$withval"
else
if test "x$prefix" != xNONE; then
- DOOMWADDIR="$prefix/share/games/doom"
@@ -12,17 +12,17 @@
+ DOOMWADDIR="$ac_default_prefix/share/prboom"
fi
- fi;
-@@ -5999,7 +5999,7 @@ if test "${ac_cv_lib_png_png_create_info
+ fi
+@@ -6814,7 +6814,7 @@
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpng $LIBS"
-+LIBS="-lpng -lz $LIBS"
++LIBS="-lpng -lz $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
-@@ -6061,7 +6061,7 @@ if test $ac_cv_lib_png_png_create_info_s
+@@ -6874,7 +6874,7 @@
#define HAVE_LIBPNG 1
_ACEOF
Index: patches/patch-doc_Makefile_in
===================================================================
RCS file: /cvs/ports/games/prboom/patches/patch-doc_Makefile_in,v
retrieving revision 1.1
diff -N -u patches/patch-doc_Makefile_in
--- patches/patch-doc_Makefile_in 22 Sep 2006 05:54:38 -0000 1.1
+++ patches/patch-doc_Makefile_in 20 Dec 2009 10:33:42 -0000
@@ -1,12 +1,12 @@
-$OpenBSD: patch-doc_Makefile_in,v 1.1 2006/09/22 05:54:38 jsg Exp $
---- doc/Makefile.in.orig Sat Aug 12 21:33:32 2006
-+++ doc/Makefile.in Fri Sep 22 13:30:07 2006
-@@ -175,7 +175,7 @@ target_alias = @target_alias@
- target_cpu = @target_cpu@
- target_os = @target_os@
- target_vendor = @target_vendor@
+$OpenBSD$
+--- doc/Makefile.in.orig Sun Nov 9 20:22:16 2008
++++ doc/Makefile.in Sat Dec 19 11:41:28 2009
+@@ -140,7 +140,7 @@
+ builddir = @builddir@
+ datadir = @datadir@
+ datarootdir = @datarootdir@
-docdir = $(prefix)/share/doc/@pack...@-@VERSION@
+docdir = $(prefix)/share/doc/prboom
- man_MANS = prboom.6 boom.cfg.5 prboom-game-server.6
- doc_DATA = boom.txt MBF.txt MBFFAQ.txt README.demos README.compat
- EXTRA_DIST = boom.txt prboom.6 boom.cfg.5 prboom-game-server.6 \
+ dvidir = @dvidir@
+ exec_prefix = @exec_prefix@
+ host = @host@
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/games/prboom/pkg/PLIST,v
retrieving revision 1.3
diff -N -u pkg/PLIST
--- pkg/PLIST 15 Sep 2004 00:46:10 -0000 1.3
+++ pkg/PLIST 20 Dec 2009 10:33:42 -0000
@@ -1,6 +1,6 @@
@comment $OpenBSD: PLIST,v 1.3 2004/09/15 00:46:10 espie Exp $
-bin/prboom
-bin/prboom-game-server
+...@bin bin/prboom
+...@bin bin/prboom-game-server
@man man/man5/boom.cfg.5
@man man/man6/prboom-game-server.6
@man man/man6/prboom.6