diff options
Diffstat (limited to '')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/openglad/Makefile | 34 | ||||
-rw-r--r-- | games/openglad/distinfo | 1 | ||||
-rw-r--r-- | games/openglad/files/patch-Makefile.in | 46 | ||||
-rw-r--r-- | games/openglad/files/patch-configure | 22 | ||||
-rw-r--r-- | games/openglad/files/patch-util.cpp | 18 | ||||
-rw-r--r-- | games/openglad/pkg-descr | 6 | ||||
-rw-r--r-- | games/openglad/pkg-plist | 36 |
8 files changed, 164 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index 50abaca42acc..f993cf0d5ed2 100644 --- a/games/Makefile +++ b/games/Makefile @@ -246,6 +246,7 @@ SUBDIR += oneko SUBDIR += oneko-sakura SUBDIR += oonsoo + SUBDIR += openglad SUBDIR += pengpong SUBDIR += penguin-command SUBDIR += pentix diff --git a/games/openglad/Makefile b/games/openglad/Makefile new file mode 100644 index 000000000000..dca33c57ea6e --- /dev/null +++ b/games/openglad/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: openglad +# Date created: 13 May 2003 +# Whom: Kirill Ponomarew <ponomarew@oberon.net> +# +# $FreeBSD$ +# + +PORTNAME= openglad +PORTVERSION= 0.98 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= snowstorm + +MAINTAINER= ponomarew@oberon.net +COMMENT= SDL port of an old DOS game called Gladiator + +LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \ + SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer + +SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config + +USE_REINPLACE= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes + +CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \ + CPPFLAGS="-I${X11BASE}/include" +PLIST_SUB= DOCDIR=share/doc/${PORTNAME} + +post-configure: + ${REINPLACE_CMD} -e 's|/path/to/data/dir|${LOCALBASE}/share/openglad|g' \ + ${WRKSRC}/openglad.cfg + +.include <bsd.port.mk> diff --git a/games/openglad/distinfo b/games/openglad/distinfo new file mode 100644 index 000000000000..ae58c54d9b62 --- /dev/null +++ b/games/openglad/distinfo @@ -0,0 +1 @@ +MD5 (openglad-0.98.tar.gz) = e211c0ba876a75215dd99f7925783ea4 diff --git a/games/openglad/files/patch-Makefile.in b/games/openglad/files/patch-Makefile.in new file mode 100644 index 000000000000..0f079358d5af --- /dev/null +++ b/games/openglad/files/patch-Makefile.in @@ -0,0 +1,46 @@ +--- Makefile.in.orig Tue May 13 17:07:41 2003 ++++ Makefile.in Tue May 13 17:08:30 2003 +@@ -77,7 +77,7 @@ + docs_DOCS = NEWS README ChangeLog release-notes.txt cheats.txt \ + scen.txt AUTHORS COPYING INSTALL + +-docdir = ${DESTDIR}/$(prefix)/share/doc/@PACKAGE@ ++docdir = $(prefix)/share/doc/@PACKAGE@ + + EXTRA_DIST = scen/*.fss start.tex glad.hlp openglad.cfg cheats.txt pix/*.pix \ + $(docs_DOCS) +@@ -121,20 +121,20 @@ + uninstall-info-am: + install-dataDATA: $(data_DATA) + @$(NORMAL_INSTALL) +- $(mkinstalldirs) $(DESTDIR)$(datadir) ++ $(mkinstalldirs) $(datadir) + @list='$(data_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ +- echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(datadir)/$$f"; \ +- $(INSTALL_DATA) $$d$$p $(DESTDIR)$(datadir)/$$f; \ ++ echo " $(INSTALL_DATA) $$d$$p $(datadir)/$$f"; \ ++ $(INSTALL_DATA) $$d$$p $(datadir)/$$f; \ + done + + uninstall-dataDATA: + @$(NORMAL_UNINSTALL) + @list='$(data_DATA)'; for p in $$list; do \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ +- echo " rm -f $(DESTDIR)$(datadir)/$$f"; \ +- rm -f $(DESTDIR)$(datadir)/$$f; \ ++ echo " rm -f $(datadir)/$$f"; \ ++ rm -f $(datadir)/$$f; \ + done + + # This directory's subdirectories are mostly independent; you can cd +@@ -314,7 +314,7 @@ + all-am: Makefile $(DATA) + installdirs: installdirs-recursive + installdirs-am: +- $(mkinstalldirs) $(DESTDIR)$(datadir) ++ $(mkinstalldirs) $(datadir) + install-exec: install-exec-recursive + install-data: install-data-recursive + diff --git a/games/openglad/files/patch-configure b/games/openglad/files/patch-configure new file mode 100644 index 000000000000..125bdc880da2 --- /dev/null +++ b/games/openglad/files/patch-configure @@ -0,0 +1,22 @@ +--- configure.orig Tue May 13 16:54:09 2003 ++++ configure Tue May 13 16:54:55 2003 +@@ -1643,8 +1643,8 @@ + test "x$prefix" = "xNONE" && prefix=/usr/local + test "x$exec_prefix" = "xNONE" && exec_prefix=$prefix + test "x$sysconfdir" = 'x${prefix}/etc' && sysconfdir=${prefix}/etc +-test "x$datadir" = 'x${prefix}/share' && datadir=${prefix}/share/games/openglad +-test "x$bindir" = 'x${exec_prefix}/bin' && bindir=${exec_prefix}/games ++test "x$datadir" = 'x${prefix}/share' && datadir=${prefix}/share/openglad ++test "x$bindir" = 'x${exec_prefix}/bin' && bindir=${exec_prefix}/bin + + + cat >>confdefs.h <<_ACEOF +@@ -1653,7 +1653,7 @@ + + + cat >>confdefs.h <<_ACEOF +-#define DATADIR "$datadir/" ++#define DATADIR "$datadir" + _ACEOF + + diff --git a/games/openglad/files/patch-util.cpp b/games/openglad/files/patch-util.cpp new file mode 100644 index 000000000000..7656ef45f7e7 --- /dev/null +++ b/games/openglad/files/patch-util.cpp @@ -0,0 +1,18 @@ +--- src/util.cpp.orig Tue Oct 1 20:41:14 2002 ++++ src/util.cpp Tue May 13 16:10:35 2003 +@@ -160,6 +160,7 @@ + if (cfg.query("dirs", "data")) + { + filepath = cfg.query("dirs", "data"); ++ filepath += "/"; + filepath += pos_dir; + filepath += file; + +@@ -171,6 +172,7 @@ + } + + filepath = DATADIR; ++ filepath += "/"; + filepath += pos_dir; + filepath += file; + diff --git a/games/openglad/pkg-descr b/games/openglad/pkg-descr new file mode 100644 index 000000000000..3d5cd34e28ab --- /dev/null +++ b/games/openglad/pkg-descr @@ -0,0 +1,6 @@ +Openglad is a port of the open-sourced dos game known as +Gladiator (http://fsgames.com/glad/). It is a top-view gauntlet +style RPG that features fast paced multiplayer action, several +different classes, and a scenario editor. + +WWW: http://snowstorm.sourceforge.net diff --git a/games/openglad/pkg-plist b/games/openglad/pkg-plist new file mode 100644 index 000000000000..9fd0211e4738 --- /dev/null +++ b/games/openglad/pkg-plist @@ -0,0 +1,36 @@ +bin/openglad +bin/openscen +%%PORTDOCS%%%%DOCDIR%%/AUTHORS +%%PORTDOCS%%%%DOCDIR%%/COPYING +%%PORTDOCS%%%%DOCDIR%%/ChangeLog +%%PORTDOCS%%%%DOCDIR%%/INSTALL +%%PORTDOCS%%%%DOCDIR%%/NEWS +%%PORTDOCS%%%%DOCDIR%%/README +%%PORTDOCS%%%%DOCDIR%%/cheats.txt +%%PORTDOCS%%%%DOCDIR%%/release-notes.txt +%%PORTDOCS%%%%DOCDIR%%/scen.txt +share/openglad/glad.hlp +share/openglad/graphics.001 +share/openglad/levels.001 +share/openglad/openglad.cfg +share/openglad/sound/blast1.wav +share/openglad/sound/bolt1.wav +share/openglad/sound/boom.wav +share/openglad/sound/charge.wav +share/openglad/sound/clang.wav +share/openglad/sound/die1.wav +share/openglad/sound/die2.wav +share/openglad/sound/eat.wav +share/openglad/sound/explode1.wav +share/openglad/sound/faerie1.wav +share/openglad/sound/fwip.wav +share/openglad/sound/heal1.wav +share/openglad/sound/money.wav +share/openglad/sound/roar.wav +share/openglad/sound/teleport.wav +share/openglad/sound/twang.wav +share/openglad/sound/yo.wav +share/openglad/start.tex +@dirrm share/openglad/sound +@dirrm share/openglad +%%PORTDOCS%%@dirrm %%DOCDIR%% |