From amdmi3@amdmi3.ru  Thu Mar  6 22:42:23 2014
Return-Path: <amdmi3@amdmi3.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 7ED4D475
	for <freebsd-gnats-submit@freebsd.org>; Thu,  6 Mar 2014 22:42:23 +0000 (UTC)
Received: from smtpout3.timeweb.ru (smtpout3.timeweb.ru [92.53.117.25])
	(using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 3963A6E5
	for <freebsd-gnats-submit@freebsd.org>; Thu,  6 Mar 2014 22:42:22 +0000 (UTC)
Received: from [213.148.20.85] (helo=hive.panopticon)
	by smtp.timeweb.ru with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.76)
	(envelope-from <amdmi3@amdmi3.ru>)
	id 1WLgzb-00029C-1T; Fri, 07 Mar 2014 02:42:19 +0400
Received: from hades.panopticon (hades.panopticon [192.168.0.32])
	by hive.panopticon (Postfix) with ESMTP id A371BF15;
	Fri,  7 Mar 2014 02:42:18 +0400 (MSK)
Received: by hades.panopticon (Postfix, from userid 1000)
	id 752F327AB5; Fri,  7 Mar 2014 02:42:18 +0400 (MSK)
Message-Id: <20140306224218.752F327AB5@hades.panopticon>
Date: Fri,  7 Mar 2014 02:42:18 +0400 (MSK)
From: Dmitry Marakasov <amdmi3@amdmi3.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc: tom@hur.st
Subject: [PATCH] graphics/optipng: support staging
X-Send-Pr-Version: 3.113
X-GNATS-Notify: tom@hur.st

>Number:         187331
>Category:       ports
>Synopsis:       [PATCH] graphics/optipng: support staging
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 06 22:50:01 UTC 2014
>Closed-Date:    Sat Mar 29 14:09:00 UTC 2014
>Last-Modified:  Sat Mar 29 14:10:04 UTC 2014
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD hades.panopticon 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260807: Fri Jan 17 13:14:28 MSK
>Description:
- Support staging
- Use new LIB_DEPENDS syntax

Port maintainer (tom@hur.st) is cc'd.

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

--- optipng-0.7.4.patch begins here ---
diff -ruN /usr/ports/graphics/optipng/Makefile ./Makefile
--- /usr/ports/graphics/optipng/Makefile	2014-01-22 21:00:46.000000000 +0400
+++ ./Makefile	2014-03-06 18:37:06.445023247 +0400
@@ -18,19 +18,17 @@
 BUNDLED_ZLIB_DESC=	Use bundled zlib
 
 HAS_CONFIGURE=	yes
-PLIST_FILES=	bin/optipng
-MAN1=		optipng.1
+PLIST_FILES=	bin/optipng man/man1/optipng.1.gz
 PORTDOCS=	history.txt optipng.man.html optipng.man.pdf optipng.man.txt \
 		png_optimization.html todo.txt
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if empty(PORT_OPTIONS:MBUNDLED_LIBPNG)
 CONFIGURE_ARGS+=	--with-system-libpng
 CFLAGS+=	"-I${LOCALBASE}/include"
 LDFLAGS+=	"-L${LOCALBASE}/lib"
-LIB_DEPENDS+=	png15:${PORTSDIR}/graphics/png
+LIB_DEPENDS+=	libpng15.so:${PORTSDIR}/graphics/png
 .endif
 
 .if empty(PORT_OPTIONS:MBUNDLED_ZLIB)
@@ -38,13 +36,11 @@
 .endif
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/optipng/optipng ${PREFIX}/bin/
-	${INSTALL_MAN} ${WRKSRC}/src/optipng/man/optipng.1 ${MAN1PREFIX}/man/man1/
+	${INSTALL_PROGRAM} ${WRKSRC}/src/optipng/optipng ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_MAN} ${WRKSRC}/src/optipng/man/optipng.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	${INSTALL} -d ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}/
-.endif
+	${INSTALL} -d ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>
--- optipng-0.7.4.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Mar 6 22:50:21 UTC 2014 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: tom@hur.st
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/187331: [PATCH] graphics/optipng: support staging
Date: Thu, 6 Mar 2014 22:50:21 UT

 Maintainer of graphics/optipng,
 
 Please note that PR ports/187331 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/187331
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
State-Changed-From-To: feedback->closed 
State-Changed-By: amdmi3 
State-Changed-When: Sat Mar 29 14:08:58 UTC 2014 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/187331: commit references a PR
Date: Sat, 29 Mar 2014 14:02:32 +0000 (UTC)

 Author: amdmi3
 Date: Sat Mar 29 14:02:29 2014
 New Revision: 349512
 URL: http://svnweb.freebsd.org/changeset/ports/349512
 QAT: https://qat.redports.org/buildarchive/r349512/
 
 Log:
   - Support staging
   - Use new LIB_DEPENDS syntax
   
   PR:		187331
   Submitted by:	amdmi3
   Approved by:	maintainer timeout, portmgr (blanket)
 
 Modified:
   head/graphics/optipng/Makefile
 
 Modified: head/graphics/optipng/Makefile
 ==============================================================================
 --- head/graphics/optipng/Makefile	Sat Mar 29 14:01:55 2014	(r349511)
 +++ head/graphics/optipng/Makefile	Sat Mar 29 14:02:29 2014	(r349512)
 @@ -18,19 +18,17 @@ BUNDLED_LIBPNG_DESC=	Use bundled libpng
  BUNDLED_ZLIB_DESC=	Use bundled zlib
  
  HAS_CONFIGURE=	yes
 -PLIST_FILES=	bin/optipng
 -MAN1=		optipng.1
 +PLIST_FILES=	bin/optipng man/man1/optipng.1.gz
  PORTDOCS=	history.txt optipng.man.html optipng.man.pdf optipng.man.txt \
  		png_optimization.html todo.txt
  
 -NO_STAGE=	yes
  .include <bsd.port.options.mk>
  
  .if empty(PORT_OPTIONS:MBUNDLED_LIBPNG)
  CONFIGURE_ARGS+=	--with-system-libpng
  CFLAGS+=	"-I${LOCALBASE}/include"
  LDFLAGS+=	"-L${LOCALBASE}/lib"
 -LIB_DEPENDS+=	png15:${PORTSDIR}/graphics/png
 +LIB_DEPENDS+=	libpng15.so:${PORTSDIR}/graphics/png
  .endif
  
  .if empty(PORT_OPTIONS:MBUNDLED_ZLIB)
 @@ -38,13 +36,11 @@ CONFIGURE_ARGS+=	--with-system-zlib
  .endif
  
  do-install:
 -	${INSTALL_PROGRAM} ${WRKSRC}/src/optipng/optipng ${PREFIX}/bin/
 -	${INSTALL_MAN} ${WRKSRC}/src/optipng/man/optipng.1 ${MAN1PREFIX}/man/man1/
 +	${INSTALL_PROGRAM} ${WRKSRC}/src/optipng/optipng ${STAGEDIR}${PREFIX}/bin/
 +	${INSTALL_MAN} ${WRKSRC}/src/optipng/man/optipng.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
  
  post-install:
 -.if ${PORT_OPTIONS:MDOCS}
 -	${INSTALL} -d ${DOCSDIR}
 -	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}/
 -.endif
 +	${INSTALL} -d ${STAGEDIR}${DOCSDIR}
 +	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}/
  
  .include <bsd.port.mk>
 _______________________________________________
 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:
