summaryrefslogtreecommitdiffstats
path: root/games/sokoban/Makefile
blob: d8410759590a9f4ceed11e8329e96c0892eb99ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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

DEPRECATED=	Unmaintained since 2000
EXPIRATION_DATE=	2014-04-11
WRKSRC=			${WRKDIR}/sokoban
ALL_TARGET=

NO_STAGE=	yes
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>
OpenPOWER on IntegriCloud