freebsd-ports/games/sokoban/Makefile
Bryan Drewery 22931abc7c - Fix leftover /var/games/sokoban (only when it is blank
and matches the default) and advise users to remove it
  otherwise.
- Trim header
2013-03-18 23:48:12 +00:00

28 lines
823 B
Makefile

# Created by: Andrey Zakhvatov
# $FreeBSD$
PORTNAME= sokoban
PORTVERSION= 1.0
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= games/strategy
DISTFILES= ${PORTNAME}-src${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Logical game: problems with packets in cave
WRKSRC= ${WRKDIR}/sokoban
ALL_TARGET=
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/sokoban ${PREFIX}/bin/sokoban
@ ${CHOWN} root:games ${PREFIX}/bin/sokoban
@ ${CHMOD} 2555 ${PREFIX}/bin/sokoban
@ ${MKDIR} ${PREFIX}/share/sokoban
@ ${CHOWN} root:games ${PREFIX}/share/sokoban
@ ${MKDIR} ${PREFIX}/share/sokoban/screens
@ ${CHOWN} root:games ${PREFIX}/share/sokoban/screens
@ ${INSTALL_DATA} ${WRKSRC}/screens/* ${PREFIX}/share/sokoban/screens
@ ${SH} pkg-install ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>