2010-12-05 13:24:33 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2010/12/05 18:24:33 jasper Exp $
|
2007-03-21 06:28:50 -04:00
|
|
|
|
2007-09-15 14:01:00 -04:00
|
|
|
COMMENT= colorful game where you blow other people/robots up
|
2007-03-21 06:28:50 -04:00
|
|
|
|
|
|
|
VERSION= 0.8
|
|
|
|
DISTNAME= xbomber.${VERSION}
|
2010-12-05 13:24:33 -05:00
|
|
|
PKGNAME= xbomber-${VERSION}
|
|
|
|
REVISION= 1
|
2007-03-21 06:28:50 -04:00
|
|
|
CATEGORIES= games x11
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.newbreedsoftware.com/xbomber/
|
|
|
|
|
2007-03-23 19:30:04 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= No
|
|
|
|
PERMIT_PACKAGE_FTP= No
|
|
|
|
PERMIT_DISTFILES_CDROM= No
|
|
|
|
PERMIT_DISTFILES_FTP= No
|
2009-08-10 02:29:51 -04:00
|
|
|
WANTLIB= X11 c m pthread-stubs xcb
|
2007-03-21 06:28:50 -04:00
|
|
|
|
|
|
|
MASTER_SITES= ftp://ftp.billsgames.com/unix/x/xbomber/
|
|
|
|
|
2007-03-22 12:23:28 -04:00
|
|
|
NO_REGRESS= Yes
|
2007-03-21 06:28:50 -04:00
|
|
|
WRKDIST= ${WRKDIR}/xbomber
|
|
|
|
MAKE_FILE= makefile
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@rm ${WRKSRC}/xbomber
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@perl -pi -e 's,!!CFLAGS!!,${CFLAGS},' ${WRKSRC}/${MAKE_FILE}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xbomber ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/xbomber
|
|
|
|
cd ${WRKSRC}; tar cf - bitmaps pixmaps levels sounds jungle | \
|
|
|
|
tar xf - -C ${PREFIX}/share/xbomber
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xbomber
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/share/doc/xbomber
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|