freebsd-ports/games/sokoban/Makefile
Dmitry Marakasov 39bd17c4ab - Use new pkg plist-related features
- Move highscore file into /var/games

PR:		193852
Submitted by:	lifanov@mail.lifanov.com (maintainer)
2014-10-07 23:26:11 +00:00

27 lines
687 B
Makefile

# Created by: Andrey Zakhvatov
# $FreeBSD$
PORTNAME= sokoban
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= games/strategy
DISTNAME= ${PORTNAME}-src
MAINTAINER= lifanov@mail.lifanov.com
COMMENT= Logical game: problems with packets in cave
WRKSRC= ${WRKDIR}/sokoban
ALL_TARGET=
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/sokoban ${STAGEDIR}${PREFIX}/bin/sokoban
@${MKDIR} ${STAGEDIR}${DATADIR}/screens
@${INSTALL_DATA} ${WRKSRC}/screens/* ${STAGEDIR}${DATADIR}/screens
post-install:
@${MKDIR} ${STAGEDIR}/var/games/sokoban
@truncate -s 512 ${STAGEDIR}/var/games/sokoban/scores.sample
.include <bsd.port.mk>