1997-07-02 03:13:51 -04:00
|
|
|
# New ports collection makefile for: sokoban
|
|
|
|
# Date created: 2 July 1997
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 02:06:33 -04:00
|
|
|
# $FreeBSD$
|
1997-07-02 03:13:51 -04:00
|
|
|
#
|
|
|
|
|
2000-04-14 08:28:40 -04:00
|
|
|
PORTNAME= sokoban
|
|
|
|
PORTVERSION= 1.0
|
1997-07-02 03:13:51 -04:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
|
|
|
MASTER_SITE_SUBDIR= games/strategy
|
2000-04-14 08:28:40 -04:00
|
|
|
DISTFILES= ${PORTNAME}-src${EXTRACT_SUFX}
|
1997-07-02 03:13:51 -04:00
|
|
|
|
2000-03-29 02:19:16 -05:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1997-07-02 03:13:51 -04:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/sokoban
|
|
|
|
ALL_TARGET=
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@ ${INSTALL_PROGRAM} ${WRKSRC}/sokoban ${PREFIX}/bin/sokoban
|
2000-03-09 01:58:48 -05:00
|
|
|
@ ${CHOWN} root:games ${PREFIX}/bin/sokoban
|
|
|
|
@ ${CHMOD} 2555 ${PREFIX}/bin/sokoban
|
1997-07-02 03:13:51 -04:00
|
|
|
@ ${MKDIR} ${PREFIX}/share/sokoban
|
2000-03-09 01:58:48 -05:00
|
|
|
@ ${CHOWN} root:games ${PREFIX}/share/sokoban
|
1997-07-02 03:13:51 -04:00
|
|
|
@ ${MKDIR} ${PREFIX}/share/sokoban/screens
|
2000-03-09 01:58:48 -05:00
|
|
|
@ ${CHOWN} root:games ${PREFIX}/share/sokoban/screens
|
1997-07-02 03:13:51 -04:00
|
|
|
@ ${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
|
2000-03-09 01:58:48 -05:00
|
|
|
@ ${CHOWN} root:games ${PREFIX}/share/sokoban/highscore
|
1999-08-22 15:01:07 -04:00
|
|
|
@ ${CHMOD} 0600 ${PREFIX}/share/sokoban/highscore
|
1997-07-02 03:13:51 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|