diff options
-rw-r--r-- | games/freeciv/Makefile | 30 | ||||
-rw-r--r-- | games/freeciv/files/md5 | 1 | ||||
-rw-r--r-- | games/freeciv/patches/patch-aa | 7 | ||||
-rw-r--r-- | games/freeciv/pkg/COMMENT | 1 | ||||
-rw-r--r-- | games/freeciv/pkg/DESCR | 12 | ||||
-rw-r--r-- | games/freeciv/pkg/PLIST | 13 |
6 files changed, 64 insertions, 0 deletions
diff --git a/games/freeciv/Makefile b/games/freeciv/Makefile new file mode 100644 index 00000000000..cc6eb5f44d6 --- /dev/null +++ b/games/freeciv/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1 1998/06/12 12:59:43 frueauf Exp $ +# + +DISTNAME= freeciv-1.6.3 +CATEGORIES= games x11 +MASTER_SITES= freeciv.ultraviolet.org:/pub/freeciv/ + +MAINTAINER= root@garbled.net + +DEPENDS= xpm-3.4j:../../graphics/xpm + +USE_IMAKE= YES +NO_INSTALL_MANPAGES= YES + +pre-patch: + ${TOUCH} ${WRKSRC}/civclient.man + ${TOUCH} ${WRKSRC}/civserver.man + +post-patch: + ${MV} ${WRKSRC}/client/climisc.c ${WRKSRC}/client/climisc.c.bak + ${SED} -e 's|@X11BASE@|${X11BASE}|g' < ${WRKSRC}/client/climisc.c.bak \ + > ${WRKSRC}/client/climisc.c + +post-install: + ${MKDIR} ${X11BASE}/share/freeciv/data + ${INSTALL_DATA} ${WRKSRC}/data/*.txt ${X11BASE}/share/freeciv/data + ${INSTALL_DATA} ${WRKSRC}/data/*.xpm ${X11BASE}/share/freeciv/data + ${INSTALL_DATA} ${WRKSRC}/data/Freeciv ${X11BASE}/lib/X11/app-defaults + +.include "../../mk/bsd.pkg.mk" diff --git a/games/freeciv/files/md5 b/games/freeciv/files/md5 new file mode 100644 index 00000000000..dc014d45d95 --- /dev/null +++ b/games/freeciv/files/md5 @@ -0,0 +1 @@ +MD5 (freeciv-1.6.3.tar.gz) = 409e7b501929af008332afcd0468ea3d diff --git a/games/freeciv/patches/patch-aa b/games/freeciv/patches/patch-aa new file mode 100644 index 00000000000..f0fb42eacb8 --- /dev/null +++ b/games/freeciv/patches/patch-aa @@ -0,0 +1,7 @@ +--- client/climisc.c.orig Thu Jun 11 22:16:11 1998 ++++ client/climisc.c Thu Jun 11 22:16:56 1998 +@@ -46,3 +46,3 @@ + } else { +- datadir = "data"; /* correct if not 'data' is the default */ ++ datadir = "@X11BASE@/share/freeciv/data"; /* correct if not 'data' is the default */ + }; diff --git a/games/freeciv/pkg/COMMENT b/games/freeciv/pkg/COMMENT new file mode 100644 index 00000000000..8d1f46f0cc2 --- /dev/null +++ b/games/freeciv/pkg/COMMENT @@ -0,0 +1 @@ +A free Civilization clone for Unix and X. diff --git a/games/freeciv/pkg/DESCR b/games/freeciv/pkg/DESCR new file mode 100644 index 00000000000..c7407066fd7 --- /dev/null +++ b/games/freeciv/pkg/DESCR @@ -0,0 +1,12 @@ +This archive contains Freeciv version 1.6, a free Civilization clone for +Unix and X. This version only allows multiplayer games, and limited support +for AI players. + +Homepage: +========= +We maintain a homepage for the game at: + http://freeciv.ultraviolet.org/index.html + +You should check out the 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. diff --git a/games/freeciv/pkg/PLIST b/games/freeciv/pkg/PLIST new file mode 100644 index 00000000000..eed6e9ace80 --- /dev/null +++ b/games/freeciv/pkg/PLIST @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.1 1998/06/12 12:59:44 frueauf Exp $ +bin/civclient +bin/civserver +lib/X11/app-defaults/Freeciv +share/freeciv/data/helpdata.txt +share/freeciv/data/intro.xpm +share/freeciv/data/radar.xpm +share/freeciv/data/small.xpm +share/freeciv/data/tiles.xpm +share/freeciv/data/treaty.xpm +share/freeciv/data/units.xpm +@dirrm share/freeciv/data +@dirrm share/freeciv |