aboutsummaryrefslogtreecommitdiffstats
path: root/games/xsokoban/Makefile
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1996-11-20 15:06:59 +0800
committertg <tg@FreeBSD.org>1996-11-20 15:06:59 +0800
commitfa5c6a7decaf5a38a06e2357466d45044ae95f98 (patch)
treee65388d6899c1f1113218c11a028edd3e6877a98 /games/xsokoban/Makefile
parent1f93abc90bf24888bc77cb54f6d4a2bbdcf81113 (diff)
downloadfreebsd-ports-gnome-fa5c6a7decaf5a38a06e2357466d45044ae95f98.tar.gz
freebsd-ports-gnome-fa5c6a7decaf5a38a06e2357466d45044ae95f98.tar.zst
freebsd-ports-gnome-fa5c6a7decaf5a38a06e2357466d45044ae95f98.zip
Import of xsokoban, a pushing blocks solitaire game.
Closes PRs 1801, 2029, 2059. Submitted by: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
Diffstat (limited to 'games/xsokoban/Makefile')
-rw-r--r--games/xsokoban/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/games/xsokoban/Makefile b/games/xsokoban/Makefile
new file mode 100644
index 000000000000..91ab1f091d70
--- /dev/null
+++ b/games/xsokoban/Makefile
@@ -0,0 +1,37 @@
+# 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>
+#
+# $Id$
+#
+
+DISTNAME= xsokoban-3.3b
+CATEGORIES= games x11
+MASTER_SITES= ftp://ftp.pmg.lcs.mit.edu/pub/xsokoban/
+
+MAINTAINER= Nakai@Mlab.t.u-tokyo.ac.jp
+
+LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
+
+USE_X11= yes
+USE_IMAKE= yes
+XMKMF= xmkmf
+WRKSRC= ${WRKDIR}/xsokoban
+ALL_TARGET= xsokoban
+
+post-install:
+ @mkdir -p ${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
+ @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>