From 51e5b99ec5738cd684ee208a2031dd81697cc3fa Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Tue, 19 Nov 2002 13:47:13 +0000 Subject: add lgeneral 1.1.1 A turn-based strategy engine inspired by Panzer General PR: 45033 Submitted by: Filippo Natali --- games/lgeneral/Makefile | 23 ++++++++++ games/lgeneral/distinfo | 1 + games/lgeneral/files/patch-configure | 88 ++++++++++++++++++++++++++++++++++++ games/lgeneral/pkg-comment | 1 + games/lgeneral/pkg-descr | 7 +++ games/lgeneral/pkg-plist | 50 ++++++++++++++++++++ 6 files changed, 170 insertions(+) create mode 100644 games/lgeneral/Makefile create mode 100644 games/lgeneral/distinfo create mode 100644 games/lgeneral/files/patch-configure create mode 100644 games/lgeneral/pkg-comment create mode 100644 games/lgeneral/pkg-descr create mode 100644 games/lgeneral/pkg-plist (limited to 'games/lgeneral') diff --git a/games/lgeneral/Makefile b/games/lgeneral/Makefile new file mode 100644 index 000000000000..0d234fbfc077 --- /dev/null +++ b/games/lgeneral/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: lgeneral +# Date created: 27 Aug 2002 +# Whom: Filippo Natali +# +# $FreeBSD$ +# + +PORTNAME= lgeneral +PORTVERSION= 1.1.1 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= lgeneral + +MAINTAINER= filippo@widestore.net + +LIB_DEPENDS= SDL-1.1.4:${PORTSDIR}/devel/sdl12 + +SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config +CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" + +GNU_CONFIGURE= yes + +.include diff --git a/games/lgeneral/distinfo b/games/lgeneral/distinfo new file mode 100644 index 000000000000..15322f5050bd --- /dev/null +++ b/games/lgeneral/distinfo @@ -0,0 +1 @@ +MD5 (lgeneral-1.1.1.tar.gz) = 18b88069c91e7e7c75cc44a9aa90d0d9 diff --git a/games/lgeneral/files/patch-configure b/games/lgeneral/files/patch-configure new file mode 100644 index 000000000000..d8f7c91caf44 --- /dev/null +++ b/games/lgeneral/files/patch-configure @@ -0,0 +1,88 @@ +--- configure.orig Thu Aug 15 10:40:40 2002 ++++ configure Wed Aug 28 09:00:22 2002 +@@ -1091,49 +1091,49 @@ + { echo "configure: error: maths library is needed" 1>&2; exit 1; } + fi + +-echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6 +-echo "configure:1096: checking for main in -ldl" >&5 +-ac_lib_var=`echo dl'_'main | sed 'y%./+-%__p_%'` +-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then +- echo $ac_n "(cached) $ac_c" 1>&6 +-else +- ac_save_LIBS="$LIBS" +-LIBS="-ldl $LIBS" +-cat > conftest.$ac_ext <&6 ++#echo "configure:1096: checking for main in -ldl" >&5 ++#ac_lib_var=`echo dl'_'main | sed 'y%./+-%__p_%'` ++#if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then ++# echo $ac_n "(cached) $ac_c" 1>&6 ++#else ++# ac_save_LIBS="$LIBS" ++#LIBS="-ldl $LIBS" ++#cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +- rm -rf conftest* +- eval "ac_cv_lib_$ac_lib_var=yes" +-else +- echo "configure: failed program was:" >&5 +- cat conftest.$ac_ext >&5 +- rm -rf conftest* +- eval "ac_cv_lib_$ac_lib_var=no" +-fi +-rm -f conftest* +-LIBS="$ac_save_LIBS" ++#int main() { ++#main() ++#; return 0; } ++#EOF ++#if { (eval echo configure:1111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++# rm -rf conftest* ++# eval "ac_cv_lib_$ac_lib_var=yes" ++#else ++# echo "configure: failed program was:" >&5 ++# cat conftest.$ac_ext >&5 ++# rm -rf conftest* ++# eval "ac_cv_lib_$ac_lib_var=no" ++#fi ++#rm -f conftest* ++#LIBS="$ac_save_LIBS" + +-fi +-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then +- echo "$ac_t""yes" 1>&6 +- ac_tr_lib=HAVE_LIB`echo dl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ +- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` +- cat >> confdefs.h <&6 ++# ac_tr_lib=HAVE_LIB`echo dl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ ++# -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` ++# cat >> confdefs.h <&6 +-{ echo "configure: error: dl library is needed" 1>&2; exit 1; } +-fi ++#else ++# echo "$ac_t""no" 1>&6 ++#{ echo "configure: error: dl library is needed" 1>&2; exit 1; } ++#fi + + + # Check whether --with-sdl-prefix or --without-sdl-prefix was given. diff --git a/games/lgeneral/pkg-comment b/games/lgeneral/pkg-comment new file mode 100644 index 000000000000..df5275a3fda8 --- /dev/null +++ b/games/lgeneral/pkg-comment @@ -0,0 +1 @@ +A turn-based strategy engine inspired by Panzer General diff --git a/games/lgeneral/pkg-descr b/games/lgeneral/pkg-descr new file mode 100644 index 000000000000..1536b9957847 --- /dev/null +++ b/games/lgeneral/pkg-descr @@ -0,0 +1,7 @@ +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. + +WWW: http://lgames.sourceforge.net/index.php?project=LGeneral diff --git a/games/lgeneral/pkg-plist b/games/lgeneral/pkg-plist new file mode 100644 index 000000000000..5877c114f6c8 --- /dev/null +++ b/games/lgeneral/pkg-plist @@ -0,0 +1,50 @@ +bin/lgeneral +share/games/lgeneral/gfx/font_credit.bmp +share/games/lgeneral/gfx/title.bmp +share/games/lgeneral/themes/default/click.wav +share/games/lgeneral/themes/default/edit.wav +share/games/lgeneral/themes/default/bkgnd.bmp +share/games/lgeneral/themes/default/brief_frame.bmp +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/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 +@dirrm share/games/lgeneral/gfx/terrain +@dirrm share/games/lgeneral/gfx/units +@dirrm share/games/lgeneral/gfx/flags +@dirrm share/games/lgeneral/themes/default +@dirrm share/games/lgeneral/campaigns +@dirrm share/games/lgeneral/maps +@dirrm share/games/lgeneral/nations +@dirrm share/games/lgeneral/sounds +@dirrm share/games/lgeneral/music +@dirrm share/games/lgeneral/units +@dirrm share/games/lgeneral/scenarios +@dirrm share/games/lgeneral/ai_modules +@dirrm share/games/lgeneral/gfx +@dirrm share/games/lgeneral/themes +@dirrm share/games/lgeneral +@dirrm share/games -- cgit v1.2.3