Crossfire is a multi-player graphical arcade and adventure game made
for the X11 Window system environment. It has certain flavours from other games, especially gauntlet and the rogue-like games (Nethack, Moria, Angband, and Ragnarok.) Any number of players can move around in their own window, finding and using items and battling monsters. They can choose to cooperate or compete in the same world. The gnome flavor creates a gnome client. * * * Thanks to Lurene Grenier <lurene@daemonkitty.net> for the port. Fixes by me.
This commit is contained in:
parent
0af2ead27a
commit
ab692c459a
41
games/crossfire-client/Makefile
Normal file
41
games/crossfire-client/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
COMMENT= "graphical networked AD&D style game"
|
||||
|
||||
VERSION= 1.2.1
|
||||
DISTNAME= crossfire-client-${VERSION}
|
||||
CATEGORIES= games x11
|
||||
NEED_VERSION= 1.522
|
||||
|
||||
HOMEPAGE= http://crossfire.real-time.com/
|
||||
|
||||
MAINTAINER= Lurene Grenier <lurene@daemonkitty.net>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=crossfire/}
|
||||
|
||||
FLAVORS= gnome
|
||||
FLAVOR?=
|
||||
|
||||
LIB_DEPENDS= gtk.1.2::x11/gtk+ \
|
||||
png.1::graphics/png \
|
||||
SDL::devel/sdl
|
||||
|
||||
.if ${FLAVOR:L:Mgnome}
|
||||
LIB_DEPENDS+= ORBit.5,IIOP,ORBitCosNaming,ORBitutil::devel/ORBit \
|
||||
gnome.36::x11/gnome/libs
|
||||
SED_PLIST+= -e '/%%GNOME%%/r${PKGDIR}/PFRAG.gnome.shared' -e '//d'
|
||||
.else
|
||||
CONFIGURE_ARGS= --disable-gnome
|
||||
SED_PLIST+= -e '/%%GNOME%%/d'
|
||||
.endif
|
||||
|
||||
USE_X11= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
||||
|
||||
.include <bsd.port.mk>
|
3
games/crossfire-client/distinfo
Normal file
3
games/crossfire-client/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (crossfire-client-1.2.1.tar.gz) = 802c9577fa657b5fa91fccc6ca5ced93
|
||||
RMD160 (crossfire-client-1.2.1.tar.gz) = 8d5638c95ba8b70bff357953d309a2c3969f111f
|
||||
SHA1 (crossfire-client-1.2.1.tar.gz) = cc7a95a3ff7e360e885ac11d94d26a2e56a80e52
|
32
games/crossfire-client/patches/patch-gnome_Makefile_in
Normal file
32
games/crossfire-client/patches/patch-gnome_Makefile_in
Normal file
@ -0,0 +1,32 @@
|
||||
$OpenBSD: patch-gnome_Makefile_in,v 1.1.1.1 2002/05/16 00:25:55 mark Exp $
|
||||
--- gnome/Makefile.in.orig Fri May 3 15:52:09 2002
|
||||
+++ gnome/Makefile.in Fri May 3 15:53:36 2002
|
||||
@@ -70,17 +70,17 @@ install:
|
||||
#install-fix is what can get used when the gnome client actually is
|
||||
# working
|
||||
install-fix:
|
||||
- $(INSTALL) -d ${mandir}
|
||||
- $(INSTALL) gnome-cfclient.man ${mandir}/gnome-gcfclient.1
|
||||
- $(INSTALL) -d ${soundlistdir}
|
||||
- $(INSTALL) gnome-cfclient.soundlist ${soundlistdir}/gnome-cfclient.soundlist
|
||||
- $(INSTALL) -d ${desktopdir}
|
||||
- $(INSTALL) gnome-cfclient.desktop ${desktopdir}/gnome-cfclient.desktop
|
||||
- $(INSTALL) -d ${pixmapsdir}
|
||||
- $(INSTALL) ../pixmaps/shield.png ${pixmapsdir}/shield.png
|
||||
- $(INSTALL) ../pixmaps/crossfiretitle.xpm ${pixmapsdir}/crossfiretitle.xpm
|
||||
- $(INSTALL) -d ${bindir}
|
||||
- $(INSTALL) gnome-cfclient ${bindir}/gnome-cfclient
|
||||
+ $(INSTALL) -d $(DESTDIR)$(mandir)
|
||||
+ $(INSTALL) gnome-cfclient.man $(DESTDIR)$(mandir)/gnome-gcfclient.1
|
||||
+ $(INSTALL) -d $(DESTDIR)$(soundlistdir)
|
||||
+ $(INSTALL) gnome-cfclient.soundlist $(DESTDIR)$(soundlistdir)/gnome-cfclient.soundlist
|
||||
+ $(INSTALL) -d $(DESTDIR)$(desktopdir)
|
||||
+ $(INSTALL) gnome-cfclient.desktop $(DESTDIR)$(desktopdir)/gnome-cfclient.desktop
|
||||
+ $(INSTALL) -d $(DESTDIR)$(pixmapsdir)
|
||||
+ $(INSTALL) ../pixmaps/shield.png $(DESTDIR)$(pixmapsdir)/shield.png
|
||||
+ $(INSTALL) ../pixmaps/crossfiretitle.xpm $(DESTDIR)$(pixmapsdir)/crossfiretitle.xpm
|
||||
+ $(INSTALL) -d $(DESTDIR)$(bindir)
|
||||
+ $(INSTALL) gnome-cfclient $(DESTDIR)$(bindir)/gnome-cfclient
|
||||
|
||||
depend:
|
||||
$(DEPEND) $(DEPENDFLAGS) -- $(CFLAGS) $(GNOME_CFLAGS) $(INCLUDES) -- $(SOURCES)
|
18
games/crossfire-client/patches/patch-gtk_Makefile_in
Normal file
18
games/crossfire-client/patches/patch-gtk_Makefile_in
Normal file
@ -0,0 +1,18 @@
|
||||
$OpenBSD: patch-gtk_Makefile_in,v 1.1.1.1 2002/05/16 00:25:55 mark Exp $
|
||||
--- gtk/Makefile.in.orig Fri May 3 15:50:55 2002
|
||||
+++ gtk/Makefile.in Fri May 3 15:51:39 2002
|
||||
@@ -69,10 +69,10 @@ distclean::
|
||||
$(RM) -f cfsndserv cfclient gcfclient Makefile
|
||||
|
||||
install:
|
||||
- $(INSTALL) -d ${bindir}
|
||||
- $(INSTALL) -d ${mandir}
|
||||
- $(INSTALL) gcfclient ${bindir}/gcfclient
|
||||
- $(INSTALL) gcfclient.man ${mandir}/gcfclient.1
|
||||
+ $(INSTALL) -d $(DESTDIR)$(bindir)
|
||||
+ $(INSTALL) -d $(DESTDIR)$(mandir)
|
||||
+ $(INSTALL) gcfclient $(DESTDIR)$(bindir)/gcfclient
|
||||
+ $(INSTALL) gcfclient.man $(DESTDIR)$(mandir)/gcfclient.1
|
||||
|
||||
depend:
|
||||
$(DEPEND) $(DEPENDFLAGS) -- $(CFLAGS) $(SDL_CFLAGS) $(GTK_CFLAGS) $(INCLUDES) -- $(SOURCES)
|
14
games/crossfire-client/patches/patch-sound-src_Makefile_in
Normal file
14
games/crossfire-client/patches/patch-sound-src_Makefile_in
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-sound-src_Makefile_in,v 1.1.1.1 2002/05/16 00:25:55 mark Exp $
|
||||
--- sound-src/Makefile.in.orig Fri May 3 15:54:22 2002
|
||||
+++ sound-src/Makefile.in Fri May 3 15:54:43 2002
|
||||
@@ -71,8 +71,8 @@ distclean::
|
||||
$(RM) -f Makefile cfsndserv
|
||||
|
||||
install:
|
||||
- $(INSTALL) -d ${bindir}
|
||||
- $(INSTALL) cfsndserv ${bindir}
|
||||
+ $(INSTALL) -d $(DESTDIR)$(bindir)
|
||||
+ $(INSTALL) cfsndserv $(DESTDIR)$(bindir)
|
||||
|
||||
depend:
|
||||
$(DEPEND) $(DEPENDFLAGS) -- $(CFLAGS) $(INCLUDES) -- $(PROTOSOURCES) $(SND_SOURCES) gx11.c
|
18
games/crossfire-client/patches/patch-x11_Makefile_in
Normal file
18
games/crossfire-client/patches/patch-x11_Makefile_in
Normal file
@ -0,0 +1,18 @@
|
||||
$OpenBSD: patch-x11_Makefile_in,v 1.1.1.1 2002/05/16 00:25:55 mark Exp $
|
||||
--- x11/Makefile.in.orig Fri May 3 15:45:42 2002
|
||||
+++ x11/Makefile.in Fri May 3 15:46:57 2002
|
||||
@@ -59,10 +59,10 @@ distclean::
|
||||
$(RM) -f cfclient Makefile
|
||||
|
||||
install:
|
||||
- $(INSTALL) -d ${bindir}
|
||||
- $(INSTALL) -d ${mandir}
|
||||
- $(INSTALL) cfclient ${bindir}/cfclient
|
||||
- $(INSTALL) cfclient.man ${mandir}/cfclient.1
|
||||
+ $(INSTALL) -d $(DESTDIR)$(bindir)
|
||||
+ $(INSTALL) -d $(DESTDIR)$(mandir)
|
||||
+ $(INSTALL) cfclient $(DESTDIR)$(bindir)/cfclient
|
||||
+ $(INSTALL) cfclient.man $(DESTDIR)$(mandir)/cfclient.1
|
||||
|
||||
depend:
|
||||
$(DEPEND) $(DEPENDFLAGS) -- $(CFLAGS) $(INCLUDES) -- $(SOURCES)
|
10
games/crossfire-client/pkg/DESCR
Normal file
10
games/crossfire-client/pkg/DESCR
Normal file
@ -0,0 +1,10 @@
|
||||
Crossfire is a multi-player graphical arcade and adventure game made
|
||||
for the X11 Window system environment. It has certain flavours from
|
||||
other games, especially gauntlet and the rogue-like games (Nethack,
|
||||
Moria, Angband, and Ragnarok.) Any number of players can move around
|
||||
in their own window, finding and using items and battling monsters.
|
||||
They can choose to cooperate or compete in the same world.
|
||||
|
||||
The gnome flavor creates a gnome client.
|
||||
|
||||
WWW:${HOMEPAGE}
|
2
games/crossfire-client/pkg/PFRAG.gnome.shared
Normal file
2
games/crossfire-client/pkg/PFRAG.gnome.shared
Normal file
@ -0,0 +1,2 @@
|
||||
bin/gcfclient
|
||||
man/man1/gcfclient.1
|
5
games/crossfire-client/pkg/PLIST
Normal file
5
games/crossfire-client/pkg/PLIST
Normal file
@ -0,0 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/05/16 00:25:55 mark Exp $
|
||||
bin/cfclient
|
||||
bin/cfsndserv
|
||||
%%GNOME%%
|
||||
man/man1/cfclient.1
|
Loading…
Reference in New Issue
Block a user