openbsd-ports/games/crossfire-client/Makefile

62 lines
1.6 KiB
Makefile
Raw Normal View History

2011-09-16 05:48:08 -04:00
# $OpenBSD: Makefile,v 1.30 2011/09/16 09:48:09 espie Exp $
2002-06-02 21:33:54 -04:00
COMMENT= graphical networked AD&D style game
2008-04-01 05:14:31 -04:00
VERSION= 1.11.0
DISTNAME= crossfire-client-${VERSION}
2011-09-16 05:48:08 -04:00
REVISION= 7
CATEGORIES= games x11
2008-04-01 05:14:31 -04:00
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
crossfire-client-images-${VERSION}${EXTRACT_SUFX}
HOMEPAGE= http://crossfire.real-time.com/
2008-04-01 05:14:31 -04:00
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2008-04-01 05:14:31 -04:00
WANTLIB= GL GLU SDL X11 Xau Xcomposite Xcursor Xdamage Xdmcp \
Xext Xfixes Xi Xinerama Xmu Xrandr Xrender atk-1.0 c \
cairo crypto expat fontconfig freetype gio-2.0 glib-2.0 \
2010-10-11 04:11:24 -04:00
gmodule-2.0 gobject-2.0 idn m pango-1.0 \
pangocairo-1.0 pangoft2-1.0 pixman-1 png pthread \
2010-11-08 08:51:52 -05:00
pthread-stubs sndio ssl xcb z gdk_pixbuf-2.0 \
2010-11-16 06:23:25 -05:00
gdk-x11-2.0 gtk-x11-2.0 SDL_image>=2 glut>=4 curl>=8
2008-04-01 05:14:31 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=crossfire/}
2008-04-01 05:14:31 -04:00
MODULES= devel/gettext
2010-11-16 06:23:25 -05:00
LIB_DEPENDS= x11/gtk+2 \
devel/sdl-image \
graphics/freeglut \
net/curl
2010-10-18 14:00:15 -04:00
USE_GROFF = Yes
2008-04-01 05:14:31 -04:00
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
-I${LOCALBASE}/include/libpng \
-I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib \
-L${X11BASE}/lib -lm -lXi -lXmu" \
ac_cv_path_SVNVERSION="" \
sndio_sound="yes"
2008-04-01 05:14:31 -04:00
CONFIGURE_ARGS= --enable-gtkv2 \
--disable-gtkv1
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
2008-04-01 05:14:31 -04:00
${INSTALL_MAN} ${WRKSRC}/gtk/gcfclient.man \
${PREFIX}/man/man6/gcfclient.6
2002-10-26 16:44:38 -04:00
.include <bsd.port.mk>