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

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

>Number:         172186
>Category:       ports
>Synopsis:       [PATCH] games/bs: 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:09 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

+LICENSE=	GPLv2

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/20120930162310-39259/

>Fix:

--- bs-2.8.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/bs/Makefile ./Makefile
--- /usr/ports/games/bs/Makefile	2011-03-13 07:08:53.000000000 +0100
+++ ./Makefile	2012-09-30 18:21:58.000000000 +0200
@@ -10,18 +10,20 @@
 CATEGORIES=	games
 MASTER_SITES=	http://www.catb.org/~esr/bs/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	nemysis@gmx.ch
 COMMENT=	Battleships solitaire game with a color interface
 
+LICENSE=	GPLv2
+
 MAKE_ARGS=	CC="${CC}"
 ALL_TARGET=	# empty
 USE_GMAKE=	yes
 
-MAN6=		bs.6
-PLIST_FILES=	bin/bs
+MAN6=		${PORTNAME}.6
+PLIST_FILES=	bin/${PORTNAME}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/bs ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/bs.6 ${MANPREFIX}/man/man6
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/${MAN6} ${MAN6PREFIX}/man/man6
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/games/bs/pkg-descr ./pkg-descr
--- /usr/ports/games/bs/pkg-descr	2003-02-09 20:39:16.000000000 +0100
+++ ./pkg-descr	2012-09-30 18:06:07.000000000 +0200
@@ -1,4 +1,10 @@
 Battleships solitaire game with a color point-and-shoot
 interface in the style of blue and galaxis games (for console).
 
+This program allows you to play the familiar Battleships game against the
+computer on a 10x10 board. The interface is visual and largely
+self-explanatory; you place your ships and pick your shots by moving the cursor
+around the `sea' with the rogue/hack motion keys hjklyubn.
+If your UNIX has a modern (non-BSD) curses, your arrow keys will also work.
+
 WWW: http://www.catb.org/~esr/bs/
--- bs-2.8.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?20120930175300.95865106566C>