aboutsummaryrefslogtreecommitdiffstats
path: root/games/xbomber/Makefile
blob: a57b38e4f956293fe4ed8449687f3698d611017b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:   xbomber
# Date created:        28 June 1998
# Whom:                marcus
#
# $FreeBSD$
#

PORTNAME=   xbomber
PORTVERSION=    0.8
PORTREVISION=   1
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_X_PREFIX=   yes
MAKEFILE=   makefile

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>