diff options
author | wiz <wiz> | 2002-11-15 17:28:57 +0000 |
---|---|---|
committer | wiz <wiz> | 2002-11-15 17:28:57 +0000 |
commit | 83cc671f15e99d58898739bd066e2437cb74d15f (patch) | |
tree | 15bf3f76c921085248bbf5f11857697fda235437 /games | |
parent | f7edb027de0e2b7a123953ea549a080103b4f850 (diff) | |
download | pkgsrc-83cc671f15e99d58898739bd066e2437cb74d15f.tar.gz |
Initial import of lgeneral-1.1.1.
LGeneral is a turn-based strategy engine heavily inspired by Panzer
General. You play single scenarios or whole campaigns turn by turn
against a human player or the AI. Entrenchment, rugged defense,
defensive fire, surprise contacts, surrender, unit supply, weather
influence, reinforcements and other implementations contribute to
the tactical and strategic depth of the game.
Diffstat (limited to 'games')
-rw-r--r-- | games/lgeneral/DESCR | 6 | ||||
-rw-r--r-- | games/lgeneral/Makefile | 20 | ||||
-rw-r--r-- | games/lgeneral/PLIST | 61 | ||||
-rw-r--r-- | games/lgeneral/distinfo | 6 | ||||
-rw-r--r-- | games/lgeneral/patches/patch-aa | 12 | ||||
-rw-r--r-- | games/lgeneral/patches/patch-ab | 34 |
6 files changed, 139 insertions, 0 deletions
diff --git a/games/lgeneral/DESCR b/games/lgeneral/DESCR new file mode 100644 index 00000000000..570c2314cf2 --- /dev/null +++ b/games/lgeneral/DESCR @@ -0,0 +1,6 @@ +LGeneral is a turn-based strategy engine heavily inspired by Panzer +General. You play single scenarios or whole campaigns turn by turn +against a human player or the AI. Entrenchment, rugged defense, +defensive fire, surprise contacts, surrender, unit supply, weather +influence, reinforcements and other implementations contribute to +the tactical and strategic depth of the game. diff --git a/games/lgeneral/Makefile b/games/lgeneral/Makefile new file mode 100644 index 00000000000..a2abf13acec --- /dev/null +++ b/games/lgeneral/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/11/15 17:28:57 wiz Exp $ +# + +DISTNAME= lgeneral-1.1.1 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lgeneral/} + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://lgames.sourceforge.net/index.php?project=LGeneral +COMMENT= Panzer General play-a-like, uses Panzer General data files + +GNU_CONFIGURE= YES +USE_BUILDLINK2= YES +USE_X11= YES + +CONFIGURE_ARGS+= --disable-dl + +.include "../../devel/SDL/buildlink2.mk" +.include "../../audio/SDL-mixer/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/games/lgeneral/PLIST b/games/lgeneral/PLIST new file mode 100644 index 00000000000..4e59f592f6b --- /dev/null +++ b/games/lgeneral/PLIST @@ -0,0 +1,61 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/11/15 17:28:57 wiz Exp $ +bin/lgeneral +share/games/lgeneral/gfx/font_credit.bmp +share/games/lgeneral/gfx/title.bmp +share/games/lgeneral/themes/default/bkgnd.bmp +share/games/lgeneral/themes/default/brief_frame.bmp +share/games/lgeneral/themes/default/click.wav +share/games/lgeneral/themes/default/confirm_buttons.bmp +share/games/lgeneral/themes/default/ctrl_buttons.bmp +share/games/lgeneral/themes/default/cursors.bmp +share/games/lgeneral/themes/default/deploy_buttons.bmp +share/games/lgeneral/themes/default/edit.wav +share/games/lgeneral/themes/default/folder.bmp +share/games/lgeneral/themes/default/font_brief.bmp +share/games/lgeneral/themes/default/font_error.bmp +share/games/lgeneral/themes/default/font_status.bmp +share/games/lgeneral/themes/default/font_std.bmp +share/games/lgeneral/themes/default/font_turn_info.bmp +share/games/lgeneral/themes/default/fr_hori.bmp +share/games/lgeneral/themes/default/fr_llc.bmp +share/games/lgeneral/themes/default/fr_luc.bmp +share/games/lgeneral/themes/default/fr_rlc.bmp +share/games/lgeneral/themes/default/fr_ruc.bmp +share/games/lgeneral/themes/default/fr_vert.bmp +share/games/lgeneral/themes/default/menu0_buttons.bmp +share/games/lgeneral/themes/default/menu1_buttons.bmp +share/games/lgeneral/themes/default/menu2_buttons.bmp +share/games/lgeneral/themes/default/menu3_buttons.bmp +share/games/lgeneral/themes/default/menu4_buttons.bmp +share/games/lgeneral/themes/default/module_buttons.bmp +share/games/lgeneral/themes/default/scen_dlg_buttons.bmp +share/games/lgeneral/themes/default/scroll_buttons.bmp +share/games/lgeneral/themes/default/setup_confirm_buttons.bmp +share/games/lgeneral/themes/default/unit_buttons.bmp +share/games/lgeneral/themes/default/wallpaper.bmp +@exec ${MKDIR} %D/share/games/lgeneral/units +@dirrm share/games/lgeneral/units +@dirrm share/games/lgeneral/themes/default +@dirrm share/games/lgeneral/themes +@exec ${MKDIR} %D/share/games/lgeneral/sounds +@dirrm share/games/lgeneral/sounds +@exec ${MKDIR} %D/share/games/lgeneral/scenarios +@dirrm share/games/lgeneral/scenarios +@exec ${MKDIR} %D/share/games/lgeneral/nations +@dirrm share/games/lgeneral/nations +@exec ${MKDIR} %D/share/games/lgeneral/music +@dirrm share/games/lgeneral/music +@exec ${MKDIR} %D/share/games/lgeneral/maps +@dirrm share/games/lgeneral/maps +@exec ${MKDIR} %D/share/games/lgeneral/gfx/units +@dirrm share/games/lgeneral/gfx/units +@exec ${MKDIR} %D/share/games/lgeneral/gfx/terrain +@dirrm share/games/lgeneral/gfx/terrain +@exec ${MKDIR} %D/share/games/lgeneral/gfx/flags +@dirrm share/games/lgeneral/gfx/flags +@dirrm share/games/lgeneral/gfx +@exec ${MKDIR} %D/share/games/lgeneral/campaigns +@dirrm share/games/lgeneral/campaigns +@exec ${MKDIR} %D/share/games/lgeneral/ai_modules +@dirrm share/games/lgeneral/ai_modules +@dirrm share/games/lgeneral diff --git a/games/lgeneral/distinfo b/games/lgeneral/distinfo new file mode 100644 index 00000000000..e68ffc1e542 --- /dev/null +++ b/games/lgeneral/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/11/15 17:28:57 wiz Exp $ + +SHA1 (lgeneral-1.1.1.tar.gz) = 37ce2f59ec4654893fa864a7582981683e389df8 +Size (lgeneral-1.1.1.tar.gz) = 588698 bytes +SHA1 (patch-aa) = ae6f56a9efb5024e5160d2b05aba73d26cecd16b +SHA1 (patch-ab) = 118eaa7e52e793eed9e2518f373d400dff4f9d51 diff --git a/games/lgeneral/patches/patch-aa b/games/lgeneral/patches/patch-aa new file mode 100644 index 00000000000..82fa4b529ac --- /dev/null +++ b/games/lgeneral/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/11/15 17:28:57 wiz Exp $ + +--- configure.orig Thu Aug 15 10:40:40 2002 ++++ configure +@@ -1132,7 +1132,6 @@ EOF + + else + echo "$ac_t""no" 1>&6 +-{ echo "configure: error: dl library is needed" 1>&2; exit 1; } + fi + + diff --git a/games/lgeneral/patches/patch-ab b/games/lgeneral/patches/patch-ab new file mode 100644 index 00000000000..41e7b394b11 --- /dev/null +++ b/games/lgeneral/patches/patch-ab @@ -0,0 +1,34 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/11/15 17:28:57 wiz Exp $ + +--- src/audio.c.orig Thu Aug 8 11:02:58 2002 ++++ src/audio.c +@@ -87,6 +87,7 @@ void audio_set_volume( int level ) + } + void audio_fade_out( int channel, int ms ) + { ++ if ( !audio_ok ) return; + Mix_FadeOutChannel( channel, ms ); + } + +@@ -113,6 +114,7 @@ Wav* wav_load( char *fname, int channel + } + void wav_free( Wav *wav ) + { ++ if ( !audio_ok ) return; + if ( wav ) { + if ( wav->chunk ) + Mix_FreeChunk( wav->chunk ); +@@ -132,11 +134,13 @@ void wav_play( Wav *wav ) + } + void wav_play_at( Wav *wav, int channel ) + { ++ if ( !audio_ok ) return; + wav->channel = channel; + wav_play( wav ); + } + void wav_fade_out( Wav *wav, int ms ) + { ++ if ( !audio_ok ) return; + Mix_FadeOutChannel( wav->channel, ms ); + } + |