freebsd-ports/games/xbomber/Makefile

36 lines
969 B
Makefile
Raw Normal View History

# New ports collection makefile for: xbomber
# Date created: 28 June 1998
# Whom: marcus
#
1999-08-25 02:06:33 -04:00
# $FreeBSD$
#
PORTNAME= xbomber
PORTVERSION= 0.8
CATEGORIES= games
MASTER_SITES= ftp://ftp.sonic.net/pub/users/nbs/unix/x/xbomber/
DISTNAME= ${PORTNAME}.${PORTVERSION}
MAINTAINER= jclarke@cisco.com
WRKSRC= ${WRKDIR}/${PORTNAME}
1999-04-20 16:26:15 -04:00
USE_X_PREFIX= yes
MAKEFILE= makefile
1999-04-20 16:26:15 -04:00
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
1999-04-20 16:26:15 -04:00
.for file in README.txt LEVELS.txt SOUND.txt GRAPHICS.txt
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xbomber
1999-04-20 16:26:15 -04:00
.endfor
.endif
.include <bsd.port.mk>