From 961e3228b40efb817aaa235bb2afccee576f4e0d Mon Sep 17 00:00:00 2001 From: tg Date: Wed, 2 Jul 1997 07:13:51 +0000 Subject: Imports of sokoban port. This is the curses-based version. PR: 4007 Submitted by: Andrey Zakhvatov --- games/sokoban/Makefile | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 games/sokoban/Makefile (limited to 'games/sokoban/Makefile') diff --git a/games/sokoban/Makefile b/games/sokoban/Makefile new file mode 100644 index 000000000000..f0c4b7f7f18c --- /dev/null +++ b/games/sokoban/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: sokoban +# Version required: 1.0 +# Date created: 2 July 1997 +# Whom: Andrey Zakhvatov +# +# $Id$ +# + +DISTNAME= sokoban-src +PKGNAME= sokoban-1.0 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SUNSITE} +MASTER_SITE_SUBDIR= games/strategy + +MAINTAINER= andy@icc.surw.chel.su + +WRKSRC= ${WRKDIR}/sokoban +ALL_TARGET= + +do-install: + @ ${INSTALL_PROGRAM} ${WRKSRC}/sokoban ${PREFIX}/bin/sokoban + @ chown games:bin ${PREFIX}/bin/sokoban + @ chmod 4555 ${PREFIX}/bin/sokoban + @ ${MKDIR} ${PREFIX}/share/sokoban + @ chown games:bin ${PREFIX}/share/sokoban + @ ${MKDIR} ${PREFIX}/share/sokoban/screens + @ chown games:bin ${PREFIX}/share/sokoban/screens + @ ${INSTALL_DATA} ${WRKSRC}/screens/* ${PREFIX}/share/sokoban/screens + @ if [ ! -f ${PREFIX}/share/sokoban/highscore ]; then \ + dd if=/dev/zero of=${PREFIX}/share/sokoban/highscore bs=1 count=2; \ + fi + @ chown games:bin ${PREFIX}/share/sokoban/highscore + @ chmod 0600 ${PREFIX}/share/sokoban/highscore + +.include -- cgit