mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Add openglad 0.98, an SDL port of an old DOS game called Gladiator.
PR: 52178 Submitted by: Kirill Ponomarew <ponomarew@oberon.net>
This commit is contained in:
parent
9173f05631
commit
b5992f650e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80956
@ -246,6 +246,7 @@
|
||||
SUBDIR += oneko
|
||||
SUBDIR += oneko-sakura
|
||||
SUBDIR += oonsoo
|
||||
SUBDIR += openglad
|
||||
SUBDIR += pengpong
|
||||
SUBDIR += penguin-command
|
||||
SUBDIR += pentix
|
||||
|
34
games/openglad/Makefile
Normal file
34
games/openglad/Makefile
Normal file
@ -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>
|
1
games/openglad/distinfo
Normal file
1
games/openglad/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (openglad-0.98.tar.gz) = e211c0ba876a75215dd99f7925783ea4
|
46
games/openglad/files/patch-Makefile.in
Normal file
46
games/openglad/files/patch-Makefile.in
Normal file
@ -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
|
||||
|
22
games/openglad/files/patch-configure
Normal file
22
games/openglad/files/patch-configure
Normal file
@ -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
|
||||
|
||||
|
18
games/openglad/files/patch-util.cpp
Normal file
18
games/openglad/files/patch-util.cpp
Normal file
@ -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;
|
||||
|
6
games/openglad/pkg-descr
Normal file
6
games/openglad/pkg-descr
Normal file
@ -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
|
36
games/openglad/pkg-plist
Normal file
36
games/openglad/pkg-plist
Normal file
@ -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%%
|
Loading…
Reference in New Issue
Block a user