From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Apr 19 03:40:02 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A13C416A406 for ; Thu, 19 Apr 2007 03:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 737E213C46A for ; Thu, 19 Apr 2007 03:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l3J3e2bv050039 for ; Thu, 19 Apr 2007 03:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l3J3e2f9050038; Thu, 19 Apr 2007 03:40:02 GMT (envelope-from gnats) Resent-Date: Thu, 19 Apr 2007 03:40:02 GMT Resent-Message-Id: <200704190340.l3J3e2f9050038@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Eric P. Scott" Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 664A516A404 for ; Thu, 19 Apr 2007 03:34:00 +0000 (UTC) (envelope-from eps@ana.com) Received: from anna.ana.com (anna.ana.com [208.69.41.33]) by mx1.freebsd.org (Postfix) with ESMTP id 5641B13C4CC for ; Thu, 19 Apr 2007 03:34:00 +0000 (UTC) (envelope-from eps@ana.com) Received: from ana.com (anna.ana.com [208.69.41.33]) by anna.ana.com (8.13.8/8.13.8) with ESMTP id l3J3XjmG075485 for ; Wed, 18 Apr 2007 20:33:45 -0700 (PDT) (envelope-from eps@ana.com) Received: (from eps@localhost) by ana.com (8.13.8/8.13.8/Submit) id l3J3XjZE075484; Wed, 18 Apr 2007 20:33:45 -0700 (PDT) (envelope-from eps) Message-Id: <200704190333.l3J3XjZE075484@ana.com> Date: Wed, 18 Apr 2007 20:33:45 -0700 (PDT) From: "Eric P. Scott" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/111839: games/xscrabble: update to 2.12 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Eric P. Scott" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2007 03:40:02 -0000 >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@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@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@belgarath.demon.co.uk (no longer csuoq@csv.warwick.ac.uk) >Release-Note: >Audit-Trail: >Unformatted: