2006-03-09 22:04:39 +01:00
|
|
|
# $NetBSD: Makefile,v 1.22 2006/03/09 21:04:44 jlam Exp $
|
1998-02-09 00:37:13 +01:00
|
|
|
#
|
|
|
|
|
1998-11-10 09:34:54 +01:00
|
|
|
DISTNAME= xblast-2.6.beta-sound
|
|
|
|
PKGNAME= xblast-2.6b
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 2
|
1998-02-09 00:37:13 +01:00
|
|
|
CATEGORIES= games x11
|
1998-11-10 09:34:54 +01:00
|
|
|
MASTER_SITES= http://www.ikp.uni-koeln.de/~vogel/archive/
|
1998-02-09 00:37:13 +01:00
|
|
|
|
1998-08-27 15:46:00 +02:00
|
|
|
MAINTAINER= root@garbled.net
|
1998-08-20 17:16:34 +02:00
|
|
|
HOMEPAGE= http://www.ikp.uni-koeln.de/~vogel/xblast/xblast.html
|
2001-02-16 16:10:41 +01:00
|
|
|
COMMENT= 2-6 player kill the other guy with bombs game. A real blast!
|
1998-02-09 00:37:13 +01:00
|
|
|
|
2004-12-31 13:10:04 +01:00
|
|
|
DEPENDS+= tk>=8.3.2:../../x11/tk
|
1998-11-10 09:34:54 +01:00
|
|
|
|
2004-01-20 13:07:06 +01:00
|
|
|
WRKSRC= ${WRKDIR}/XBlast-2.6.beta
|
1998-02-09 00:37:13 +01:00
|
|
|
USE_IMAKE= yes
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
cd ${WRKSRC} ; ${SED} '/file_appl_def/s@/usr/lib/X11@'${PREFIX}'/lib/X11@' defaults.h >xx ; ${MV} xx defaults.h
|
1998-11-10 09:34:54 +01:00
|
|
|
${TOUCH} ${WRKSRC}/xbsndsrv.man
|
|
|
|
for dir in bitmap image; do \
|
|
|
|
for sub in block explosion misc score sprite; do \
|
|
|
|
${MV} ${WRKSRC}/$$dir/$$sub/Imakefile ${WRKSRC}/$$dir/$$sub/foo; \
|
2000-02-05 19:39:10 +01:00
|
|
|
${SED} -e 's|XBLASTDIR=.*/xblast|XBLASTDIR=${PREFIX}/share/xblast|' <${WRKSRC}/$$dir/$$sub/foo>${WRKSRC}/$$dir/$$sub/Imakefile; \
|
1998-11-10 09:34:54 +01:00
|
|
|
${RM} ${WRKSRC}/$$dir/$$sub/foo; \
|
|
|
|
done; \
|
|
|
|
done
|
|
|
|
|
2000-08-31 19:26:15 +02:00
|
|
|
post-build:
|
|
|
|
cd ${WRKSRC}/tkXBlast && ${MAKE_ENV} ${MAKE}
|
|
|
|
|
1998-11-10 09:34:54 +01:00
|
|
|
post-install:
|
2006-01-13 00:49:58 +01:00
|
|
|
${RM} ${PREFIX}/${IMAKE_MAN_DIR}/xbsndsrv.${IMAKE_MAN_SUFFIX}
|
1998-02-09 00:37:13 +01:00
|
|
|
|
2006-03-09 22:04:39 +01:00
|
|
|
.include "../../mk/oss.buildlink3.mk"
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|