aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2001-07-10 08:24:55 +0800
committerdwcjr <dwcjr@FreeBSD.org>2001-07-10 08:24:55 +0800
commite1803fbb7d7e728a8f95d45b015d22e647ae1ce1 (patch)
treecac129be67075cb30f84801c3d5ba47438b9a7da
parenta8db2971dc1bf72aeda25b150b5f9ebfc46131ec (diff)
downloadfreebsd-ports-gnome-e1803fbb7d7e728a8f95d45b015d22e647ae1ce1.tar.gz
freebsd-ports-gnome-e1803fbb7d7e728a8f95d45b015d22e647ae1ce1.tar.zst
freebsd-ports-gnome-e1803fbb7d7e728a8f95d45b015d22e647ae1ce1.zip
Add prboom 2.2.0,
a multiplayer-capable and modified version of ID's classic doom game. PR: 28022 Submitted by: Jordan DeLong <fracture@allusion.net>
-rw-r--r--games/Makefile1
-rw-r--r--games/prboom/Makefile41
-rw-r--r--games/prboom/distinfo1
-rw-r--r--games/prboom/files/patch-Makefile.in26
-rw-r--r--games/prboom/files/patch-configure14
-rw-r--r--games/prboom/files/patch-data-Makefile.in11
-rw-r--r--games/prboom/files/patch-doc-Makefile.in27
-rw-r--r--games/prboom/files/patch-src-Makefile.in11
-rw-r--r--games/prboom/pkg-comment1
-rw-r--r--games/prboom/pkg-descr6
-rw-r--r--games/prboom/pkg-plist9
11 files changed, 148 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index e887dd44b442..2375a5d7ecce 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -181,6 +181,7 @@
SUBDIR += pmars
SUBDIR += powerpak
SUBDIR += pp
+ SUBDIR += prboom
SUBDIR += ptkei
SUBDIR += pyching
SUBDIR += pysol
diff --git a/games/prboom/Makefile b/games/prboom/Makefile
new file mode 100644
index 000000000000..d44105c07576
--- /dev/null
+++ b/games/prboom/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: prboom
+# Date created: 10 June 2001
+# Whom: Jordan DeLong <fracture@allusion.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= prboom
+PORTVERSION= 2.2.0
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= fracture@allusion.net
+
+LIB_DEPENDS= SDL-1.1.3:${PORTSDIR}/devel/sdl12 \
+ smpeg.1:${PORTSDIR}/graphics/smpeg \
+ SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
+ SDL_net.0:${PORTSDIR}/net/sdl_net
+
+SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
+ CFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+MAN5= boom.cfg.5
+MAN6= prboom.6 prboom-game-server.6
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/prboom
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/prboom
+ ${INSTALL_DATA} ${WRKSRC}/doc/README.compat ${PREFIX}/share/doc/prboom
+ ${INSTALL_DATA} ${WRKSRC}/doc/README.demos ${PREFIX}/share/doc/prboom
+ ${INSTALL_DATA} ${WRKSRC}/doc/boom.txt ${PREFIX}/share/doc/prboom
+.endif
+
+.include <bsd.port.mk>
diff --git a/games/prboom/distinfo b/games/prboom/distinfo
new file mode 100644
index 000000000000..fcbb8b7172f6
--- /dev/null
+++ b/games/prboom/distinfo
@@ -0,0 +1 @@
+MD5 (prboom-2.2.0.tar.gz) = 249b083cf644291f928674626d569e6f
diff --git a/games/prboom/files/patch-Makefile.in b/games/prboom/files/patch-Makefile.in
new file mode 100644
index 000000000000..04ce7de28ba4
--- /dev/null
+++ b/games/prboom/files/patch-Makefile.in
@@ -0,0 +1,26 @@
+--- Makefile.in.orig Fri Jun 29 03:30:25 2001
++++ Makefile.in Fri Jun 29 03:31:24 2001
+@@ -167,23 +167,8 @@
+ cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
+ install-docDATA: $(doc_DATA)
+- @$(NORMAL_INSTALL)
+- $(mkinstalldirs) $(DESTDIR)$(docdir)
+- @list='$(doc_DATA)'; for p in $$list; do \
+- if test -f $(srcdir)/$$p; then \
+- echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p"; \
+- $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p; \
+- else if test -f $$p; then \
+- echo " $(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p"; \
+- $(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p; \
+- fi; fi; \
+- done
+
+ uninstall-docDATA:
+- @$(NORMAL_UNINSTALL)
+- list='$(doc_DATA)'; for p in $$list; do \
+- rm -f $(DESTDIR)$(docdir)/$$p; \
+- done
+
+ # This directory's subdirectories are mostly independent; you can cd
+ # into them and run `make' without going through this Makefile.
diff --git a/games/prboom/files/patch-configure b/games/prboom/files/patch-configure
new file mode 100644
index 000000000000..4c89c7c17a31
--- /dev/null
+++ b/games/prboom/files/patch-configure
@@ -0,0 +1,14 @@
+--- configure.orig Sat Mar 31 12:50:28 2001
++++ configure Sun Jun 10 16:41:12 2001
+@@ -920,9 +920,9 @@
+
+
+ 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"
diff --git a/games/prboom/files/patch-data-Makefile.in b/games/prboom/files/patch-data-Makefile.in
new file mode 100644
index 000000000000..afcc3c95a721
--- /dev/null
+++ b/games/prboom/files/patch-data-Makefile.in
@@ -0,0 +1,11 @@
+--- data/Makefile.in.orig Sun Apr 1 02:14:06 2001
++++ data/Makefile.in Sun Jun 10 16:49:16 2001
+@@ -91,7 +91,7 @@
+ VERSION = @VERSION@
+ ac_aux_dir = @ac_aux_dir@
+
+-waddir = $(datadir)/games/doom
++waddir = $(datadir)/doom
+ wad_DATA = prboom.wad
+ EXTRA_DIST = prboom.wad
+ mkinstalldirs = $(SHELL) $(top_srcdir)/autotools/mkinstalldirs
diff --git a/games/prboom/files/patch-doc-Makefile.in b/games/prboom/files/patch-doc-Makefile.in
new file mode 100644
index 000000000000..2cbea1039c2e
--- /dev/null
+++ b/games/prboom/files/patch-doc-Makefile.in
@@ -0,0 +1,27 @@
+--- doc/Makefile.in.orig Sun Apr 1 02:14:05 2001
++++ doc/Makefile.in Fri Jun 29 03:39:06 2001
+@@ -196,23 +196,9 @@
+ $(MAKE) $(AM_MAKEFLAGS) uninstall-man5 uninstall-man6
+
+ install-docDATA: $(doc_DATA)
+- @$(NORMAL_INSTALL)
+- $(mkinstalldirs) $(DESTDIR)$(docdir)
+- @list='$(doc_DATA)'; for p in $$list; do \
+- if test -f $(srcdir)/$$p; then \
+- echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p"; \
+- $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p; \
+- else if test -f $$p; then \
+- echo " $(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p"; \
+- $(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p; \
+- fi; fi; \
+- done
+
+ uninstall-docDATA:
+- @$(NORMAL_UNINSTALL)
+- list='$(doc_DATA)'; for p in $$list; do \
+- rm -f $(DESTDIR)$(docdir)/$$p; \
+- done
++
+ tags: TAGS
+ TAGS:
+
diff --git a/games/prboom/files/patch-src-Makefile.in b/games/prboom/files/patch-src-Makefile.in
new file mode 100644
index 000000000000..bd2a0771dd23
--- /dev/null
+++ b/games/prboom/files/patch-src-Makefile.in
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig Sun Apr 1 02:14:08 2001
++++ src/Makefile.in Sun Jun 10 16:44:19 2001
+@@ -97,7 +97,7 @@
+
+ SUBDIRS = SDL POSIX
+
+-gamesdir = $(prefix)/games
++gamesdir = $(prefix)/bin
+ EXTRA_PROGRAMS = prboom-game-server
+ games_PROGRAMS = prboom @BUILD_SERVER@
+
diff --git a/games/prboom/pkg-comment b/games/prboom/pkg-comment
new file mode 100644
index 000000000000..8a4c88f08dd4
--- /dev/null
+++ b/games/prboom/pkg-comment
@@ -0,0 +1 @@
+A multiplayer-capable and modified version of ID's classic doom game
diff --git a/games/prboom/pkg-descr b/games/prboom/pkg-descr
new file mode 100644
index 000000000000..31d15b865615
--- /dev/null
+++ b/games/prboom/pkg-descr
@@ -0,0 +1,6 @@
+Prboom is a modified version of the ID Software's classic game Doom.
+It runs on several platforms (include Win32 and Unixes) and features
+many additions to the original game. It also supports multiplayer
+games.
+
+WWW: http://prboom.sourceforge.net
diff --git a/games/prboom/pkg-plist b/games/prboom/pkg-plist
new file mode 100644
index 000000000000..0665b1160af6
--- /dev/null
+++ b/games/prboom/pkg-plist
@@ -0,0 +1,9 @@
+bin/prboom
+bin/prboom-game-server
+share/doom/prboom.wad
+@dirrm share/doom
+%%PORTDOCS%%share/doc/prboom/README
+%%PORTDOCS%%share/doc/prboom/README.compat
+%%PORTDOCS%%share/doc/prboom/README.demos
+%%PORTDOCS%%share/doc/prboom/boom.txt
+%%PORTDOCS%%@dirrm share/doc/prboom