freeciv port
This commit is contained in:
parent
365bf48d1e
commit
7900acf508
26
games/freeciv/Makefile
Normal file
26
games/freeciv/Makefile
Normal 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
1
games/freeciv/files/md5
Normal file
@ -0,0 +1 @@
|
||||
MD5 (freeciv153.tar.gz) = 590f875a30786ad8f8fab1db3dafe8d1
|
6
games/freeciv/patches/patch-aa
Normal file
6
games/freeciv/patches/patch-aa
Normal 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 ----
|
||||
+
|
41
games/freeciv/patches/patch-ab
Normal file
41
games/freeciv/patches/patch-ab
Normal 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))
|
6
games/freeciv/patches/patch-ac
Normal file
6
games/freeciv/patches/patch-ac
Normal 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 ----
|
||||
+
|
1
games/freeciv/pkg/COMMENT
Normal file
1
games/freeciv/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
A civilisation clone for x; multiplayer
|
2
games/freeciv/pkg/DESCR
Normal file
2
games/freeciv/pkg/DESCR
Normal 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
7
games/freeciv/pkg/PLIST
Normal 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
|
Loading…
Reference in New Issue
Block a user