pkgsrc/games/mirrormagic/Makefile
agc 0fb805fba8 Use X11PREFIX in preference to X11BASE when installing files, so that
this package cooperates better when xpkgwedge is installed.
2000-07-11 08:39:54 +00:00

28 lines
1,010 B
Makefile

# $NetBSD: Makefile,v 1.7 2000/07/11 08:39:54 agc Exp $
#
DISTNAME= mirrormagic-1.3
CATEGORIES= games x11
MASTER_SITES= ${MASTER_SITE_XCONTRIB:=games/}
MAINTAINER= root@garbled.net
DEPENDS= xpm-3.4k:../../graphics/xpm
USE_X11BASE= YES
do-install:
${INSTALL_PROGRAM} -o bin -g games -m 2755 ${WRKSRC}/mirrormagic ${X11PREFIX}/bin
${MKDIR} ${X11PREFIX}/share/mirrormagic/sounds
${MKDIR} ${X11PREFIX}/share/mirrormagic/graphics
${CHOWN} bin:games ${X11PREFIX}/share/mirrormagic
${CHMOD} 775 ${X11PREFIX}/share/mirrormagic
${INSTALL_DATA} ${WRKSRC}/sounds/* ${X11PREFIX}/share/mirrormagic/sounds
${INSTALL_DATA} ${WRKSRC}/graphics/* ${X11PREFIX}/share/mirrormagic/graphics
${INSTALL_DATA} ${WRKSRC}/RAY.* ${X11PREFIX}/share/mirrormagic
${GUNZIP_CMD} ${X11PREFIX}/share/mirrormagic/graphics/*.gz
${TOUCH} ${X11PREFIX}/share/mirrormagic/RAY.score
${CHOWN} bin:games ${X11PREFIX}/share/mirrormagic/RAY.score
${CHMOD} 664 ${X11PREFIX}/share/mirrormagic/RAY.score
.include "../../mk/bsd.pkg.mk"