freebsd-ports/games/xbomber/Makefile

40 lines
1 KiB
Makefile
Raw Normal View History

# Created by: marcus
1999-08-25 08:06:33 +02:00
# $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
2014-06-08 08:42:53 +02:00
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
1999-04-20 22:26:15 +02:00
do-install:
2014-06-08 08:42:53 +02:00
${INSTALL_PROGRAM} ${WRKSRC}/xbomber ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
${TAR} -C ${WRKSRC} -cf - bitmaps jungle levels pixmaps sounds | \
2014-06-08 08:42:53 +02:00
${TAR} -C ${STAGEDIR}${DATADIR} --unlink -xf -
@${FIND} ${STAGEDIR}${PREFIX}/share/xbomber | \
${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP}
2014-06-08 08:42:53 +02:00
@${FIND} ${STAGEDIR}${PREFIX}/share/xbomber -type f | \
${XARGS} ${CHMOD} ${SHAREMODE}
2014-06-08 08:42:53 +02:00
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
1999-04-20 22:26:15 +02:00
.for file in README.txt LEVELS.txt SOUND.txt GRAPHICS.txt
2014-06-08 08:42:53 +02:00
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
1999-04-20 22:26:15 +02:00
.endfor
.endif
.include <bsd.port.mk>