1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/games/xsokoban/Makefile

38 lines
1003 B
Makefile
Raw Normal View History

# 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>
#
1999-08-25 06:06:33 +00:00
# $FreeBSD$
#
DISTNAME= xsokoban-3.3c
CATEGORIES= games
MASTER_SITES= ftp://ftp.pmg.lcs.mit.edu/pub/xsokoban/
MAINTAINER= nakai@FreeBSD.org
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
USE_IMAKE= yes
WRKSRC= ${WRKDIR}/xsokoban
ALL_TARGET= xsokoban
MAN1= xsokoban.1
post-patch:
@${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/config.h
post-install:
@${MKDIR} ${PREFIX}/lib/X11/xsokoban/scores \
${PREFIX}/lib/X11/xsokoban/bitmaps/defaults \
${PREFIX}/lib/X11/xsokoban/saves \
${PREFIX}/lib/X11/xsokoban/screens
1999-08-22 19:01:07 +00:00
@${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
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>