2006-08-02 05:36:20 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2006/08/02 09:36:20 espie Exp $
|
2002-06-02 21:33:54 -04:00
|
|
|
|
2002-05-15 20:25:55 -04:00
|
|
|
COMMENT= "graphical networked AD&D style game"
|
|
|
|
|
2002-10-27 05:16:15 -05:00
|
|
|
VERSION= 1.4.0
|
2002-05-15 20:25:55 -04:00
|
|
|
DISTNAME= crossfire-client-${VERSION}
|
2005-02-12 14:24:22 -05:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2002-05-15 20:25:55 -04:00
|
|
|
CATEGORIES= games x11
|
|
|
|
|
2002-10-27 05:16:15 -05:00
|
|
|
IMGDIST= crossfire-client-images-${VERSION}
|
2003-08-19 05:40:32 -04:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${IMGDIST}${EXTRACT_SUFX}
|
2002-10-27 05:16:15 -05:00
|
|
|
|
2002-05-15 20:25:55 -04:00
|
|
|
HOMEPAGE= http://crossfire.real-time.com/
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-28 17:41:14 -05:00
|
|
|
WANTLIB= X11 Xext Xi c glib gmodule iconv intl m pthread usbhid z
|
2002-05-15 20:25:55 -04:00
|
|
|
|
2002-09-13 18:54:28 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=crossfire/}
|
2002-05-15 20:25:55 -04:00
|
|
|
|
2006-08-02 05:36:20 -04:00
|
|
|
LIB_DEPENDS= gtk.>=1.2,gdk.>=1.2::x11/gtk+ \
|
|
|
|
png.>=1::graphics/png \
|
|
|
|
SDL.>=1::devel/sdl \
|
|
|
|
SDL_image.>=1::devel/sdl-image
|
2002-05-15 20:25:55 -04:00
|
|
|
|
|
|
|
CONFIGURE_ARGS= --disable-gnome
|
|
|
|
|
2002-10-27 05:16:15 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2002-05-15 20:25:55 -04:00
|
|
|
USE_X11= Yes
|
2004-07-31 19:23:12 -04:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/utils
|
2002-05-15 20:25:55 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2002-07-18 11:15:05 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng -I${LOCALBASE}/include -I${X11BASE}/include" \
|
2002-05-15 20:25:55 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
|
|
|
|
2002-10-27 05:16:15 -05:00
|
|
|
IMG= bmaps.client crossfire.base crossfire.clsc
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/crossfire-client
|
|
|
|
.for file in ${IMG}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${file} ${PREFIX}/share/crossfire-client
|
|
|
|
.endfor
|
2002-10-26 16:44:38 -04:00
|
|
|
|
2002-05-15 20:25:55 -04:00
|
|
|
.include <bsd.port.mk>
|