From nemysis@gmx.ch  Mon Nov 12 01:47:36 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 E3EF5DF2
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 12 Nov 2012 01:47:36 +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 4E9B88FC0C
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 12 Nov 2012 01:47:35 +0000 (UTC)
Received: (qmail invoked by alias); 12 Nov 2012 01:47:34 -0000
Received: from 201-230.4-85.cust.bluewin.ch (EHLO something.email.com) [85.4.230.201]
  by mail.gmx.net (mp037) with SMTP; 12 Nov 2012 02:47:34 +0100
Received: by something.email.com (sSMTP sendmail emulation); Mon, 12 Nov 2012 02:47:33 +0100
Message-Id: <20121112014736.E3EF5DF2@hub.freebsd.org>
Date: Mon, 12 Nov 2012 02:47:33 +0100
From: nemysis <nemysis@gmx.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] graphics/pngcheck: OptionsNG, take maintainership
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         173572
>Category:       ports
>Synopsis:       [PATCH] graphics/pngcheck: OptionsNG, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wxs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 12 01:50:00 UTC 2012
>Closed-Date:    Sat Nov 24 19:29:07 UTC 2012
>Last-Modified:  Sat Nov 24 19:29:07 UTC 2012
>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

Makefile changed:
+.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MDOCS}

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

portlint -A
looks fine.

port test: clean

Can't give build log, because RedPorts not works at the time.

>Fix:

--- pngcheck-2.3.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/pngcheck/Makefile ./Makefile
--- /usr/ports/graphics/pngcheck/Makefile	2009-08-22 02:23:04.000000000 +0200
+++ ./Makefile	2012-11-12 02:44:16.000000000 +0100
@@ -10,21 +10,24 @@
 CATEGORIES=	graphics
 MASTER_SITES=	SF/png-mng/${PORTNAME}/${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	nemysis@gmx.ch
 COMMENT=	Checks the integrity of PNG images
 
 MAKEFILE=	Makefile.unx
 MAKE_ARGS=	CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS} -DUSE_ZLIB" LIBS="-lz"
 
-PORTDOCS=	CHANGELOG README
 PLIST_FILES=	bin/pngcheck
 
+PORTDOCS=	CHANGELOG README
+
+.include <bsd.port.options.mk>
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/pngcheck ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
--- pngcheck-2.3.0.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->wxs 
Responsible-Changed-By: wxs 
Responsible-Changed-When: Fri Nov 23 14:50:40 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=173572 
State-Changed-From-To: open->closed 
State-Changed-By: wxs 
State-Changed-When: Sat Nov 24 19:29:06 UTC 2012 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=173572 
>Unformatted:
