diff --git a/freeciv/BUILD b/freeciv/BUILD new file mode 100644 index 00000000000..076c3b1e92a --- /dev/null +++ b/freeciv/BUILD @@ -0,0 +1,8 @@ +( + + sedit "s:\$datadir/locale:/usr/share/locale:" configure && + sedit "s:\$(datadir)/icons:/usr/share/icons:" data/icons/Makefile.in && + + default_game_build + +) > $C_FIFO 2>&1 diff --git a/freeciv/CONFIGURE b/freeciv/CONFIGURE new file mode 100644 index 00000000000..e5dda13b43f --- /dev/null +++ b/freeciv/CONFIGURE @@ -0,0 +1,26 @@ +mquery CLIENTS "Build clients?" y + +CLIST="" + +if [ "`get_module_config CLIENTS`" = "y" ]; then + mquery GTK "Build gtk+-2 client?" y + if [ "`get_module_config GTK`" = "y" ]; then + CLIST="${CLIST}gtk," + fi + + mquery SDL "Build SDL client?" y + if [ "`get_module_config SDL`" = "y" ]; then + CLIST="${CLIST}sdl," + fi +fi + +if [ $CLIST = "" ]; then + OPTS=$OPTS --disable-client +else + OPTS="$OPTS --enable-client=$CLIST" +fi + +mquery SERV "Build freeciv server (needed for solo games, too)?" \ + y \ + "--enable-server" \ + "--disable-server" diff --git a/freeciv/DEPENDS b/freeciv/DEPENDS new file mode 100644 index 00000000000..b810bdcee07 --- /dev/null +++ b/freeciv/DEPENDS @@ -0,0 +1,7 @@ +optional_depends "gtk+-2" "" "" "for gtk+-2 client" +optional_depends "SDL_image" "" "" "for SDL client" + +optional_depends "SDL_mixer" \ + "--enable-sdl-mixer" \ + "" \ + "to use SDL mixer with SDL client" diff --git a/freeciv/DETAILS b/freeciv/DETAILS new file mode 100644 index 00000000000..403a72ccead --- /dev/null +++ b/freeciv/DETAILS @@ -0,0 +1,24 @@ + MODULE=freeciv + VERSION=2.3.2 + SOURCE=$MODULE-$VERSION.tar.bz2 + SOURCE_URL=$SFORGE_URL/$MODULE + SOURCE_VFY=sha1:e6267b5e0483cf9c29d01793d2f9433e73d62191 + WEB_SITE=http://freeciv.wikia.com/wiki/Main_Page + ENTERED=20010922 + UPDATED=20120424 + SHORT="Reimplementation of Civilization" + +cat << EOF +Freeciv is a multiuser reimplementation for Unix/X of the famous +Microprose game of Civilization. By default, the game is an improved +Civ II, but this can be customized; modpacks for near-100% +compatibility with Civ I and Civ II are included. Multiuser gameplay is +real-time: in each turn, all human players move concurrently. The game +is designed to remain fairly playable even on poor network connections. +Freeciv can also be played on standalone machines, and its AI players +are a good challenge for beginners. The source code comes with the +server, two X clients, and non-X clients for MS Windows and Amiga. +Freeciv is released under the GNU General Public License. It is +maintained by an international team of coders and enthusiasts, and is +easily one of the most fun and addictive network games out there. +EOF