From tkato432@yahoo.com  Mon Aug 23 15:01:20 2004
Return-Path: <tkato432@yahoo.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9820C16A4CE
	for <FreeBSD-gnats-submit@FreeBSD.org>; Mon, 23 Aug 2004 15:01:20 +0000 (GMT)
Received: from hfep07.dion.ne.jp (hfep07.dion.ne.jp [203.181.105.73])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5281643D55
	for <FreeBSD-gnats-submit@FreeBSD.org>; Mon, 23 Aug 2004 15:01:19 +0000 (GMT)
	(envelope-from tkato432@yahoo.com)
Received: from localhost ([61.198.217.69]) by hfep07.dion.ne.jp with SMTP
          id <20040823150115137.CDBB@hfep07.dion.ne.jp>
          for <FreeBSD-gnats-submit@FreeBSD.org>;
          Tue, 24 Aug 2004 00:01:15 +0900
Message-Id: <20040824000022.2d7d7cf2.tkato432@yahoo.com>
Date: Tue, 24 Aug 2004 00:00:22 +0900
From: KATO Tsuguru <tkato432@yahoo.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: graphics/tif22pnm to 0.11

>Number:         70868
>Category:       ports
>Synopsis:       Update port: graphics/tif22pnm to 0.11
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    krion
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 23 15:10:19 GMT 2004
>Closed-Date:    Mon Aug 23 19:05:16 GMT 2004
>Last-Modified:  Mon Aug 23 19:05:16 GMT 2004
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 0.11

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/tif22pnm/Makefile graphics/tif22pnm/Makefile
--- /usr/ports/graphics/tif22pnm/Makefile	Fri Feb  6 10:12:05 2004
+++ graphics/tif22pnm/Makefile	Mon Aug 23 23:13:51 2004
@@ -7,25 +7,33 @@
 #
 
 PORTNAME=	tif22pnm
-PORTVERSION=	0.10
+PORTVERSION=	0.11
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.inf.bme.hu/~pts/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Converts TIFF- sampled images to PNM image
 
-BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash2
-LIB_DEPENDS=	tiff:${PORTSDIR}/graphics/tiff
+BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash
+LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png \
+		tiff.4:${PORTSDIR}/graphics/tiff
 
-PLIST_FILES=	bin/tif22pnm
+USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ARGS=	--with-libtiff-ldir=${LOCALBASE}/lib \
 		--with-libtiff-idir=${LOCALBASE}/include
 
+PLIST_FILES=	bin/png22pnm bin/tif22pnm
+
+post-patch:
+	@${REINPLACE_CMD} -e 's| -O2| ${CFLAGS}|g' ${WRKSRC}/do.sh
+
 do-build:
 	@(cd ${WRKSRC} ; ${LOCALBASE}/bin/bash do.sh compile)
 
 do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/png22pnm ${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/tif22pnm ${PREFIX}/bin
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/tif22pnm/distinfo graphics/tif22pnm/distinfo
--- /usr/ports/graphics/tif22pnm/distinfo	Thu Jan 29 20:26:50 2004
+++ graphics/tif22pnm/distinfo	Mon Aug 23 23:07:09 2004
@@ -1,2 +1,2 @@
-MD5 (tif22pnm-0.10.tar.gz) = aaf39a97f65d73a2dbcbc6dd710e8187
-SIZE (tif22pnm-0.10.tar.gz) = 107042
+MD5 (tif22pnm-0.11.tar.gz) = 1fde82ce6039e0ca83d7dbaf871ea029
+SIZE (tif22pnm-0.11.tar.gz) = 107002
diff -urN /usr/ports/graphics/tif22pnm/pkg-descr graphics/tif22pnm/pkg-descr
--- /usr/ports/graphics/tif22pnm/pkg-descr	Tue Jan  7 21:53:49 2003
+++ graphics/tif22pnm/pkg-descr	Mon Aug 23 23:48:44 2004
@@ -1,4 +1,6 @@
-tif22pnm is a commandline utility that converts TIFF- sampled images to PNM
-images, using the libtiff library, but not using NetPBM. It is similar to
-tifftopnm utility in the NetPBM distribution, but handles a wider range of
-TIFF files and is able to output the alpha channel as a PBM or PGM file.
+tif22pnm is a command line utility that converts between TIFF sampled images
+and PNM images (both directions), using the libtiff library, but not using
+NetPBM. tif22pnm is similar to tifftopnm utility in the NetPBM distribution,
+but tif22pnm handles a wider range of TIFF files and it is able to output
+the alpha channel as a PBM or PGM file. png22pnm, a converter from PNG to
+PNM is also bundled into the distribution.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->krion 
Responsible-Changed-By: krion 
Responsible-Changed-When: Mon Aug 23 15:14:15 GMT 2004 
Responsible-Changed-Why:  
Grab. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70868 
State-Changed-From-To: open->closed 
State-Changed-By: krion 
State-Changed-When: Mon Aug 23 19:05:10 GMT 2004 
State-Changed-Why:  
Committed, thanks! 

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