1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/games/sokoban/Makefile
Satoshi Asami 2971a93e52 Convert to PORTNAME/PORTVERSION. The following ports hand invalid version
strings so I fixed them: quakeforge, netrek-BRMH, netrek-COW3, tetrinet-x and
xnibbles.
2000-04-14 12:28:40 +00:00

36 lines
1.0 KiB
Makefile

# New ports collection makefile for: sokoban
# Date created: 2 July 1997
# Whom: 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
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
@ if [ ! -f ${PREFIX}/share/sokoban/highscore ]; then \
dd if=/dev/zero of=${PREFIX}/share/sokoban/highscore bs=1 count=2; \
fi
@ ${CHOWN} root:games ${PREFIX}/share/sokoban/highscore
@ ${CHMOD} 0600 ${PREFIX}/share/sokoban/highscore
.include <bsd.port.mk>