mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
38 lines
940 B
Makefile
38 lines
940 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= Game based on "Super Bomberman" for the Super Nintendo
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
USE_XORG= x11
|
|
|
|
MAKEFILE= makefile
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xbomber ${STAGEDIR}${PREFIX}/bin
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${TAR} -C ${WRKSRC} -cf - bitmaps jungle levels pixmaps sounds | \
|
|
${TAR} -C ${STAGEDIR}${DATADIR} --unlink -xf -
|
|
@${FIND} ${STAGEDIR}${PREFIX}/share/xbomber -type f | \
|
|
${XARGS} ${CHMOD} ${SHAREMODE}
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for file in README.txt LEVELS.txt SOUND.txt GRAPHICS.txt
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|