From tkato432@yahoo.com  Wed Aug 24 18:44:52 2011
Return-Path: <tkato432@yahoo.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C2B3B1065672
	for <FreeBSD-gnats-submit@FreeBSD.org>; Wed, 24 Aug 2011 18:44:44 +0000 (UTC)
	(envelope-from tkato432@yahoo.com)
Received: from msa102lp.auone-net.jp (msa102lp.auone-net.jp [222.3.140.165])
	by mx1.freebsd.org (Postfix) with ESMTP id 946228FC08
	for <FreeBSD-gnats-submit@FreeBSD.org>; Wed, 24 Aug 2011 18:44:44 +0000 (UTC)
Received: from localhost.localdomain (ZT038043.ppp.dion.ne.jp [59.128.38.43])
	by msa102lp.auone-net.jp (au one net msa) with ESMTP id C85D64AC036
	for <FreeBSD-gnats-submit@FreeBSD.org>; Thu, 25 Aug 2011 03:44:42 +0900 (JST)
Message-Id: <20110825033728.0d7bf4d3.tkato432@yahoo.com>
Date: Thu, 25 Aug 2011 03:37:28 +0900
From: KATO Tsuguru <tkato432@yahoo.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: graphics/png2html

>Number:         160119
>Category:       ports
>Synopsis:       Update port: graphics/png2html
>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:   Wed Aug 24 18:50:27 UTC 2011
>Closed-Date:    Fri Aug 26 04:07:22 UTC 2011
>Last-Modified:  Fri Aug 26 04:10:18 UTC 2011
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Add LICENSE

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/png2html/Makefile graphics/png2html/Makefile
--- /usr/ports/graphics/png2html/Makefile	2010-03-28 17:39:10.000000000 +0900
+++ graphics/png2html/Makefile	2011-08-25 00:40:43.000000000 +0900
@@ -9,22 +9,23 @@
 PORTVERSION=	1.1
 PORTREVISION=	7
 CATEGORIES=	graphics
-MASTER_SITES=	http://www.engr.mun.ca/~holden/
+MASTER_SITES=	http://www.geoffholden.com/content/projects/png2html/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Takes a PNG image and transforms it into HTML
 
+LICENSE=	GPLv2 # (or later)
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 LIB_DEPENDS=	png.6:${PORTSDIR}/graphics/png \
 		gd.4:${PORTSDIR}/graphics/gd
 
 PLIST_FILES=	bin/png2html
 
-do-configure:
-		@${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig
-		@${SED} -e 's|CHANGE_ME|${PREFIX}|' \
-			< ${WRKSRC}/Makefile.orig > ${WRKSRC}/Makefile
+post-patch:
+	@${REINPLACE_CMD} 's|CHANGE_ME|${LOCALBASE}|g' ${WRKSRC}/Makefile
 
 do-install:
-		${INSTALL_PROGRAM} ${WRKSRC}/png2html ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/png2html ${PREFIX}/bin
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/png2html/pkg-descr graphics/png2html/pkg-descr
--- /usr/ports/graphics/png2html/pkg-descr	2009-12-21 15:23:10.000000000 +0900
+++ graphics/png2html/pkg-descr	2011-08-14 23:12:29.000000000 +0900
@@ -1,4 +1,4 @@
-png2html takes a PNG image and transforms it into a
-Web page with the use of a text file.
+png2html takes a PNG image and transforms it into a Web page with the
+use of a text file.
 
-WWW: http://www.engr.mun.ca/~holden/png2html.html
+WWW: http://www.geoffholden.com/content/projects/png2html/
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Fri Aug 26 04:07:21 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/160119: commit references a PR
Date: Fri, 26 Aug 2011 04:08:13 +0000 (UTC)

 miwi        2011-08-26 04:08:00 UTC
 
   FreeBSD ports repository
 
   Modified files:
     graphics/png2html    Makefile pkg-descr 
   Log:
   - Update MASTER_SITES and WWW: line
   - Add LICENSE
   
   PR:             160119
   Submitted by:   Ports Fury
   
   Revision  Changes    Path
   1.18      +7 -6      ports/graphics/png2html/Makefile
   1.3       +3 -3      ports/graphics/png2html/pkg-descr
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
