aboutsummaryrefslogtreecommitdiff
path: root/games/prboom
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-11-13 01:24:03 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-11-13 01:24:03 +0000
commit25f0a7f8259bb289319904551b8a3b8e52dcf47a (patch)
tree6b61d7328af9cc0a53581e010ac1be1281d16e18 /games/prboom
parent268ea6f2948b61abb9b49ee6cfd8d0ed4a7202ac (diff)
downloadports-25f0a7f8259bb289319904551b8a3b8e52dcf47a.tar.gz
ports-25f0a7f8259bb289319904551b8a3b8e52dcf47a.zip
Notes
Diffstat (limited to 'games/prboom')
-rw-r--r--games/prboom/Makefile17
-rw-r--r--games/prboom/distinfo6
-rw-r--r--games/prboom/files/patch-Makefile.in10
-rw-r--r--games/prboom/files/patch-configure23
-rw-r--r--games/prboom/files/patch-data-Makefile.in11
-rw-r--r--games/prboom/files/patch-doc-Makefile.in35
-rw-r--r--games/prboom/files/patch-src-Makefile.in14
-rw-r--r--games/prboom/pkg-plist11
8 files changed, 33 insertions, 94 deletions
diff --git a/games/prboom/Makefile b/games/prboom/Makefile
index 84d68c97ddad..e616001900db 100644
--- a/games/prboom/Makefile
+++ b/games/prboom/Makefile
@@ -6,14 +6,13 @@
#
PORTNAME= prboom
-PORTVERSION= 2.2.6
-PORTREVISION= 2
+PORTVERSION= 2.4.7
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= robin.schoonover@gmail.com
-COMMENT= A multiplayer-capable and modified version of ID's classic doom game
+COMMENT= A multiplayer-capable and modified version of ID's classic DOOM game
LIB_DEPENDS= smpeg.1:${PORTSDIR}/multimedia/smpeg
@@ -31,22 +30,16 @@ MAN5= boom.cfg.5
MAN6= prboom.6 prboom-game-server.6
DATADIR= ${DMDIR}
+PLIST_SUB= PORTVERSION=${PORTVERSION}
.include "${.CURDIR}/../doom-data/Makefile.include"
.include <bsd.port.pre.mk>
.if defined(WITH_GL)
-CONFIGURE_ARGS+=--enable-gl
USE_GL= yes
-.endif
-
-post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
-. for f in README doc/README.compat doc/README.demos doc/boom.txt
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-. endfor
+.else
+CONFIGURE_ARGS+=--disable-gl
.endif
.include <bsd.port.post.mk>
diff --git a/games/prboom/distinfo b/games/prboom/distinfo
index 525b4a5884ee..e792f0c817cc 100644
--- a/games/prboom/distinfo
+++ b/games/prboom/distinfo
@@ -1,3 +1,3 @@
-MD5 (prboom-2.2.6.tar.gz) = ef0abe0aad017514857552434b5c6aaa
-SHA256 (prboom-2.2.6.tar.gz) = 200d3c50b082ae46be8c014bb576b4e2d23b1704508fd528c47e3e2b3b04759e
-SIZE (prboom-2.2.6.tar.gz) = 1047612
+MD5 (prboom-2.4.7.tar.gz) = 9942f521764d7f89df2218a456da4f02
+SHA256 (prboom-2.4.7.tar.gz) = de22dbaacd25a0f0b16c507aa2326a90b7f5dcfcf862c3dc7076996c6187cd2f
+SIZE (prboom-2.4.7.tar.gz) = 999524
diff --git a/games/prboom/files/patch-Makefile.in b/games/prboom/files/patch-Makefile.in
index da6367ac91ec..478fa5701776 100644
--- a/games/prboom/files/patch-Makefile.in
+++ b/games/prboom/files/patch-Makefile.in
@@ -1,6 +1,6 @@
---- Makefile.in.orig Thu Feb 17 13:43:28 2005
-+++ Makefile.in Thu Feb 17 13:45:50 2005
-@@ -262,22 +262,8 @@
+--- Makefile.in.orig Fri Oct 12 14:26:41 2007
++++ Makefile.in Fri Oct 12 14:27:32 2007
+@@ -269,22 +269,8 @@
cd $(top_builddir) && $(SHELL) ./config.status $@
uninstall-info-am:
install-docDATA: $(doc_DATA)
@@ -8,7 +8,7 @@
- test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)"
- @list='$(doc_DATA)'; for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-- f="`echo $$p | sed -e 's|^.*/||'`"; \
+- f=$(am__strip_dir) \
- echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
- $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
- done
@@ -16,7 +16,7 @@
uninstall-docDATA:
- @$(NORMAL_UNINSTALL)
- @list='$(doc_DATA)'; for p in $$list; do \
-- f="`echo $$p | sed -e 's|^.*/||'`"; \
+- f=$(am__strip_dir) \
- echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \
- rm -f "$(DESTDIR)$(docdir)/$$f"; \
- done
diff --git a/games/prboom/files/patch-configure b/games/prboom/files/patch-configure
index 8971941c8cdd..d439ccb3f1d7 100644
--- a/games/prboom/files/patch-configure
+++ b/games/prboom/files/patch-configure
@@ -1,23 +1,14 @@
---- configure.orig Sat Sep 29 04:39:08 2001
-+++ configure Sat Nov 10 20:30:26 2001
-@@ -922,9 +922,9 @@
-
-
- if test "x$prefix" != xNONE; then
+--- configure.orig Sun Nov 19 12:45:22 2006
++++ configure Fri Oct 12 14:02:43 2007
+@@ -1913,9 +1913,9 @@
+ DOOMWADDIR="$withval"
+ else
+ if test "x$prefix" != xNONE; then
- DOOMWADDIR="$prefix/share/games/doom"
+ DOOMWADDIR="$prefix/share/doom"
else
- DOOMWADDIR="$ac_default_prefix/share/games/doom"
+ DOOMWADDIR="$ac_default_prefix/share/doom"
fi
- cat >> confdefs.h <<EOF
- #define DOOMWADDIR "$DOOMWADDIR"
-@@ -1220,7 +1220,7 @@
- echo ' the source to insert the relevant pragmas so structures are packed.'
- fi
--CFLAGS_OPT="-O2 -fomit-frame-pointer"
-+CFLAGS_OPT="-fomit-frame-pointer"
- # Check whether --enable-debug or --disable-debug was given.
- if test "${enable_debug+set}" = set; then
- enableval="$enable_debug"
+ fi;
diff --git a/games/prboom/files/patch-data-Makefile.in b/games/prboom/files/patch-data-Makefile.in
deleted file mode 100644
index 1286cd2ad895..000000000000
--- a/games/prboom/files/patch-data-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- data/Makefile.in.orig Thu Feb 17 14:46:13 2005
-+++ data/Makefile.in Mon Sep 27 11:31:31 2004
-@@ -163,7 +163,7 @@
- target_cpu = @target_cpu@
- target_os = @target_os@
- target_vendor = @target_vendor@
--waddir = $(datadir)/games/doom
-+waddir = $(datadir)/doom
- wad_DATA = prboom.wad
- EXTRA_DIST = prboom.wad
- all: all-am
diff --git a/games/prboom/files/patch-doc-Makefile.in b/games/prboom/files/patch-doc-Makefile.in
deleted file mode 100644
index c48e3f962417..000000000000
--- a/games/prboom/files/patch-doc-Makefile.in
+++ /dev/null
@@ -1,35 +0,0 @@
---- doc/Makefile.in.orig Mon Sep 27 11:31:31 2004
-+++ doc/Makefile.in Thu Feb 17 14:55:23 2005
-@@ -32,7 +32,7 @@
- install_sh_PROGRAM = $(install_sh) -c
- install_sh_SCRIPT = $(install_sh) -c
- INSTALL_HEADER = $(INSTALL_DATA)
--transform = $(program_transform_name)
-+transform =
- NORMAL_INSTALL = :
- PRE_INSTALL = :
- POST_INSTALL = :
-@@ -297,22 +297,9 @@
- rm -f "$(DESTDIR)$(man6dir)/$$inst"; \
- done
- install-docDATA: $(doc_DATA)
-- @$(NORMAL_INSTALL)
-- test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)"
-- @list='$(doc_DATA)'; for p in $$list; do \
-- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-- f="`echo $$p | sed -e 's|^.*/||'`"; \
-- echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
-- $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
-- done
-
- uninstall-docDATA:
-- @$(NORMAL_UNINSTALL)
-- @list='$(doc_DATA)'; for p in $$list; do \
-- f="`echo $$p | sed -e 's|^.*/||'`"; \
-- echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \
-- rm -f "$(DESTDIR)$(docdir)/$$f"; \
-- done
-+
- tags: TAGS
- TAGS:
-
diff --git a/games/prboom/files/patch-src-Makefile.in b/games/prboom/files/patch-src-Makefile.in
index 20e8a104d368..83da50fae5d4 100644
--- a/games/prboom/files/patch-src-Makefile.in
+++ b/games/prboom/files/patch-src-Makefile.in
@@ -1,5 +1,5 @@
---- src/Makefile.in.orig Mon Sep 27 11:31:32 2004
-+++ src/Makefile.in Thu Feb 17 15:01:16 2005
+--- src/Makefile.in.orig Sun Nov 19 12:45:21 2006
++++ src/Makefile.in Fri Oct 12 14:12:30 2007
@@ -37,7 +37,7 @@
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
@@ -9,12 +9,12 @@
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
-@@ -276,7 +276,7 @@
+@@ -248,7 +248,7 @@
+ target_os = @target_os@
target_vendor = @target_vendor@
- EXTRA_SUBDIRS = Posix SDL
- SUBDIRS = SDL POSIX
+ SUBDIRS = SDL POSIX MAC
-gamesdir = $(prefix)/games
+gamesdir = $(prefix)/bin
- prboom_game_server_SOURCES = d_server.c i_udp_sdl.c protocol.h
- prboom_game_server_LDADD = POSIX/libposixdoom.a @NET_LIBS@ @SDL_LIBS@
+ prboom_game_server_SOURCES = d_server.c protocol.h
+ prboom_game_server_LDADD = POSIX/libposixdoom.a SDL/i_network.o @NET_LIBS@ @SDL_LIBS@
COMMON_SRC = \
diff --git a/games/prboom/pkg-plist b/games/prboom/pkg-plist
index 8f063d02752b..c69028f2fb48 100644
--- a/games/prboom/pkg-plist
+++ b/games/prboom/pkg-plist
@@ -1,8 +1,9 @@
bin/prboom
bin/prboom-game-server
%%DATADIR%%/prboom.wad
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/README.compat
-%%PORTDOCS%%%%DOCSDIR%%/README.demos
-%%PORTDOCS%%%%DOCSDIR%%/boom.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+share/doc/prboom-%%PORTVERSION%%/boom.txt
+share/doc/prboom-%%PORTVERSION%%/MBF.txt
+share/doc/prboom-%%PORTVERSION%%/MBFFAQ.txt
+share/doc/prboom-%%PORTVERSION%%/README.demos
+share/doc/prboom-%%PORTVERSION%%/README.compat
+@dirrm share/doc/prboom-%%PORTVERSION%%