- Move highscores to /var/games
- Modernize plist - Add license PR: 205628 Submitted by: amdmi3
This commit is contained in:
parent
bbeb4f68d0
commit
d171ccdd3d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=405600
3 changed files with 15 additions and 20 deletions
|
@ -9,6 +9,9 @@ MASTER_SITES= http://www.gedanken.org.uk/software/xbomb/download/
|
|||
MAINTAINER= danilo@FreeBSD.org
|
||||
COMMENT= Minesweeper with a couple of grid types
|
||||
|
||||
LICENSE= GPLv2 # or later
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= pkgconfig tar:tgz
|
||||
USE_XORG= xaw7
|
||||
|
||||
|
@ -21,9 +24,9 @@ do-install:
|
|||
${INSTALL_PROGRAM} ${WRKSRC}/xbomb ${STAGEDIR}${PREFIX}/bin/xbomb
|
||||
${INSTALL_MAN} ${WRKSRC}/xbomb.6 ${STAGEDIR}${MANPREFIX}/man/man6/xbomb.6
|
||||
${INSTALL_DATA} ${WRKSRC}/xbomb.ad ${STAGEDIR}${PREFIX}/lib/X11/app-defaults/XBomb
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/xbomb
|
||||
@${TOUCH} ${STAGEDIR}${PREFIX}/lib/X11/xbomb/xbomb3.hi
|
||||
@${TOUCH} ${STAGEDIR}${PREFIX}/lib/X11/xbomb/xbomb4.hi
|
||||
@${TOUCH} ${STAGEDIR}${PREFIX}/lib/X11/xbomb/xbomb6.hi
|
||||
@${MKDIR} ${STAGEDIR}/var/games/xbomb
|
||||
@${TOUCH} ${STAGEDIR}/var/games/xbomb/xbomb3.hi.sample
|
||||
@${TOUCH} ${STAGEDIR}/var/games/xbomb/xbomb4.hi.sample
|
||||
@${TOUCH} ${STAGEDIR}/var/games/xbomb/xbomb6.hi.sample
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
|
||||
/*+ The names of the high score tables. +*/
|
||||
-static char *filenames[NTYPES]={"/var/tmp/xbomb6.hi","/var/tmp/xbomb4.hi","/var/tmp/xbomb3.hi"};
|
||||
+static char *filenames[NTYPES]={LOCALBASE"/lib/X11/xbomb/xbomb6.hi",
|
||||
+ LOCALBASE"/lib/X11/xbomb/xbomb4.hi",
|
||||
+ LOCALBASE"/lib/X11/xbomb/xbomb3.hi"};
|
||||
+static char *filenames[NTYPES]={"/var/games/xbomb/xbomb6.hi",
|
||||
+ "/var/games/xbomb/xbomb4.hi",
|
||||
+ "/var/games/xbomb/xbomb3.hi"};
|
||||
|
||||
/*+ The names of the positions in the high score tables. +*/
|
||||
static char pos[11][5]={"Top","2nd","3rd","4th","5th","6th","7th","8th","9th","10th","Lost"};
|
||||
|
|
|
@ -1,15 +1,7 @@
|
|||
@group games
|
||||
@mode 2755
|
||||
bin/xbomb
|
||||
@mode
|
||||
@group
|
||||
@(,games,2755) bin/xbomb
|
||||
man/man6/xbomb.6.gz
|
||||
lib/X11/app-defaults/XBomb
|
||||
@group games
|
||||
@mode 664
|
||||
lib/X11/xbomb/xbomb3.hi
|
||||
lib/X11/xbomb/xbomb4.hi
|
||||
lib/X11/xbomb/xbomb6.hi
|
||||
@mode
|
||||
@group
|
||||
@dirrmtry lib/X11/xbomb
|
||||
@sample(,games,664) /var/games/xbomb/xbomb3.hi.sample
|
||||
@sample(,games,664) /var/games/xbomb/xbomb4.hi.sample
|
||||
@sample(,games,664) /var/games/xbomb/xbomb6.hi.sample
|
||||
@dir /var/games/xbomb
|
||||
|
|
Loading…
Reference in a new issue