summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/freeciv-share/Makefile7
-rw-r--r--games/freeciv-share/Makefile.common26
-rw-r--r--games/freeciv-share/files/md53
-rw-r--r--games/freeciv-share/files/patch-sum4
-rw-r--r--games/freeciv-share/patches/patch-aa16
-rw-r--r--games/freeciv-share/patches/patch-ab13
-rw-r--r--games/freeciv-share/pkg/COMMENT1
-rw-r--r--games/freeciv-share/pkg/DESCR9
-rw-r--r--games/freeciv-share/pkg/PLIST89
9 files changed, 168 insertions, 0 deletions
diff --git a/games/freeciv-share/Makefile b/games/freeciv-share/Makefile
new file mode 100644
index 00000000000..ccade30181d
--- /dev/null
+++ b/games/freeciv-share/Makefile
@@ -0,0 +1,7 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/03/28 00:33:37 jlam Exp $
+
+PKGNAME= ${DISTNAME:S/-/-share-/}
+
+CONFIGURE_ARGS+= --disable-server --enable-client=no
+
+.include "../../games/freeciv-share/Makefile.common"
diff --git a/games/freeciv-share/Makefile.common b/games/freeciv-share/Makefile.common
new file mode 100644
index 00000000000..42e24a86064
--- /dev/null
+++ b/games/freeciv-share/Makefile.common
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2000/03/28 00:33:37 jlam Exp $
+
+DISTNAME= freeciv-1.10.0
+CATEGORIES= games
+MASTER_SITES= ftp://ftp.freeciv.org/pub/freeciv/stable_version \
+ http://www.freeciv.org/ftp/stable_version/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.freeciv.org/
+
+BUILD_DEPENDS+= ${LOCALBASE}/bin/autoconf:../../devel/autoconf
+DEPENDS+= gettext-0.10.*:../../devel/gettext
+
+FILESDIR= ${.CURDIR}/../../games/freeciv-share/files
+PATCHDIR= ${.CURDIR}/../../games/freeciv-share/patches
+
+GNU_CONFIGURE= # defined
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
+
+CPPFLAGS+= -I${LOCALBASE}/include # intl.h
+
+pre-configure:
+ cd ${WRKSRC}; ${LOCALBASE}/bin/autoconf
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/freeciv-share/files/md5 b/games/freeciv-share/files/md5
new file mode 100644
index 00000000000..718e3926aae
--- /dev/null
+++ b/games/freeciv-share/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/03/28 00:33:37 jlam Exp $
+
+MD5 (freeciv-1.10.0.tar.bz2) = eea2dbb9f5dfed5f33f59845b56be506
diff --git a/games/freeciv-share/files/patch-sum b/games/freeciv-share/files/patch-sum
new file mode 100644
index 00000000000..7c3dfa866c7
--- /dev/null
+++ b/games/freeciv-share/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/03/28 00:33:37 jlam Exp $
+
+MD5 (patch-aa) = 3a22a8779b6a31902d1c6b446708c296
+MD5 (patch-ab) = 0afa30243c5d1b003ea65c9aa869116e
diff --git a/games/freeciv-share/patches/patch-aa b/games/freeciv-share/patches/patch-aa
new file mode 100644
index 00000000000..e4aefd808ac
--- /dev/null
+++ b/games/freeciv-share/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/03/28 00:33:37 jlam Exp $
+
+--- configure.in.orig Mon Feb 21 13:44:28 2000
++++ configure.in Sun Mar 26 14:08:42 2000
+@@ -136,6 +136,11 @@
+ ALL_LINGUAS="de en_GB es fr hu no pl pt pt_BR ru"
+ AM_GNU_GETTEXT
+
++dnl NetBSD: set DATADIRNAME to "share"
++DATADIRNAME="share"
++INTLDEPS=
++INTLLIBS="-lintl"
++
+ dnl DATADIRNAME is generated by AM_GNU_GETTEXT;
+ dnl note this has to match the path installed by po/Makefile
+ FC_EXPAND_DIR(LOCALEDIR, '${prefix}/${DATADIRNAME}/locale')
diff --git a/games/freeciv-share/patches/patch-ab b/games/freeciv-share/patches/patch-ab
new file mode 100644
index 00000000000..0bdabd8a481
--- /dev/null
+++ b/games/freeciv-share/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/03/28 00:33:37 jlam Exp $
+
+--- po/Makefile.in.in.orig Sat Jul 17 04:46:56 1999
++++ po/Makefile.in.in Sun Mar 26 13:56:41 2000
+@@ -120,7 +120,7 @@
+ cat=`basename $$cat`; \
+ case "$$cat" in \
+ *.gmo) destdir=$(gnulocaledir);; \
+- *) destdir=$(localedir);; \
++ *) destdir=$(gnulocaledir);; \
+ esac; \
+ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
+ dir=$$destdir/$$lang/LC_MESSAGES; \
diff --git a/games/freeciv-share/pkg/COMMENT b/games/freeciv-share/pkg/COMMENT
new file mode 100644
index 00000000000..0beb3ce0078
--- /dev/null
+++ b/games/freeciv-share/pkg/COMMENT
@@ -0,0 +1 @@
+Machine independent files for Freeciv
diff --git a/games/freeciv-share/pkg/DESCR b/games/freeciv-share/pkg/DESCR
new file mode 100644
index 00000000000..4af627213c1
--- /dev/null
+++ b/games/freeciv-share/pkg/DESCR
@@ -0,0 +1,9 @@
+This archive contains Freeciv, a free Civilization clone for Unix and X.
+This version only allows multiplayer games, and limited support for AI
+players.
+
+You should check out the home page, as it contains much more information
+than this file and the online help. This is also where we'll inform people
+about new releases/bugs/fixes/competitions, etc.
+
+This package contains the machine independent files for Freeciv.
diff --git a/games/freeciv-share/pkg/PLIST b/games/freeciv-share/pkg/PLIST
new file mode 100644
index 00000000000..5900da4e41d
--- /dev/null
+++ b/games/freeciv-share/pkg/PLIST
@@ -0,0 +1,89 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/03/28 00:33:37 jlam Exp $
+share/freeciv/Freeciv
+share/freeciv/civ1.serv
+share/freeciv/civ1/buildings.ruleset
+share/freeciv/civ1/governments.ruleset
+share/freeciv/civ1/techs.ruleset
+share/freeciv/civ1/terrain.ruleset
+share/freeciv/civ1/units.ruleset
+share/freeciv/civ2.serv
+share/freeciv/civ2/buildings.ruleset
+share/freeciv/civ2/governments.ruleset
+share/freeciv/civ2/techs.ruleset
+share/freeciv/civ2/terrain.ruleset
+share/freeciv/civ2/units.ruleset
+share/freeciv/classic/terrain.ruleset
+share/freeciv/default/buildings.ruleset
+share/freeciv/default/cities.ruleset
+share/freeciv/default/governments.ruleset
+share/freeciv/default/nations.ruleset
+share/freeciv/default/techs.ruleset
+share/freeciv/default/terrain.ruleset
+share/freeciv/default/units.ruleset
+share/freeciv/engels.tilespec
+share/freeciv/engels/cities.spec
+share/freeciv/engels/cities.xpm
+share/freeciv/engels/explosions.spec
+share/freeciv/engels/explosions.xpm
+share/freeciv/engels/flags.spec
+share/freeciv/engels/flags.xpm
+share/freeciv/engels/roads.spec
+share/freeciv/engels/roads.xpm
+share/freeciv/engels/tiles.spec
+share/freeciv/engels/tiles.xpm
+share/freeciv/engels/units.spec
+share/freeciv/engels/units.xpm
+share/freeciv/engels_shields.tilespec
+share/freeciv/helpdata.txt
+share/freeciv/misc/chiefs.spec
+share/freeciv/misc/chiefs.xpm
+share/freeciv/misc/intro.xpm
+share/freeciv/misc/radar.xpm
+share/freeciv/misc/shields.spec
+share/freeciv/misc/shields.xpm
+share/freeciv/misc/small.spec
+share/freeciv/misc/small.xpm
+share/freeciv/misc/space.spec
+share/freeciv/misc/space.xpm
+share/freeciv/misc/treaty.spec
+share/freeciv/misc/treaty.xpm
+share/freeciv/scenario/earth-160x90-v1.sav
+share/freeciv/scenario/earth-160x90-v2.sav
+share/freeciv/scenario/earth-80x50-v1.sav
+share/freeciv/scenario/earth-80x50-v2.sav
+share/freeciv/scenario/europe-200x100-v1.sav
+share/freeciv/scenario/europe-200x100-v2.sav
+share/freeciv/trident.tilespec
+share/freeciv/trident/auto_ll.spec
+share/freeciv/trident/cities.spec
+share/freeciv/trident/cities.xpm
+share/freeciv/trident/explosions.spec
+share/freeciv/trident/explosions.xpm
+share/freeciv/trident/flags.spec
+share/freeciv/trident/flags.xpm
+share/freeciv/trident/roads.spec
+share/freeciv/trident/roads.xpm
+share/freeciv/trident/tiles.spec
+share/freeciv/trident/tiles.xpm
+share/freeciv/trident/units.spec
+share/freeciv/trident/units.xpm
+share/freeciv/trident_shields.tilespec
+share/locale/de/LC_MESSAGES/freeciv.mo
+share/locale/en_GB/LC_MESSAGES/freeciv.mo
+share/locale/es/LC_MESSAGES/freeciv.mo
+share/locale/fr/LC_MESSAGES/freeciv.mo
+share/locale/hu/LC_MESSAGES/freeciv.mo
+share/locale/no/LC_MESSAGES/freeciv.mo
+share/locale/pl/LC_MESSAGES/freeciv.mo
+share/locale/pt/LC_MESSAGES/freeciv.mo
+share/locale/pt_BR/LC_MESSAGES/freeciv.mo
+share/locale/ru/LC_MESSAGES/freeciv.mo
+@dirrm share/freeciv/trident
+@dirrm share/freeciv/scenario
+@dirrm share/freeciv/misc
+@dirrm share/freeciv/engels
+@dirrm share/freeciv/default
+@dirrm share/freeciv/classic
+@dirrm share/freeciv/civ2
+@dirrm share/freeciv/civ1
+@dirrm share/freeciv