summaryrefslogtreecommitdiffstats
path: root/games/xdigger/Makefile
blob: 70b5def80e1dab829f590d76df84248f7cfaa8d9 (plain)
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:	xdigger
# Date created:				29 June 1998
# Whom:					Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=	xdigger
PORTVERSION=	1.0.10
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	games/arcade
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@FreeBSD.org

USE_IMAKE=	yes
MAN6=		xdigger.6
MANCOMPRESSED=	no

post-patch:
	@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/configure.h

do-install:
	${INSTALL_PROGRAM} -m 2755 -o root -g games ${WRKSRC}/xdigger ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/xdigger.man ${PREFIX}/man/man6/xdigger.6
	@${MKDIR} ${PREFIX}/share/xdigger
	${INSTALL_DATA} ${WRKSRC}/xdigger.level ${PREFIX}/share/xdigger
	${INSTALL_DATA} ${WRKSRC}/audio/*.au ${PREFIX}/share/xdigger
	@${TOUCH} ${PREFIX}/share/xdigger/xdigger.hiscore
	@${CHMOD} 664 ${PREFIX}/share/xdigger/xdigger.hiscore
	@${CHOWN} root:games ${PREFIX}/share/xdigger/xdigger.hiscore
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/xdigger
	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/xdigger
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xdigger
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud