write scores in /var/games/Xbat, with appropriate modes
regen patches while here. discussed with nikolay
This commit is contained in:
parent
7a678f32d6
commit
54e4f62f39
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.16 2004/11/28 22:41:22 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.17 2006/11/10 17:07:18 steven Exp $
|
||||
#
|
||||
|
||||
COMMENT= "XEVIOUS-like shooting game"
|
||||
|
||||
DISTNAME= xev111
|
||||
PKGNAME= xbat-1.11
|
||||
CATEGORIES= games
|
||||
PKGNAME= xbat-1.11p0
|
||||
CATEGORIES= games
|
||||
|
||||
HOMEPAGE= http://www.nemoto.ecei.tohoku.ac.jp/~wai/index_e.html
|
||||
|
||||
@ -23,4 +23,8 @@ ALL_TARGET= xbat
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/Xbat
|
||||
${INSTALL_DATA} ${WRKSRC}/Score/* ${PREFIX}/share/examples/Xbat
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,11 +1,12 @@
|
||||
$OpenBSD: patch-Imakefile,v 1.1 2006/11/10 17:07:18 steven Exp $
|
||||
--- Imakefile.orig Mon Mar 17 13:32:22 1997
|
||||
+++ Imakefile Fri Jun 2 19:00:15 2000
|
||||
+++ Imakefile Fri Nov 10 11:51:42 2006
|
||||
@@ -1,24 +1,24 @@
|
||||
+XBATDIR=$(USRLIBDIR)/X11/Xbat
|
||||
# TOP10 DIR : directory for socre files
|
||||
#
|
||||
-SCORE_DIR = /usr/local/games/Xbat/Score
|
||||
+SCORE_DIR = $(XBATDIR)/Score
|
||||
+SCORE_DIR = /var/games/Xbat
|
||||
|
||||
# IMAGE DIR : directory for image files
|
||||
-IMAGE_DIR = /usr/local/games/Xbat/Image
|
||||
@ -32,3 +33,15 @@
|
||||
|
||||
#######################################################################
|
||||
|
||||
@@ -48,11 +48,6 @@ DependTarget()
|
||||
CleanTarget()
|
||||
|
||||
install::
|
||||
- MakeDir($(DESTDIR)$(SCORE_DIR))
|
||||
- chmod 777 $(DESTDIR)$(SCORE_DIR);
|
||||
- @case '${MFLAGS}' in *[i]*) set +e;; esac; for i in Score/?* ; do set -x; $(INSTALL) -c -m 0666 $$i $(DESTDIR)$(SCORE_DIR) ; \
|
||||
- done;
|
||||
-
|
||||
MakeDir($(DESTDIR)$(IMAGE_DIR))
|
||||
@case '${MFLAGS}' in *[i]*) set +e;; esac; for i in Image/?* ; do (set -x; $(INSTALL) -c $(INSTLIBFLAGS) $$i $(DESTDIR)$(IMAGE_DIR) ); \
|
||||
done;
|
@ -1,5 +1,9 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2004/09/15 00:46:11 espie Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.4 2006/11/10 17:07:18 steven Exp $
|
||||
@mode g+s
|
||||
@group games
|
||||
bin/xbat
|
||||
@mode
|
||||
@group
|
||||
lib/X11/Xbat/
|
||||
lib/X11/Xbat/Domo/
|
||||
lib/X11/Xbat/Domo/domoX0201.dat
|
||||
@ -695,9 +699,17 @@ lib/X11/Xbat/Map/kuuchuu_map6.dat
|
||||
lib/X11/Xbat/Map/kuuchuu_map7.dat
|
||||
lib/X11/Xbat/Map/kuuchuu_map8.dat
|
||||
lib/X11/Xbat/Map/kuuchuu_map9.dat
|
||||
lib/X11/Xbat/Score/
|
||||
lib/X11/Xbat/Score/top10-0.txt
|
||||
lib/X11/Xbat/Score/top10-1.txt
|
||||
lib/X11/Xbat/Score/top10-2.txt
|
||||
lib/X11/Xbat/Score/top10-3.txt
|
||||
lib/X11/Xbat/Score/top10-4.txt
|
||||
share/examples/Xbat/
|
||||
@group games
|
||||
@mode g+w
|
||||
@sample /var/games/Xbat/
|
||||
@group
|
||||
@mode
|
||||
share/examples/Xbat/top10-0.txt
|
||||
@group games
|
||||
@mode g+w
|
||||
@sample /var/games/Xbat/top10-0.txt
|
||||
@sample /var/games/Xbat/top10-1.txt
|
||||
@sample /var/games/Xbat/top10-2.txt
|
||||
@sample /var/games/Xbat/top10-3.txt
|
||||
@sample /var/games/Xbat/top10-4.txt
|
||||
|
Loading…
Reference in New Issue
Block a user