1996-11-20 02:06:59 -05:00
|
|
|
# New ports collection makefile for: xsokoban
|
|
|
|
# Version required: 3.3b
|
|
|
|
# Date created: 16 November 1996
|
|
|
|
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
|
|
|
|
#
|
1998-09-16 20:33:02 -04:00
|
|
|
# $Id: Makefile,v 1.4 1998/09/15 11:13:19 asami Exp $
|
1996-11-20 02:06:59 -05:00
|
|
|
#
|
|
|
|
|
1998-04-18 08:45:13 -04:00
|
|
|
DISTNAME= xsokoban-3.3c
|
1996-11-20 07:38:49 -05:00
|
|
|
CATEGORIES= games
|
1996-11-20 02:06:59 -05:00
|
|
|
MASTER_SITES= ftp://ftp.pmg.lcs.mit.edu/pub/xsokoban/
|
|
|
|
|
1998-04-18 08:45:13 -04:00
|
|
|
MAINTAINER= Nakai@technologist.com
|
1996-11-20 02:06:59 -05:00
|
|
|
|
1998-09-16 20:33:02 -04:00
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
|
1996-11-20 02:06:59 -05:00
|
|
|
|
|
|
|
USE_IMAKE= yes
|
|
|
|
WRKSRC= ${WRKDIR}/xsokoban
|
|
|
|
ALL_TARGET= xsokoban
|
|
|
|
|
|
|
|
post-install:
|
1996-11-20 07:38:49 -05:00
|
|
|
@${MKDIR} ${PREFIX}/lib/X11/xsokoban/scores \
|
1996-11-20 02:06:59 -05:00
|
|
|
${PREFIX}/lib/X11/xsokoban/bitmaps/defaults \
|
|
|
|
${PREFIX}/lib/X11/xsokoban/saves \
|
|
|
|
${PREFIX}/lib/X11/xsokoban/screens
|
|
|
|
@chmod 777 ${PREFIX}/lib/X11/xsokoban/scores
|
|
|
|
@chmod 775 ${PREFIX}/lib/X11/xsokoban/saves
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/screens/* ${PREFIX}/lib/X11/xsokoban/screens
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/bitmaps/defaults/* \
|
|
|
|
${PREFIX}/lib/X11/xsokoban/bitmaps/defaults
|
|
|
|
@echo "First, type: 'xsokoban -c' to make score files."
|
|
|
|
@echo "You must be the superuser 'root', and enter password 'score'."
|
|
|
|
@echo
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|