Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Sep 2012 19:53:11 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/172188: [PATCH] games/blue: Changed all to ${PORTNAME} and pkg-descr, take maintainership
Message-ID:  <20120930175314.9C25E106566B@hub.freebsd.org>
Resent-Message-ID: <201209301800.q8UI0BHB072408@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         172188
>Category:       ports
>Synopsis:       [PATCH] games/blue: Changed all to ${PORTNAME} and pkg-descr, take maintainership
>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:   Sun Sep 30 18:00:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:

Makefile changed

+DISTNAME=	bluemoon-${DISTVERSION}

+COMMENT=	Blue Moon card solitaire

+LICENSE=	BSD

Changed all to ${PORTNAME}

Changed pkg-descr


- Take maintainership

Generated and tested manually, tested with port test and with RedPorts (all RELEASES, CLANG), sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:

portlint -A
WARN: Makefile: for new port, make $FreeBSD$ tag in comment section empty, to make SVN happy.
WARN: Makefile: only one MASTER_SITE configured.  Consider adding additional mirrors.
0 fatal errors and 2 warnings found.

Build log RedPorts

https://redports.org/buildarchive/20120930171032-23775/

>Fix:

--- blue-2.10.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/blue/Makefile ./Makefile
--- /usr/ports/games/blue/Makefile	2011-03-13 07:08:53.000000000 +0100
+++ ./Makefile	2012-09-30 19:46:34.000000000 +0200
@@ -9,17 +9,21 @@
 PORTVERSION=	2.10
 CATEGORIES=	games
 MASTER_SITES=	http://www.catb.org/~esr/bluemoon/
-DISTNAME=	bluemoon-${PORTVERSION}
+DISTNAME=	bluemoon-${DISTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A Blue Moon card solitaire
+MAINTAINER=	nemysis@gmx.ch
+COMMENT=	Blue Moon card solitaire
+
+LICENSE=	BSD
 
 USE_GMAKE=	yes
 ALL_TARGET=	bluemoon
-PLIST_FILES=	bin/blue bin/bluemoon
+
+PLIST_FILES=	bin/bluemoon \
+		bin/${PORTNAME}
 
 MAN6=		bluemoon.6
-MLINKS=		bluemoon.6 blue.6
+MLINKS=		bluemoon.6 ${PORTNAME}.6
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS?=|g ; \
@@ -27,7 +31,7 @@
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/bluemoon ${PREFIX}/bin
-	@${LN} -sf bluemoon ${PREFIX}/bin/blue
-	${INSTALL_MAN} ${WRKSRC}/bluemoon.6 ${MANPREFIX}/man/man6
+	@${LN} -sf bluemoon ${PREFIX}/bin/${PORTNAME}
+	${INSTALL_MAN} ${WRKSRC}/bluemoon.6 ${MAN6PREFIX}/man/man6
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/games/blue/pkg-descr ./pkg-descr
--- /usr/ports/games/blue/pkg-descr	2003-12-25 18:58:22.000000000 +0100
+++ ./pkg-descr	2012-09-30 18:56:48.000000000 +0200
@@ -1,6 +1,15 @@
-				Blue Moon
-			by Tim Lister and Eric S. Raymond
+bluemoon - Blue Moon card solitaire
 
-This simple game includes complete instructions on the game screen.
+This 52-card solitaire starts with  the entire deck shuffled and dealt out in
+four rows.  The aces are then moved to the left end of the layout,
+making 4 initial free spaces.  You may move to a space only the card that
+matches the left neighbor in suit, and is one greater in rank.  Kings are
+high, so no cards may be placed to their right (they create dead spaces).
+When no moves can be made,  cards still out of sequence are  reshuffled
+and dealt face up after the ends of the partial sequences, leaving a card
+space after each sequence, so that each row looks like a partial sequence
+followed by a space, followed by enough cards to make a row of 14.
+moment's reflection will show that this game cannot take more than 13
+deals. A good score is 1-3 deals, 4-7 is average, 8 or more is poor.
 
 WWW: http://www.catb.org/~esr/bluemoon/
--- blue-2.10.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120930175314.9C25E106566B>