36 lines
977 B
Makefile
36 lines
977 B
Makefile
# Created by: marcus
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xbomber
|
|
PORTVERSION= 0.8
|
|
PORTREVISION= 2
|
|
CATEGORIES= games
|
|
MASTER_SITES= ftp://ftp.billsgames.com/unix/x/xbomber/
|
|
DISTNAME= ${PORTNAME}.${PORTVERSION}
|
|
|
|
MAINTAINER= marcus@FreeBSD.org
|
|
COMMENT= A game based on "Super Bomberman" for the Super Nintendo
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
USE_XORG= x11
|
|
|
|
MAKEFILE= makefile
|
|
|
|
NO_STAGE= yes
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xbomber ${PREFIX}/bin
|
|
@${MKDIR} ${PREFIX}/share/xbomber
|
|
${TAR} -C ${WRKSRC} -cf - bitmaps jungle levels pixmaps sounds | \
|
|
${TAR} -C ${PREFIX}/share/xbomber --unlink -xf -
|
|
@${FIND} ${PREFIX}/share/xbomber | \
|
|
${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP}
|
|
@${FIND} ${PREFIX}/share/xbomber -type f | \
|
|
${XARGS} ${CHMOD} ${SHAREMODE}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${PREFIX}/share/doc/xbomber
|
|
.for file in README.txt LEVELS.txt SOUND.txt GRAPHICS.txt
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xbomber
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|