openbsd-ports/games/xblast/Makefile
ajacoutot 589e0b92e0 - update to xblast-2.10.4
- use module devel/gettext
- rewrite DESCR

ok aanriot@ (who *badly* kicked my ass at this game... yes Alex, you did!)
2007-12-20 22:03:05 +00:00

46 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.22 2007/12/20 22:03:05 ajacoutot Exp $
COMMENT= graphical multi-player real-time strategy game for X11
DISTNAME= xblast-2.10.4
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}
CATEGORIES= games
HOMEPAGE= http://xblast.sourceforge.net/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c ICE m ossaudio X11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xblast/}
USE_X11= Yes
MODULES= devel/gettext
CONFIGURE_STYLE=autoconf
AUTOCONF_VERSION=2.59
CONFIGURE_ENV= LDFLAGS="-lossaudio \
-L${LOCALBASE}/lib -liconv -lintl"
CONFIGURE_ARGS= --enable-sound \
--with-otherdatadir=${PREFIX}/share/xblast \
--disable-sdl
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
.include <bsd.port.mk>