ports/111839: games/xscrabble: update to 2.12

Eric P. Scott eps+pbug0704 at ana.com
Thu Apr 19 03:40:02 UTC 2007


>Number:         111839
>Category:       ports
>Synopsis:       games/xscrabble: update to 2.12
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 19 03:40:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Eric P. Scott
>Release:        FreeBSD 6.2-RELEASE-p2 i386
>Organization:
ana-systems, Inc.
>Environment:
System: FreeBSD sixofone 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2 #0: Tue Feb 27 22:41:06 UTC 2007 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
1. Update to xscrabble 2.12
2. Fix typo in pkg-descr and trim trailing blanks

"You might be able to improve upon this"

This port does something I don't like: it installs an empty,
unwritable scrabble_scores file in a directory whose contents
shouldn't be modified.  Players then need to override the
app-defaults by placing a

XScrabble.scorefile: /path/to/scrabble_scores

line in $HOME/.Xdefaults (or $HOME/.Xresources, whatever).

Wouldn't it make more sense to create a new, empty, writable
score file under /var/games (if it doesn't exist) upon
package installation; make the app-defaults file reference that;
on deinstall, remove /var/games/scrabble_scores if it is empty or
print a message indicating this file needs to be deleted manually
in order to remove all traces?
>How-To-Repeat:
>Fix:
diff -ruN /usr/ports/games/xscrabble/Makefile games/xscrabble/Makefile
--- /usr/ports/games/xscrabble/Makefile	Sun May  7 16:45:44 2006
+++ games/xscrabble/Makefile
@@ -6,14 +6,15 @@
 #
 
 PORTNAME=	xscrabble
-PORTVERSION=	2.10
+PORTVERSION=	2.12
 CATEGORIES=	games
 MASTER_SITES=	ftp://ftp.ac-grenoble.fr/ge/educational_games/
-DISTFILES=	${PORTNAME}-${PORTVERSION}.tgz ${PORTNAME}_en.tgz
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${PORTNAME}_en${EXTRACT_SUFX}
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	X version of the popular board game
 
+USE_BZIP2=	yes
 USE_IMAKE=	yes
 USE_XPM=	yes
 NO_INSTALL_MANPAGES=	yes
@@ -29,7 +30,7 @@
 		>> ${WRKSRC}/src/config.h
 	@${ECHO_CMD} '#define RULES_FILE "${XSCRABBLEDIR}/scrabble_rules"' \
 		>> ${WRKSRC}/src/config.h
-	@${SED} -e 's|/usr/games/lib/scrabble/en|${XSCRABBLEDIR}|g' \
+	@${SED} -e 's|/usr/share/games/scrabble/en|${XSCRABBLEDIR}|g' \
 		${WRKSRC}/../xscrabble_en/app-defaults/XScrabble_en \
 		> ${WRKSRC}/XScrabble
 	@${REINPLACE_CMD} -e 's|= -O|=$$(CDEBUGFLAGS)|g' ${WRKSRC}/Imakefile
diff -ruN /usr/ports/games/xscrabble/distinfo games/xscrabble/distinfo
--- /usr/ports/games/xscrabble/distinfo	Thu Nov 24 11:27:58 2005
+++ games/xscrabble/distinfo	Mon Jan 15 13:11:30 2007
@@ -1,6 +1,6 @@
-MD5 (xscrabble-2.10.tgz) = 376531c836b62f81d2ac2281495b5030
-SHA256 (xscrabble-2.10.tgz) = a496804b62ad4bd95792505c3f6dbb9fce33cc49aa38ad36c4a812f7e1e2dff1
-SIZE (xscrabble-2.10.tgz) = 83575
-MD5 (xscrabble_en.tgz) = 791244c62c92fc2dfd1c524f1a25eb9f
-SHA256 (xscrabble_en.tgz) = 8bd52efeb50419e310f7a4c436045c3028903a197294bd8af0eab32093074fb0
-SIZE (xscrabble_en.tgz) = 393527
+MD5 (xscrabble-2.12.tar.bz2) = 733e90def2c1d60c0c223f3a0c908db9
+SHA256 (xscrabble-2.12.tar.bz2) = e3eb8a93810af31ea9589f801fb529e7d83df4a54f5d836972777cb4fce81b3d
+SIZE (xscrabble-2.12.tar.bz2) = 79415
+MD5 (xscrabble_en.tar.bz2) = 2fb0ec2e84de2fb0b91ca2d6919df4d5
+SHA256 (xscrabble_en.tar.bz2) = c52c672fb5f3a3b19f6759d26bc1e3b1755bbc79361ddfa1d085842810560a4c
+SIZE (xscrabble_en.tar.bz2) = 397796
diff -ruN /usr/ports/games/xscrabble/pkg-descr games/xscrabble/pkg-descr
--- /usr/ports/games/xscrabble/pkg-descr	Tue Aug 26 13:40:37 2003
+++ games/xscrabble/pkg-descr
@@ -1,19 +1,19 @@
-To run:                                                                         
+To run:
 
-Simpy type xscrabble. This will bring up the setup box which will allow         
-you to enter the names and displays and other info for the game to wish         
-to play. Then click on the Start Game button, (or Load Previous if you're       
-restarting a game). The main program, xscrab, will then be automatically        
-called with the appropriate options.                                            
+Simply type xscrabble. This will bring up the setup box which will allow
+you to enter the names and displays and other info for the game to wish
+to play. Then click on the Start Game button, (or Load Previous if you're
+restarting a game). The main program, xscrab, will then be automatically
+called with the appropriate options.
 
-The game is saved after every turn (in "~/.xscrabble.save" of the               
-person running it) and can be restarted by running xscrabble, entering          
-exactly the same info, and hitting the Load Previous button.                    
+The game is saved after every turn (in "~/.xscrabble.save" of the
+person running it) and can be restarted by running xscrabble, entering
+exactly the same info, and hitting the Load Previous button.
 
-This was a student project, and there are not likely to be any future           
-releases.                                                                       
- 
-Have fun,                                                                       
+This was a student project, and there are not likely to be any future
+releases.
 
-Matt Chapman.                                                                   
+Have fun,
+
+Matt Chapman.
 E-mail: matt at belgarath.demon.co.uk (no longer csuoq at csv.warwick.ac.uk)
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list