summaryrefslogtreecommitdiff
path: root/games/mirrormagic/Makefile
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-02-04 00:40:48 +0000
committerSteve Price <steve@FreeBSD.org>1999-02-04 00:40:48 +0000
commit7fa384c54d6b242023a3968694d80da2d24284a2 (patch)
treee644f8aae9f009222941ee8008d0213ba6dce90e /games/mirrormagic/Makefile
parentUse XEMACS_ARCH and XEMACS_VER and cleanup PLIST. (diff)
Initial import of MirrorMagic version 1.3.
An arcade style game for X Windows with stereo sound. PR: 9164 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
Notes
Notes: svn path=/head/; revision=16528
Diffstat (limited to 'games/mirrormagic/Makefile')
-rw-r--r--games/mirrormagic/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/games/mirrormagic/Makefile b/games/mirrormagic/Makefile
new file mode 100644
index 000000000000..977e907d1165
--- /dev/null
+++ b/games/mirrormagic/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: mirrormagic
+# Version required: 1.3
+# Date created: 1 April 1998
+# Whom: Andrey Zakhvatov
+#
+# $Id$
+#
+
+DISTNAME= mirrormagic-1.3
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_XCONTRIB}
+MASTER_SITE_SUBDIR= games
+
+MAINTAINER= andy@icc.surw.chel.su
+
+LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
+
+USE_X_PREFIX= yes
+
+pre-build:
+.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>