freeciv port

This commit is contained in:
angelos 1998-05-19 23:44:24 +00:00
parent 365bf48d1e
commit 7900acf508
8 changed files with 90 additions and 0 deletions

26
games/freeciv/Makefile Normal file
View File

@ -0,0 +1,26 @@
# OpenBSD makefile for: freeciv
# Version required: 1.53
# Date created: May 19 1998
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/05/19 23:44:24 angelos Exp $
#
DISTNAME= freeciv153
CATEGORIES= games
MASTER_SITES= ftp://ftp.daimi.aau.dk/pub/stud/pjunold/freeciv/
EXTRACT_SUFX= .tar.gz
MAINTAINER= angelos@openbsd.org
LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
WRKSRC= ${WRKDIR}/freeciv
USE_IMAKE= yes
NO_INSTALL_MANPAGES= yes
post-install:
${MKDIR} ${PREFIX}/lib/X11/freeciv
${INSTALL_DATA} $(WRKSRC)/data/Freeciv $(WRKSRC)/data/*.xpm \
${PREFIX}/lib/X11/freeciv
.include <bsd.port.mk>

1
games/freeciv/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (freeciv153.tar.gz) = 590f875a30786ad8f8fab1db3dafe8d1

View File

@ -0,0 +1,6 @@
*** /dev/null Tue May 19 19:34:34 1998
--- civclient.man Tue May 19 19:37:23 1998
***************
*** 0 ****
--- 1 ----
+

View File

@ -0,0 +1,41 @@
*** Imakefile.orig Sun Mar 8 19:47:28 1998
--- Imakefile Tue May 19 19:40:14 1998
***************
*** 22,28 ****
XCOMM if your Xpm library/includes are located in a non-standard directory
XCOMM then specify it below - follow the /users/pjunold example below.
XCOMM
! XPM_INCLUDE_DIR=/usr/include/X11
XCOMM XPM_INCLUDE_DIR=/users/pjunold/xpm-3.4i/lib
XCOMM XPM_LIB_DIR=-L/users/pjunold/xpm-3.4i/lib
--- 22,28 ----
XCOMM if your Xpm library/includes are located in a non-standard directory
XCOMM then specify it below - follow the /users/pjunold example below.
XCOMM
! XPM_INCLUDE_DIR=/usr/X11R6/include/X11
XCOMM XPM_INCLUDE_DIR=/users/pjunold/xpm-3.4i/lib
XCOMM XPM_LIB_DIR=-L/users/pjunold/xpm-3.4i/lib
***************
*** 65,72 ****
CLI_LIBS = $(XPM_LIB_DIR) -lXpm XawClientLibs $(SOCKLIB)
SER_LIBS = $(SOCKLIB)
.c.o:
! $(CC) $(CFLAGS) -c $< -o $@
ComplexProgramTarget_1(civclient, $(CLI_LIBS), $(SYSLIBS))
ComplexProgramTarget_2(civserver, $(SER_LIBS), $(SYSLIBS))
--- 65,75 ----
CLI_LIBS = $(XPM_LIB_DIR) -lXpm XawClientLibs $(SOCKLIB)
SER_LIBS = $(SOCKLIB)
+ PREFIX?= /usr/X11R6
+ FREECIV_DATADIR = $(PREFIX)/lib/X11/freeciv
+
.c.o:
! $(CC) -DFREECIV_DATADIR=\"$(FREECIV_DATADIR)\" $(CFLAGS) -c $< -o $@
ComplexProgramTarget_1(civclient, $(CLI_LIBS), $(SYSLIBS))
ComplexProgramTarget_2(civserver, $(SER_LIBS), $(SYSLIBS))

View File

@ -0,0 +1,6 @@
*** /dev/null Tue May 19 19:34:34 1998
--- civserver.man Tue May 19 19:37:23 1998
***************
*** 0 ****
--- 1 ----
+

View File

@ -0,0 +1 @@
A civilisation clone for x; multiplayer

2
games/freeciv/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
This is a multiplayer 'Civilisation(tm)' clone for X windows.
Home page at http://www.daimi.aau.dk/~allan/

7
games/freeciv/pkg/PLIST Normal file
View File

@ -0,0 +1,7 @@
bin/civserver
bin/civclient
lib/X11/freeciv/Freeciv
lib/X11/freeciv/intro.xpm
lib/X11/freeciv/radar.xpm
lib/X11/freeciv/tiles.xpm
@dirrm lib/X11/freeciv