ports/160119: Update port: graphics/png2html

KATO Tsuguru tkato432 at yahoo.com
Wed Aug 24 18:50:28 UTC 2011


>Number:         160119
>Category:       ports
>Synopsis:       Update port: graphics/png2html
>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:   Wed Aug 24 18:50:27 UTC 2011
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list