1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/games/mirrormagic/Makefile

43 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: mirrormagic
# Date created: 1 April 1998
# Whom: Andrey Zakhvatov
#
1999-08-25 06:06:33 +00:00
# $FreeBSD$
#
PORTNAME= mirrormagic
PORTVERSION= 1.3
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= games
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
USE_X_PREFIX= yes
post-extract:
.for file in DoubleRayDoor DoubleRayFont DoubleRayFont2 DoubleRayScreen
@${GUNZIP_CMD} ${WRKSRC}/graphics/${file}.xpm
.endfor
@(cd ${WRKDIR}; ${CP} ${FILESDIR}/RAY.* .; uudecode *.uu; ${RM} *.uu)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mirrormagic ${PREFIX}/bin
@${MKDIR} ${PREFIX}/share/mirrormagic/graphics
${INSTALL_DATA} ${WRKSRC}/graphics/* ${PREFIX}/share/mirrormagic/graphics
@${MKDIR} ${PREFIX}/share/mirrormagic/sounds
${INSTALL_DATA} ${WRKSRC}/sounds/*.8svx ${PREFIX}/share/mirrormagic/sounds
@${MKDIR} ${PREFIX}/share/mirrormagic/data
${INSTALL_DATA} ${WRKSRC}/RAY.level ${PREFIX}/share/mirrormagic/data
${INSTALL_DATA} ${WRKDIR}/RAY.* ${PREFIX}/share/mirrormagic/data
@${MKDIR} ${PREFIX}/share/doc/mirrormagic
.for file in CHANGES COPYRIGHT DISCLAIMER README
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/mirrormagic
.endfor
# @${CHMOD} a=rwx ${PREFIX}/share/mirrormagic/data
@${CHMOD} a=rw ${PREFIX}/share/mirrormagic/data/RAY.*
.include <bsd.port.mk>