openbsd-ports/games/crossfire-client/Makefile

48 lines
1.2 KiB
Makefile
Raw Normal View History

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
COMMENT= "graphical networked AD&D style game"
VERSION= 1.4.0
DISTNAME= crossfire-client-${VERSION}
PKGNAME= ${DISTNAME}p0
CATEGORIES= games x11
IMGDIST= crossfire-client-images-${VERSION}
2003-08-19 05:40:32 -04:00
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${IMGDIST}${EXTRACT_SUFX}
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
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=crossfire/}
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
CONFIGURE_ARGS= --disable-gnome
NO_REGRESS= Yes
USE_X11= Yes
2004-07-31 19:23:12 -04:00
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/utils
CONFIGURE_STYLE= gnu
2002-07-18 11:15:05 -04:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng -I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
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
.include <bsd.port.mk>