Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Aug 2002 00:28:07 -0700 (PDT)
From:      Filippo Natali <filippo@widestore.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/42111: New port: lgeneral, a turn based strategy game inspired by Panzer General
Message-ID:  <200208280728.g7S7S7VA094542@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         42111
>Category:       ports
>Synopsis:       New port: lgeneral, a turn based strategy game inspired by Panzer General
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 28 00:30:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Filippo Natali
>Release:        FreeBSD 4.6 STABLE
>Organization:
Widestore srl
>Environment:
FreeBSD cagnina.hq.widestore.net 4.6-STABLE FreeBSD 4.6-STABLE #12: Sat Aug 24 12:44:19 CEST 2002     filippo@cagnina.hq.widestore.net:/usr/obj/usr/src/sys/CAGNINA  i386
>Description:
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, eather influence, reinforcements and other implementations contribute to the tactical and strategic depth of the game.

WWW: http://lgames.sourceforge.net/index.php?project=LGeneral
>How-To-Repeat:
      
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       lgeneral
#       lgeneral/distinfo
#       lgeneral/Makefile
#       lgeneral/pkg-comment
#       lgeneral/pkg-descr
#       lgeneral/pkg-plist
#       lgeneral/files
#       lgeneral/files/patch-aa
#
echo c - lgeneral
mkdir -p lgeneral > /dev/null 2>&1
echo x - lgeneral/distinfo
sed 's/^X//' >lgeneral/distinfo << 'END-of-lgeneral/distinfo'
XMD5 (lgeneral-1.1.1.tar.gz) = 18b88069c91e7e7c75cc44a9aa90d0d9
END-of-lgeneral/distinfo
echo x - lgeneral/Makefile
sed 's/^X//' >lgeneral/Makefile << 'END-of-lgeneral/Makefile'
X# New ports collection makefile for:   lgeneral
X# Date created:                27 Aug 2002
X# Whom:                        Filippo Natali <filippo@widestore.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=      lgeneral
XPORTVERSION=   1.1.1
XCATEGORIES=    games
XMASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=     lgeneral
X
XMAINTAINER=    filippo@widestore.net
X
XLIB_DEPENDS=    SDL-1.1.4:${PORTSDIR}/devel/sdl12
X
XSDL_CONFIG=     ${LOCALBASE}/bin/sdl11-config
XCONFIGURE_ENV=  SDL_CONFIG="${SDL_CONFIG}"
X
XGNU_CONFIGURE= yes
X.include <bsd.port.mk>
END-of-lgeneral/Makefile
echo x - lgeneral/pkg-comment
sed 's/^X//' >lgeneral/pkg-comment << 'END-of-lgeneral/pkg-comment'
XA turn-based strategy engine inspired by Panzer General
END-of-lgeneral/pkg-comment
echo x - lgeneral/pkg-descr
sed 's/^X//' >lgeneral/pkg-descr << 'END-of-lgeneral/pkg-descr'
XLGeneral is a turn-based strategy engine heavily inspired by Panzer General.
XYou play single scenarios or whole campaigns turn by turn against a human 
Xplayer or the AI. Entrenchment, rugged defense, defensive fire, surprise 
Xcontacts, surrender, unit supply, weather influence, reinforcements and other 
Ximplementations contribute to the tactical and strategic depth of the game.
X
XWWW: http://lgames.sourceforge.net/index.php?project=LGeneral
END-of-lgeneral/pkg-descr
echo x - lgeneral/pkg-plist
sed 's/^X//' >lgeneral/pkg-plist << 'END-of-lgeneral/pkg-plist'
Xbin/lgeneral
Xshare/games/lgeneral/gfx/font_credit.bmp
Xshare/games/lgeneral/gfx/title.bmp
Xshare/games/lgeneral/themes/default/click.wav
Xshare/games/lgeneral/themes/default/edit.wav
Xshare/games/lgeneral/themes/default/bkgnd.bmp
Xshare/games/lgeneral/themes/default/brief_frame.bmp
Xshare/games/lgeneral/themes/default/confirm_buttons.bmp
Xshare/games/lgeneral/themes/default/ctrl_buttons.bmp
Xshare/games/lgeneral/themes/default/cursors.bmp
Xshare/games/lgeneral/themes/default/deploy_buttons.bmp
Xshare/games/lgeneral/themes/default/folder.bmp
Xshare/games/lgeneral/themes/default/font_brief.bmp
Xshare/games/lgeneral/themes/default/font_error.bmp
Xshare/games/lgeneral/themes/default/font_status.bmp
Xshare/games/lgeneral/themes/default/font_std.bmp
Xshare/games/lgeneral/themes/default/font_turn_info.bmp
Xshare/games/lgeneral/themes/default/fr_hori.bmp
Xshare/games/lgeneral/themes/default/fr_llc.bmp
Xshare/games/lgeneral/themes/default/fr_luc.bmp
Xshare/games/lgeneral/themes/default/fr_rlc.bmp
Xshare/games/lgeneral/themes/default/fr_ruc.bmp
Xshare/games/lgeneral/themes/default/fr_vert.bmp
Xshare/games/lgeneral/themes/default/menu0_buttons.bmp
Xshare/games/lgeneral/themes/default/menu1_buttons.bmp
Xshare/games/lgeneral/themes/default/menu2_buttons.bmp
Xshare/games/lgeneral/themes/default/menu3_buttons.bmp
Xshare/games/lgeneral/themes/default/menu4_buttons.bmp
Xshare/games/lgeneral/themes/default/module_buttons.bmp
Xshare/games/lgeneral/themes/default/scen_dlg_buttons.bmp
Xshare/games/lgeneral/themes/default/scroll_buttons.bmp
Xshare/games/lgeneral/themes/default/setup_confirm_buttons.bmp
Xshare/games/lgeneral/themes/default/unit_buttons.bmp
Xshare/games/lgeneral/themes/default/wallpaper.bmp
X@dirrm share/games/lgeneral/gfx/terrain
X@dirrm share/games/lgeneral/gfx/units
X@dirrm share/games/lgeneral/gfx/flags
X@dirrm share/games/lgeneral/themes/default
X@dirrm share/games/lgeneral/campaigns
X@dirrm share/games/lgeneral/maps
X@dirrm share/games/lgeneral/nations
X@dirrm share/games/lgeneral/sounds
X@dirrm share/games/lgeneral/music
X@dirrm share/games/lgeneral/units
X@dirrm share/games/lgeneral/scenarios
X@dirrm share/games/lgeneral/ai_modules
X@dirrm share/games/lgeneral/gfx
X@dirrm share/games/lgeneral/themes
X@dirrm share/games/lgeneral
X@dirrm share/games/
X
END-of-lgeneral/pkg-plist
echo c - lgeneral/files
mkdir -p lgeneral/files > /dev/null 2>&1
echo x - lgeneral/files/patch-aa
sed 's/^X//' >lgeneral/files/patch-aa << 'END-of-lgeneral/files/patch-aa'
X--- configure.orig     Thu Aug 15 10:40:40 2002
X+++ configure  Wed Aug 28 09:00:22 2002
X@@ -1091,49 +1091,49 @@
X { echo "configure: error: maths library is needed" 1>&2; exit 1; }
X fi
X 
X-echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6
X-echo "configure:1096: checking for main in -ldl" >&5
X-ac_lib_var=`echo dl'_'main | sed 'y%./+-%__p_%'`
X-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
X-  echo $ac_n "(cached) $ac_c" 1>&6
X-else
X-  ac_save_LIBS="$LIBS"
X-LIBS="-ldl  $LIBS"
X-cat > conftest.$ac_ext <<EOF
X+#echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6
X+#echo "configure:1096: checking for main in -ldl" >&5
X+#ac_lib_var=`echo dl'_'main | sed 'y%./+-%__p_%'`
X+#if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
X+#  echo $ac_n "(cached) $ac_c" 1>&6
X+#else
X+#  ac_save_LIBS="$LIBS"
X+#LIBS="-ldl  $LIBS"
X+#cat > conftest.$ac_ext <<EOF
X #line 1104 "configure"
X #include "confdefs.h"
X 
X-int main() {
X-main()
X-; return 0; }
X-EOF
X-if { (eval echo configure:1111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
X-  rm -rf conftest*
X-  eval "ac_cv_lib_$ac_lib_var=yes"
X-else
X-  echo "configure: failed program was:" >&5
X-  cat conftest.$ac_ext >&5
X-  rm -rf conftest*
X-  eval "ac_cv_lib_$ac_lib_var=no"
X-fi
X-rm -f conftest*
X-LIBS="$ac_save_LIBS"
X+#int main() {
X+#main()
X+#; return 0; }
X+#EOF
X+#if { (eval echo configure:1111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
X+#  rm -rf conftest*
X+#  eval "ac_cv_lib_$ac_lib_var=yes"
X+#else
X+#  echo "configure: failed program was:" >&5
X+#  cat conftest.$ac_ext >&5
X+#  rm -rf conftest*
X+#  eval "ac_cv_lib_$ac_lib_var=no"
X+#fi
X+#rm -f conftest*
X+#LIBS="$ac_save_LIBS"
X 
X-fi
X-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
X-  echo "$ac_t""yes" 1>&6
X-    ac_tr_lib=HAVE_LIB`echo dl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
X-    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
X-  cat >> confdefs.h <<EOF
X+#fi
X+#if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
X+#  echo "$ac_t""yes" 1>&6
X+#    ac_tr_lib=HAVE_LIB`echo dl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
X+#    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
X+#  cat >> confdefs.h <<EOF
X #define $ac_tr_lib 1
X-EOF
X+#EOF
X 
X-  LIBS="-ldl $LIBS"
X+#  LIBS="-ldl $LIBS"
X 
X-else
X-  echo "$ac_t""no" 1>&6
X-{ echo "configure: error: dl library is needed" 1>&2; exit 1; }
X-fi
X+#else
X+#  echo "$ac_t""no" 1>&6
X+#{ echo "configure: error: dl library is needed" 1>&2; exit 1; }
X+#fi
X 
X 
X # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
END-of-lgeneral/files/patch-aa
exit
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208280728.g7S7S7VA094542>