mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# New ports collection makefile for: xsokoban
|
|
# Date created: 16 November 1996
|
|
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xsokoban
|
|
PORTVERSION= 3.3c
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.cs.cornell.edu/andru/release/ \
|
|
ftp://ftp.pmg.lcs.mit.edu/pub/xsokoban/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A puzzle of pushing objects to the goals
|
|
|
|
USE_IMAKE= yes
|
|
USE_PERL5_BUILD=yes
|
|
USE_XORG= xpm
|
|
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
|
|
@${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>
|