aboutsummaryrefslogtreecommitdiff
path: root/games/xsokoban/Makefile
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1996-11-20 07:06:59 +0000
committerThomas Gellekum <tg@FreeBSD.org>1996-11-20 07:06:59 +0000
commit7d186159b1522d129e5e22d29ae9e150b6dffa31 (patch)
tree893941a439e5dfd994852943a983ef17fd1169af /games/xsokoban/Makefile
parent03227810da52f59a8bc520f793be47a68065721a (diff)
downloadports-7d186159b1522d129e5e22d29ae9e150b6dffa31.tar.gz
ports-7d186159b1522d129e5e22d29ae9e150b6dffa31.zip
Notes
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>