From nemysis@gmx.ch  Sun Nov  4 02:58:42 2012
Return-Path: <nemysis@gmx.ch>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id DF62325B
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  4 Nov 2012 02:58:42 +0000 (UTC)
	(envelope-from nemysis@gmx.ch)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23])
	by mx1.freebsd.org (Postfix) with SMTP id 499F58FC12
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  4 Nov 2012 02:58:41 +0000 (UTC)
Received: (qmail invoked by alias); 04 Nov 2012 02:58:39 -0000
Received: from 201-230.4-85.cust.bluewin.ch (EHLO something.email.com) [85.4.230.201]
  by mail.gmx.net (mp027) with SMTP; 04 Nov 2012 03:58:39 +0100
Received: by something.email.com (sSMTP sendmail emulation); Sun, 04 Nov 2012 03:58:39 +0100
Message-Id: <20121104025842.DF62325B@hub.freebsd.org>
Date: Sun, 04 Nov 2012 03:58:39 +0100
From: nemysis <nemysis@gmx.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc: jgh@FreeBSD.org
Subject: [MAINTAINER] games/netwalk: Changed Makefile, added Desktop entries, removed all Notes
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         173346
>Category:       ports
>Synopsis:       [MAINTAINER] games/netwalk: Changed Makefile, added Desktop entries, removed all Notes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    beech
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 04 03:00:00 UTC 2012
>Closed-Date:    Thu Mar 14 00:13:29 UTC 2013
>Last-Modified:  Thu Mar 14 00:20:00 UTC 2013
>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:
+BUILD_DEPENDS=	pamscale:${PORTSDIR}/graphics/netpbm
+post-build:

Changed and refined
 post-install:

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:

portlint -A
looks fine.

port test: clean

>Fix:

--- netwalk-0.4.10.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/netwalk/Makefile ./Makefile
--- /usr/ports/games/netwalk/Makefile	2012-10-03 21:51:47.000000000 +0200
+++ ./Makefile	2012-11-04 03:39:06.000000000 +0100
@@ -15,6 +15,8 @@
 
 LICENSE=	GPLv3
 
+BUILD_DEPENDS=	pamscale:${PORTSDIR}/graphics/netpbm
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	blynn
 GH_PROJECT=	${PORTNAME}
@@ -43,7 +45,6 @@
 .include <bsd.port.options.mk>
 
 post-patch:
-# Fix SDL, CFLAGS, PREFIX
 	@${REINPLACE_CMD} \
 	-e 's|sdl-config|$(SDL_CONFIG)|' \
 	-e 's|CC=gcc|CC?=g++|' \
@@ -51,11 +52,14 @@
 	-e 's|PREFIX = /usr|PREFIX = ${PREFIX}|' \
 		${WRKSRC}/Makefile
 
+post-build:
+	@(cd ${WRKSRC} && \
+		${LOCALBASE}/bin/pngtopnm ${DISTDIR}/${DIST_SUBDIR}/screenshot-0.4.8.png | \
+		${LOCALBASE}/bin/pamscale .177 | ${LOCALBASE}/bin/pnmtopng > ${PORTNAME}.png)
+
 post-install:
-# Pixmaps
-	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/screenshot-0.4.8.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${PREFIX}/share/pixmaps
 
-# Documentation
 .if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
--- netwalk-0.4.10.patch ends here ---

>Release-Note:
>Audit-Trail:

From: nemysis <nemysis@gmx.ch>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/173346: [MAINTAINER] games/netwalk: Changed Makefile,
 added Desktop entries, removed all Notes
Date: Fri, 22 Feb 2013 18:10:00 +0100

 --MP_/pw1YNZdtt./5Cl+WjuoU.MC
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 Removed all Notes
 
 ${INSTALL_DATA} ${_DISTDIR}/screenshot-0.4.8.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
 --MP_/pw1YNZdtt./5Cl+WjuoU.MC
 Content-Type: text/x-patch
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename=netwalk.diff
 
 ===> Generating patch
 ===> Viewing diff with more
 diff -ruN --exclude=CVS /usr/ports/games/netwalk/Makefile ./Makefile
 --- /usr/ports/games/netwalk/Makefile	2013-01-24 11:57:59.000000000 +0100
 +++ ./Makefile	2013-02-22 18:08:19.000000000 +0100
 @@ -2,7 +2,7 @@
  
  PORTNAME=	netwalk
  PORTVERSION=	0.4.10
 -PORTREVISION=	1
 +PORTREVISION=	2
  CATEGORIES=	games
  MASTER_SITES=	GITHUB \
  		GOOGLE_CODE:icons
 @@ -44,7 +44,6 @@
  .include <bsd.port.options.mk>
  
  post-patch:
 -# Fix SDL, CFLAGS, PREFIX
  	@${REINPLACE_CMD} \
  	-e 's|sdl-config|$(SDL_CONFIG)|' \
  	-e 's|CC=gcc|CC?=g++|' \
 @@ -53,10 +52,8 @@
  		${WRKSRC}/Makefile
  
  post-install:
 -# Pixmaps
 -	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/screenshot-0.4.8.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
 +	${INSTALL_DATA} ${_DISTDIR}/screenshot-0.4.8.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
  
 -# Documentation
  .if ${PORT_OPTIONS:MDOCS}
  	${MKDIR} ${DOCSDIR}
  	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 ===> Done
 
 --MP_/pw1YNZdtt./5Cl+WjuoU.MC--
Responsible-Changed-From-To: freebsd-ports-bugs->beech 
Responsible-Changed-By: beech 
Responsible-Changed-When: Tue Mar 12 23:37:04 UTC 2013 
Responsible-Changed-Why:  
Mine 

http://www.freebsd.org/cgi/query-pr.cgi?pr=173346 
State-Changed-From-To: open->closed 
State-Changed-By: beech 
State-Changed-When: Thu Mar 14 00:13:15 UTC 2013 
State-Changed-Why:  
Committed, Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=173346 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/173346: commit references a PR
Date: Thu, 14 Mar 2013 00:12:04 +0000 (UTC)

 Author: beech
 Date: Thu Mar 14 00:11:57 2013
 New Revision: 314121
 URL: http://svnweb.freebsd.org/changeset/ports/314121
 
 Log:
   - Makefile tweaks
   - Add desktop entries
   - Add build depends
   - Bump portrevision
   
   PR:		ports/173346
   Submitted by:	nemysis <nemysis@gmx.ch> (maintainer)
 
 Modified:
   head/games/netwalk/Makefile
 
 Modified: head/games/netwalk/Makefile
 ==============================================================================
 --- head/games/netwalk/Makefile	Wed Mar 13 23:38:48 2013	(r314120)
 +++ head/games/netwalk/Makefile	Thu Mar 14 00:11:57 2013	(r314121)
 @@ -2,7 +2,7 @@
  
  PORTNAME=	netwalk
  PORTVERSION=	0.4.10
 -PORTREVISION=	1
 +PORTREVISION=	2
  CATEGORIES=	games
  MASTER_SITES=	GITHUB \
  		GOOGLE_CODE:icons
 @@ -44,7 +44,6 @@ DESKTOP_ENTRIES="NetWalk" "${COMMENT}" "
  .include <bsd.port.options.mk>
  
  post-patch:
 -# Fix SDL, CFLAGS, PREFIX
  	@${REINPLACE_CMD} \
  	-e 's|sdl-config|$(SDL_CONFIG)|' \
  	-e 's|CC=gcc|CC?=g++|' \
 @@ -53,10 +52,8 @@ post-patch:
  		${WRKSRC}/Makefile
  
  post-install:
 -# Pixmaps
 -	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/screenshot-0.4.8.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
 +	${INSTALL_DATA} ${_DISTDIR}/screenshot-0.4.8.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
  
 -# Documentation
  .if ${PORT_OPTIONS:MDOCS}
  	${MKDIR} ${DOCSDIR}
  	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
