ab692c459a
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.
42 lines
970 B
Makefile
42 lines
970 B
Makefile
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>
|