summaryrefslogtreecommitdiff
path: root/games/mirrormagic/Makefile
blob: ab1d0c0aaeed432df973d80a791d0d0a0b52794c (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
# $NetBSD: Makefile,v 1.2 1998/07/04 09:18:57 mycroft Exp $
#

DISTNAME=		mirrormagic-1.3
CATEGORIES=		games x11
MASTER_SITES=		${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR=	games

MAINTAINER=		root@garbled.net

DEPENDS=		xpm-3.4k:../../graphics/xpm

USE_X11=		YES

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/mirrormagic ${X11BASE}/bin
	${MKDIR} ${X11BASE}/share/mirrormagic/sounds
	${MKDIR} ${X11BASE}/share/mirrormagic/graphics
	${INSTALL_DATA} ${WRKSRC}/sounds/* ${X11BASE}/share/mirrormagic/sounds
	${INSTALL_DATA} ${WRKSRC}/graphics/* ${X11BASE}/share/mirrormagic/graphics
	${INSTALL_DATA} ${WRKSRC}/RAY.* ${X11BASE}/share/mirrormagic
	${GUNZIP_CMD} ${X11BASE}/share/mirrormagic/graphics/*.gz
	${TOUCH} ${X11BASE}/share/mirrormagic/RAY.score ${X11BASE}/share/mirrormagic/RAY.names
	chmod 666 ${X11BASE}/share/mirrormagic/RAY.score ${X11BASE}/share/mirrormagic/RAY.names

.include "../../mk/bsd.pkg.mk"