ports/172887: [PATCH] games/nuclearchess: Makefile changed, OptionsNG, take maintainership

nemysis nemysis at gmx.ch
Fri Oct 19 22:40:01 UTC 2012


>Number:         172887
>Category:       ports
>Synopsis:       [PATCH] games/nuclearchess: Makefile changed, OptionsNG, 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:   Fri Oct 19 22:40:01 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:

- Take maintainership

Removed file(s):
- pkg-plist

Makefile changed:

+LICENSE=	GPLv2
+BUILD_DEPENDS=	pamscale:${PORTSDIR}/graphics/netpbm
+PORTDATA=	*
+PORTDOCS=
+DESKTOP_ENTRIES=
+.include <bsd.port.options.mk>
+post-build:
+post-install:

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: new ports should not set PORTREVISION.
WARN: Makefile: only one MASTER_SITE configured.  Consider adding additional mirrors.
0 fatal errors and 3 warnings found.


port test: clean


Build log

https://redports.org/buildarchive/20121019220307-60681/

>Fix:

--- nuclearchess-1.0.0_7.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/nuclearchess/Makefile ./Makefile
--- /usr/ports/games/nuclearchess/Makefile	2012-06-01 07:19:06.000000000 +0200
+++ ./Makefile	2012-10-20 00:19:33.000000000 +0200
@@ -7,19 +7,44 @@
 
 PORTNAME=	nuclearchess
 PORTVERSION=	1.0.0
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	games
 MASTER_SITES=	http://www.linux-games.com/nuclearchess/
 
-MAINTAINER=	ports at FreeBSD.org
-COMMENT=	A chess variant designed to be short and fun for all players
+MAINTAINER=	nemysis at gmx.ch
+COMMENT=	Chess variant designed to be short and fun for all players
 
-LICENSE=	GPLv2 GPLv3
-LICENSE_COMB=	dual
+LICENSE=	GPLv2
+
+BUILD_DEPENDS=	pamscale:${PORTSDIR}/graphics/netpbm
 
 USE_SDL=	sdl image
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--localstatedir=${DATADIR}
 MAKE_JOBS_SAFE=	yes
 
+PLIST_FILES=	bin/${PORTNAME} \
+		share/pixmaps/${PORTNAME}.png
+
+PORTDATA=	*
+PORTDOCS=	AUTHORS ChangeLog
+
+DESKTOP_ENTRIES="NuclearChess" "${COMMENT}" "${PORTNAME}" \
+		"${PORTNAME}" "Game;ArcadeGame;" ${FALSE}
+
+.include <bsd.port.options.mk>
+
+post-build:
+	@(cd ${WRKSRC}/gfx && \
+		${LOCALBASE}/bin/pngtopnm atom.png | \
+		${LOCALBASE}/bin/pamscale .22 | ${LOCALBASE}/bin/pnmtopng > nuclearchess.png)
+
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/gfx/nuclearchess.png ${PREFIX}/share/pixmaps
+
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/games/nuclearchess/pkg-plist ./pkg-plist
--- /usr/ports/games/nuclearchess/pkg-plist	2006-06-23 05:48:14.000000000 +0200
+++ ./pkg-plist	1970-01-01 01:00:00.000000000 +0100
@@ -1,37 +0,0 @@
-bin/nuclearchess
-%%DATADIR%%/gfx/SmallStone.png
-%%DATADIR%%/gfx/anim3.png
-%%DATADIR%%/gfx/bauer.png
-%%DATADIR%%/gfx/dame.png
-%%DATADIR%%/gfx/anim1.png
-%%DATADIR%%/gfx/anim4.png
-%%DATADIR%%/gfx/turm.png
-%%DATADIR%%/gfx/StoneFont.png
-%%DATADIR%%/gfx/anim10.png
-%%DATADIR%%/gfx/anim5.png
-%%DATADIR%%/gfx/black.png
-%%DATADIR%%/gfx/koenig.png
-%%DATADIR%%/gfx/anim11.png
-%%DATADIR%%/gfx/anim6.png
-%%DATADIR%%/gfx/white.png
-%%DATADIR%%/gfx/anim12.png
-%%DATADIR%%/gfx/anim7.png
-%%DATADIR%%/gfx/board.png
-%%DATADIR%%/gfx/laeufer.png
-%%DATADIR%%/gfx/wood.png
-%%DATADIR%%/gfx/anim13.png
-%%DATADIR%%/gfx/anim8.png
-%%DATADIR%%/gfx/bomb.png
-%%DATADIR%%/gfx/anim14.png
-%%DATADIR%%/gfx/anim9.png
-%%DATADIR%%/gfx/bombe.png
-%%DATADIR%%/gfx/anim15.png
-%%DATADIR%%/gfx/atom-rot.png
-%%DATADIR%%/gfx/button-light.png
-%%DATADIR%%/gfx/select.png
-%%DATADIR%%/gfx/anim2.png
-%%DATADIR%%/gfx/atom.png
-%%DATADIR%%/gfx/button.png
-%%DATADIR%%/gfx/springer.png
- at dirrm %%DATADIR%%/gfx
- at dirrm %%DATADIR%%
--- nuclearchess-1.0.0_7.patch ends here ---

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


More information about the freebsd-ports-bugs mailing list