- Update to 1.2.
PR: ports/151546 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
parent
a9ef724386
commit
a7f8afdf79
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=264712
5 changed files with 136 additions and 167 deletions
|
@ -6,22 +6,48 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= lgeneral
|
PORTNAME= lgeneral
|
||||||
PORTVERSION= 1.1.1
|
PORTVERSION= 1.2
|
||||||
PORTREVISION= 7
|
|
||||||
CATEGORIES= games
|
CATEGORIES= games
|
||||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-engine/1.1
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= A turn-based strategy engine inspired by Panzer General
|
COMMENT= A turn-based strategy engine inspired by Panzer General
|
||||||
|
|
||||||
USE_SDL= sdl
|
USE_SDL= sdl
|
||||||
|
USE_GMAKE= yes
|
||||||
|
GNU_CONFIGURE= yes
|
||||||
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||||
|
|
||||||
.ifndef (WITHOUT_SOUND)
|
MAN1= lgc-pg.1
|
||||||
USE_SDL= mixer
|
MAN6= lgeneral.6
|
||||||
.else
|
|
||||||
|
CPPFLAGS= -I${LOCALBASE}/include
|
||||||
|
LDFLAGS= -L${LOCALBASE}/lib
|
||||||
|
|
||||||
|
.if defined(WITHOUT_SOUND)
|
||||||
CONFIGURE_ARGS+=--disable-sound
|
CONFIGURE_ARGS+=--disable-sound
|
||||||
|
.else
|
||||||
|
USE_SDL+= mixer
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
.if defined(WITHOUT_NLS)
|
||||||
|
CONFIGURE_ENV+= am_cv_func_iconv=no
|
||||||
|
CONFIGURE_ARGS+=--disable-nls
|
||||||
|
PLIST_SUB+= NLS="@comment "
|
||||||
|
.else
|
||||||
|
USE_GETTEXT= yes
|
||||||
|
PLIST_SUB+= NLS=""
|
||||||
|
.endif
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
@${REINPLACE_CMD} -e 's|-g -Wall|-Wall| ; \
|
||||||
|
s|/games||' ${WRKSRC}/configure
|
||||||
|
@${REINPLACE_CMD} -e 's|/icons|/pixmaps|' ${WRKSRC}/Makefile.in
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
.if !defined(NOPORTDOCS)
|
||||||
|
@${MKDIR} ${DOCSDIR}
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/README.* ${DOCSDIR}
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
MD5 (lgeneral-1.1.1.tar.gz) = 18b88069c91e7e7c75cc44a9aa90d0d9
|
MD5 (lgeneral-1.2.tar.gz) = a34eae8bc2c05cfa81fe9a9994988613
|
||||||
SHA256 (lgeneral-1.1.1.tar.gz) = 182513e8662251fabbaa782c575b2d96d8d135f20892c3a58112f755c82f9a8b
|
SHA256 (lgeneral-1.2.tar.gz) = 00bdf242c64c544511f359576f5bae799336f23b81849225ac29d7e61c687ce3
|
||||||
SIZE (lgeneral-1.1.1.tar.gz) = 588698
|
SIZE (lgeneral-1.2.tar.gz) = 1727728
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
--- src/Makefile.in Thu Aug 15 04:40:49 2002
|
|
||||||
+++ src/Makefile.in Tue Aug 26 21:07:10 2003
|
|
||||||
@@ -102,5 +102,5 @@
|
|
||||||
campaign.o strat_map.o ai.o engine.o ai_group.o
|
|
||||||
lgeneral_DEPENDENCIES =
|
|
||||||
-CFLAGS = @CFLAGS@
|
|
||||||
+CFLAGS += @CFLAGS@
|
|
||||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
CCLD = $(CC)
|
|
|
@ -1,88 +0,0 @@
|
||||||
--- 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 <<EOF
|
|
||||||
+#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 <<EOF
|
|
||||||
#line 1104 "configure"
|
|
||||||
#include "confdefs.h"
|
|
||||||
|
|
||||||
-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"
|
|
||||||
+#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 <<EOF
|
|
||||||
+#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 <<EOF
|
|
||||||
#define $ac_tr_lib 1
|
|
||||||
-EOF
|
|
||||||
+#EOF
|
|
||||||
|
|
||||||
- LIBS="-ldl $LIBS"
|
|
||||||
+# LIBS="-ldl $LIBS"
|
|
||||||
|
|
||||||
-else
|
|
||||||
- echo "$ac_t""no" 1>&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.
|
|
|
@ -1,61 +1,101 @@
|
||||||
|
bin/lgc-pg
|
||||||
|
bin/lged
|
||||||
bin/lgeneral
|
bin/lgeneral
|
||||||
share/games/lgeneral/gfx/font_credit.bmp
|
bin/ltrextract
|
||||||
share/games/lgeneral/gfx/title.bmp
|
bin/shptool
|
||||||
share/games/lgeneral/themes/default/click.wav
|
share/applications/lgeneral.desktop
|
||||||
share/games/lgeneral/themes/default/edit.wav
|
%%PORTDOCS%%%%DOCSDIR%%/README.lgc-pg
|
||||||
share/games/lgeneral/themes/default/bkgnd.bmp
|
%%PORTDOCS%%%%DOCSDIR%%/README.lgeneral
|
||||||
share/games/lgeneral/themes/default/brief_frame.bmp
|
%%PORTDOCS%%%%DOCSDIR%%/README.redit
|
||||||
share/games/lgeneral/themes/default/confirm_buttons.bmp
|
%%DATADIR%%/campaigns/PG
|
||||||
share/games/lgeneral/themes/default/ctrl_buttons.bmp
|
%%DATADIR%%/convdata/air.wav
|
||||||
share/games/lgeneral/themes/default/cursors.bmp
|
%%DATADIR%%/convdata/air2.wav
|
||||||
share/games/lgeneral/themes/default/deploy_buttons.bmp
|
%%DATADIR%%/convdata/attack.bmp
|
||||||
share/games/lgeneral/themes/default/folder.bmp
|
%%DATADIR%%/convdata/battle.wav
|
||||||
share/games/lgeneral/themes/default/font_brief.bmp
|
%%DATADIR%%/convdata/crosshair.bmp
|
||||||
share/games/lgeneral/themes/default/font_error.bmp
|
%%DATADIR%%/convdata/damage_bars.bmp
|
||||||
share/games/lgeneral/themes/default/font_status.bmp
|
%%DATADIR%%/convdata/danger.bmp
|
||||||
share/games/lgeneral/themes/default/font_std.bmp
|
%%DATADIR%%/convdata/fog.bmp
|
||||||
share/games/lgeneral/themes/default/font_turn_info.bmp
|
%%DATADIR%%/convdata/grid.bmp
|
||||||
share/games/lgeneral/themes/default/fr_hori.bmp
|
%%DATADIR%%/convdata/guard.bmp
|
||||||
share/games/lgeneral/themes/default/fr_llc.bmp
|
%%DATADIR%%/convdata/leg.wav
|
||||||
share/games/lgeneral/themes/default/fr_luc.bmp
|
%%DATADIR%%/convdata/mapnames
|
||||||
share/games/lgeneral/themes/default/fr_rlc.bmp
|
%%DATADIR%%/convdata/move.bmp
|
||||||
share/games/lgeneral/themes/default/fr_ruc.bmp
|
%%DATADIR%%/convdata/reinf
|
||||||
share/games/lgeneral/themes/default/fr_vert.bmp
|
%%DATADIR%%/convdata/road2.bmp
|
||||||
share/games/lgeneral/themes/default/menu0_buttons.bmp
|
%%DATADIR%%/convdata/sea.wav
|
||||||
share/games/lgeneral/themes/default/menu1_buttons.bmp
|
%%DATADIR%%/convdata/select.wav
|
||||||
share/games/lgeneral/themes/default/menu2_buttons.bmp
|
%%DATADIR%%/convdata/select_frame.bmp
|
||||||
share/games/lgeneral/themes/default/menu3_buttons.bmp
|
%%DATADIR%%/convdata/strength.bmp
|
||||||
share/games/lgeneral/themes/default/menu4_buttons.bmp
|
%%DATADIR%%/convdata/title.bmp
|
||||||
share/games/lgeneral/themes/default/module_buttons.bmp
|
%%DATADIR%%/convdata/tracked.wav
|
||||||
share/games/lgeneral/themes/default/scen_dlg_buttons.bmp
|
%%DATADIR%%/convdata/wheeled.wav
|
||||||
share/games/lgeneral/themes/default/scroll_buttons.bmp
|
%%DATADIR%%/gfx/font_credit.bmp
|
||||||
share/games/lgeneral/themes/default/setup_confirm_buttons.bmp
|
%%DATADIR%%/gfx/title.bmp
|
||||||
share/games/lgeneral/themes/default/unit_buttons.bmp
|
%%DATADIR%%/themes/default/bkgnd.bmp
|
||||||
share/games/lgeneral/themes/default/wallpaper.bmp
|
%%DATADIR%%/themes/default/brief_frame.bmp
|
||||||
@dirrm share/games/lgeneral/gfx/terrain
|
%%DATADIR%%/themes/default/click.wav
|
||||||
@dirrm share/games/lgeneral/gfx/units
|
%%DATADIR%%/themes/default/confirm_buttons.bmp
|
||||||
@dirrm share/games/lgeneral/gfx/flags
|
%%DATADIR%%/themes/default/ctrl_buttons.bmp
|
||||||
@dirrm share/games/lgeneral/themes/default
|
%%DATADIR%%/themes/default/cursors.bmp
|
||||||
@dirrm share/games/lgeneral/campaigns
|
%%DATADIR%%/themes/default/deploy_buttons.bmp
|
||||||
@dirrm share/games/lgeneral/maps
|
%%DATADIR%%/themes/default/edit.wav
|
||||||
@dirrm share/games/lgeneral/nations
|
%%DATADIR%%/themes/default/folder.bmp
|
||||||
@dirrm share/games/lgeneral/sounds
|
%%DATADIR%%/themes/default/font_brief.bmp
|
||||||
@dirrm share/games/lgeneral/music
|
%%DATADIR%%/themes/default/font_error.bmp
|
||||||
@dirrm share/games/lgeneral/units
|
%%DATADIR%%/themes/default/font_status.bmp
|
||||||
@dirrm share/games/lgeneral/scenarios
|
%%DATADIR%%/themes/default/font_std.bmp
|
||||||
@dirrm share/games/lgeneral/ai_modules
|
%%DATADIR%%/themes/default/font_turn_info.bmp
|
||||||
@dirrm share/games/lgeneral/gfx
|
%%DATADIR%%/themes/default/fr_hori.bmp
|
||||||
@dirrm share/games/lgeneral/themes
|
%%DATADIR%%/themes/default/fr_llc.bmp
|
||||||
@dirrm share/games/lgeneral
|
%%DATADIR%%/themes/default/fr_luc.bmp
|
||||||
@dirrm share/games
|
%%DATADIR%%/themes/default/fr_rlc.bmp
|
||||||
@exec mkdir -p %D/share/games/lgeneral/gfx/units
|
%%DATADIR%%/themes/default/fr_ruc.bmp
|
||||||
@exec mkdir -p %D/share/games/lgeneral/gfx/terrain
|
%%DATADIR%%/themes/default/fr_vert.bmp
|
||||||
@exec mkdir -p %D/share/games/lgeneral/gfx/flags
|
%%DATADIR%%/themes/default/menu0_buttons.bmp
|
||||||
@exec mkdir -p %D/share/games/lgeneral/nations
|
%%DATADIR%%/themes/default/menu1_buttons.bmp
|
||||||
@exec mkdir -p %D/share/games/lgeneral/units
|
%%DATADIR%%/themes/default/menu2_buttons.bmp
|
||||||
@exec mkdir -p %D/share/games/lgeneral/sounds
|
%%DATADIR%%/themes/default/menu3_buttons.bmp
|
||||||
@exec mkdir -p %D/share/games/lgeneral/maps
|
%%DATADIR%%/themes/default/menu4_buttons.bmp
|
||||||
@exec mkdir -p %D/share/games/lgeneral/scenarios
|
%%DATADIR%%/themes/default/module_buttons.bmp
|
||||||
@exec mkdir -p %D/share/games/lgeneral/campaigns
|
%%DATADIR%%/themes/default/scen_dlg_buttons.bmp
|
||||||
@exec mkdir -p %D/share/games/lgeneral/music
|
%%DATADIR%%/themes/default/scroll_buttons.bmp
|
||||||
@exec mkdir -p %D/share/games/lgeneral/ai_modules
|
%%DATADIR%%/themes/default/setup_confirm_buttons.bmp
|
||||||
|
%%DATADIR%%/themes/default/strength_buttons.bmp
|
||||||
|
%%DATADIR%%/themes/default/unit_buttons.bmp
|
||||||
|
%%DATADIR%%/themes/default/wallpaper.bmp
|
||||||
|
%%NLS%%share/locale/de/LC_MESSAGES/lgeneral.mo
|
||||||
|
%%NLS%%share/locale/de/LC_MESSAGES/pg.mo
|
||||||
|
%%NLS%%share/locale/en/LC_MESSAGES/lgeneral.mo
|
||||||
|
%%NLS%%share/locale/en/LC_MESSAGES/pg.mo
|
||||||
|
share/pixmaps/lgeneral48.png
|
||||||
|
@dirrmtry %%DATADIR%%/units
|
||||||
|
@dirrmtry %%DATADIR%%/themes/default
|
||||||
|
@dirrmtry %%DATADIR%%/themes
|
||||||
|
@dirrmtry %%DATADIR%%/terrain
|
||||||
|
@dirrmtry %%DATADIR%%/sounds
|
||||||
|
@dirrmtry %%DATADIR%%/scenarios
|
||||||
|
@dirrmtry %%DATADIR%%/nations
|
||||||
|
@dirrmtry %%DATADIR%%/music
|
||||||
|
@dirrmtry %%DATADIR%%/maps
|
||||||
|
@dirrmtry %%DATADIR%%/gfx/units
|
||||||
|
@dirrmtry %%DATADIR%%/gfx/terrain
|
||||||
|
@dirrmtry %%DATADIR%%/gfx/flags
|
||||||
|
@dirrmtry %%DATADIR%%/gfx
|
||||||
|
@dirrmtry %%DATADIR%%/convdata
|
||||||
|
@dirrmtry %%DATADIR%%/campaigns
|
||||||
|
@dirrmtry %%DATADIR%%/ai_modules
|
||||||
|
@dirrmtry %%DATADIR%%
|
||||||
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||||
|
@dirrmtry share/applications
|
||||||
|
@exec mkdir -p %D/share/lgeneral/ai_modules
|
||||||
|
@exec mkdir -p %D/share/lgeneral/gfx/flags
|
||||||
|
@exec mkdir -p %D/share/lgeneral/gfx/terrain
|
||||||
|
@exec mkdir -p %D/share/lgeneral/gfx/units
|
||||||
|
@exec mkdir -p %D/share/lgeneral/maps
|
||||||
|
@exec mkdir -p %D/share/lgeneral/music
|
||||||
|
@exec mkdir -p %D/share/lgeneral/nations
|
||||||
|
@exec mkdir -p %D/share/lgeneral/scenarios
|
||||||
|
@exec mkdir -p %D/share/lgeneral/sounds
|
||||||
|
@exec mkdir -p %D/share/lgeneral/terrain
|
||||||
|
@exec mkdir -p %D/share/lgeneral/units
|
||||||
|
|
Loading…
Reference in a new issue