aboutsummaryrefslogtreecommitdiffstats
path: root/games/xdigger/Makefile
blob: 7e40e8abf53c56d1e9250a0971e8ce9610c2afb2 (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
40
41
42
# New ports collection makefile for:    xdigger
# Version required:         1.0.9
# Date created:             29 June 1998
# Whom:                 Andrey Zakhvatov
#
# $Id: Makefile,v 1.4 1999/06/22 17:36:15 steve Exp $
#

DISTNAME=       xdigger-1.0.9
CATEGORIES=     games
MASTER_SITES=       ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= games/arcade
EXTRACT_SUFX=       .tgz

MAINTAINER=     andy@icc.surw.chel.su

.if ${MACHINE_ARCH} == "alpha"
BROKEN=         no sound support on the alpha yet
.endif

USE_IMAKE=      yes
MAN6=           xdigger.6
MANCOMPRESSED=      no

do-install:
    @ ${INSTALL_PROGRAM} ${WRKSRC}/xdigger ${PREFIX}/bin
    @ ${INSTALL_DATA} ${WRKSRC}/xdigger.man ${PREFIX}/man/man6/xdigger.6
    @ ${MKDIR} ${PREFIX}/share/xdigger
    @ ${INSTALL_DATA} ${WRKSRC}/xdigger.hiscore ${PREFIX}/share/xdigger
    @ ${INSTALL_DATA} ${WRKSRC}/xdigger.level ${PREFIX}/share/xdigger
.for file in diamond.au step.au stone.au
    @ ${INSTALL_DATA} ${WRKSRC}/audio/${file} ${PREFIX}/share/xdigger
.endfor
    @ ${CHMOD} a+rw ${PREFIX}/share/xdigger/xdigger.hiscore
.if !defined(NOPORTDOCS)
    @ ${MKDIR} ${PREFIX}/share/doc/xdigger
.for file in COPYING ChangeLog README
    @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xdigger
.endfor
.endif

.include <bsd.port.mk>