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