2000-01-22 06:46:45 -05:00
|
|
|
# New ports collection makefile for: xsokoban
|
|
|
|
# Version required: 3.3c
|
|
|
|
# Date created: 16 November 1996
|
|
|
|
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
|
1996-11-20 02:06:59 -05:00
|
|
|
#
|
1999-08-25 02:06:33 -04:00
|
|
|
# $FreeBSD$
|
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
|
1999-01-12 11:51:33 -05:00
|
|
|
MASTER_SITES= ftp://ftp.pmg.lcs.mit.edu/pub/xsokoban/
|
1996-11-20 02:06:59 -05:00
|
|
|
|
2000-01-06 21:27:48 -05:00
|
|
|
MAINTAINER= nakai@FreeBSD.org
|
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
|
1999-01-12 11:51:33 -05:00
|
|
|
ALL_TARGET= xsokoban
|
1998-09-27 22:25:34 -04:00
|
|
|
MAN1= xsokoban.1
|
1996-11-20 02:06:59 -05:00
|
|
|
|
2000-01-22 06:46:45 -05:00
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/config.h
|
|
|
|
|
1996-11-20 02:06:59 -05:00
|
|
|
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
|
1999-08-22 15:01:07 -04:00
|
|
|
@${CHMOD} 777 ${PREFIX}/lib/X11/xsokoban/scores
|
|
|
|
@${CHMOD} 775 ${PREFIX}/lib/X11/xsokoban/saves
|
1996-11-20 02:06:59 -05:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/screens/* ${PREFIX}/lib/X11/xsokoban/screens
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/bitmaps/defaults/* \
|
|
|
|
${PREFIX}/lib/X11/xsokoban/bitmaps/defaults
|
1999-08-27 17:14:04 -04:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1996-11-20 02:06:59 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|