freebsd-ports/games/sokoban/Makefile
Mathieu Arnold f899c758a6 When there is a do-install target, do not use a post-install target, do
everything at once.  Sometime, rename post-install into a options helper
target.

I did not fix ports that were such a mess that I could not figure out
what they really wanted to do.  I also did not change ports that had
some version of an auto-plist code in post-install, for the same reason.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-19 11:04:13 +00:00

25 lines
650 B
Makefile

# Created by: Andrey Zakhvatov
# $FreeBSD$
PORTNAME= sokoban
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= SUNSITE/games/strategy
DISTNAME= ${PORTNAME}-src
MAINTAINER= lifanov@mail.lifanov.com
COMMENT= Logical game: problems with packets in cave
USES= ncurses
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
@${MKDIR} ${STAGEDIR}/var/games/sokoban
truncate -s 512 ${STAGEDIR}/var/games/sokoban/scores.sample
.include <bsd.port.mk>