ports/70868: Update port: graphics/tif22pnm to 0.11

KATO Tsuguru tkato432 at yahoo.com
Mon Aug 23 15:10:20 UTC 2004


>Number:         70868
>Category:       ports
>Synopsis:       Update port: graphics/tif22pnm to 0.11
>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:   Mon Aug 23 15:10:19 GMT 2004
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list