pkgsrc/games/mirrormagic/Makefile
kristerw 4c71178d4a Update mirrormagic to version 2.0.0
Changes since version 1.3:
        - complete code redesign (based on new Rocks'n'Diamonds game engine)
        - contains now 60 levels from the classic game "Deflektor"
        - can be compiled with SDL library to build native Windows version
        - can be compiled with Allegro library to build native DOS version
        - DOS and Windows versions can be compiled with gcc cross-compiler
        - changed levels 43 and 45 due to changed (faster) pac man behaviour
2001-07-05 22:13:06 +00:00

33 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2001/07/05 22:13:06 kristerw Exp $
#
DISTNAME= mirrormagic-2.0.0
CATEGORIES= games x11
MASTER_SITES= http://www.artsoft.org/RELEASES/unix/mirrormagic/
MAINTAINER= root@garbled.net
HOMEPAGE= http://www.artsoft.org/mirrormagic/
COMMENT= Nice little puzzle game with color graphics and sound
USE_GMAKE= YES
# if you change SCORE_PATH, don't forget to change patch-aa, too
SCORE_PATH= /var/games/mirrormagic
do-install:
${INSTALL_PROGRAM} -o bin -g games -m 2755 \
${WRKSRC}/mirrormagic ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/mirrormagic
cd ${WRKSRC} && ${PAX} -r -w sounds graphics levels \
${PREFIX}/share/mirrormagic/
${CHOWN} -R games:games ${PREFIX}/share/mirrormagic
${INSTALL_DATA_DIR} ${SCORE_PATH}/scores
${CHMOD} 755 ${SCORE_PATH}
${CHMOD} 775 ${SCORE_PATH}/scores
.for directory in classic_deflektor classic_mindbender
${INSTALL_DATA_DIR} ${SCORE_PATH}/scores/${directory} \
&& ${CHMOD} 775 ${SCORE_PATH}/scores/${directory}
.endfor
${CHOWN} -R games:games ${SCORE_PATH}
.include "../../mk/bsd.pkg.mk"