2013-03-11 07:02:49 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.27 2013/03/11 11:07:41 espie Exp $
|
2007-08-08 10:59:47 -04:00
|
|
|
|
|
|
|
COMMENT= graphical multi-player real-time strategy game for X11
|
|
|
|
|
2007-12-20 17:03:05 -05:00
|
|
|
DISTNAME= xblast-2.10.4
|
2010-09-13 14:03:23 -04:00
|
|
|
REVISION= 1
|
2007-08-08 10:59:47 -04:00
|
|
|
DIST_SUBDIR= xblast
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
|
|
images-2005-01-06${EXTRACT_SUFX} \
|
|
|
|
levels-2005-01-06${EXTRACT_SUFX} \
|
|
|
|
models-2005-01-06${EXTRACT_SUFX} \
|
|
|
|
musics-2005-01-06${EXTRACT_SUFX} \
|
|
|
|
sounds${EXTRACT_SUFX}
|
1998-05-19 22:37:00 -04:00
|
|
|
CATEGORIES= games
|
1998-11-08 20:49:54 -05:00
|
|
|
|
2005-07-17 04:53:54 -04:00
|
|
|
HOMEPAGE= http://xblast.sourceforge.net/
|
|
|
|
|
2009-12-19 19:14:40 -05:00
|
|
|
# GPLv2
|
2000-05-31 13:07:14 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2007-12-20 17:03:05 -05:00
|
|
|
|
2009-12-19 19:14:40 -05:00
|
|
|
WANTLIB= ICE X11 c m pthread-stubs sndio xcb
|
2005-07-17 04:53:54 -04:00
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xblast/}
|
2000-02-12 03:02:07 -05:00
|
|
|
|
1998-11-08 20:49:54 -05:00
|
|
|
|
2007-12-20 17:03:05 -05:00
|
|
|
MODULES= devel/gettext
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=autoconf
|
|
|
|
AUTOCONF_VERSION=2.59
|
2009-12-19 19:14:40 -05:00
|
|
|
CONFIGURE_ENV= LDFLAGS="-lsndio \
|
2007-12-20 17:03:05 -05:00
|
|
|
-L${LOCALBASE}/lib -liconv -lintl"
|
|
|
|
CONFIGURE_ARGS= --enable-sound \
|
|
|
|
--with-otherdatadir=${PREFIX}/share/xblast \
|
|
|
|
--disable-sdl
|
2010-09-13 14:03:23 -04:00
|
|
|
|
|
|
|
FAKE_FLAGS+= localedir="${PREFIX}/share/locale"
|
|
|
|
|
2007-08-08 10:59:47 -04:00
|
|
|
post-extract:
|
|
|
|
@cp -r ${WRKDIR}/images-2005-01-06 ${WRKSRC}/image
|
|
|
|
@cp -r ${WRKDIR}/levels-2005-01-06 ${WRKSRC}/level
|
|
|
|
@cp -r ${WRKDIR}/models-2005-01-06 ${WRKSRC}/image/sprite
|
|
|
|
@cp -r ${WRKDIR}/sounds ${WRKSRC}/sounds
|
|
|
|
@cp -r ${WRKDIR}/musics-2005-01-06/* ${WRKSRC}/sounds
|
1998-05-19 22:37:00 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|