Date: Mon, 24 Apr 2006 03:00:16 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/96214: Update port: graphics/pngcrush to 1.6.3 Message-ID: <20060424030016.bd564bd0.tkato432@yahoo.com> Resent-Message-ID: <200604231810.k3NIAJjf067153@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 96214 >Category: ports >Synopsis: Update port: graphics/pngcrush to 1.6.3 >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: Sun Apr 23 18:10:19 GMT 2006 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.11-RELEASE-p15 i386 >Organization: >Environment: >Description: - Update to version 1.6.3 Remove file: files/patch-aa >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/pngcrush/Makefile graphics/pngcrush/Makefile --- /usr/ports/graphics/pngcrush/Makefile Sat Mar 25 03:11:48 2006 +++ graphics/pngcrush/Makefile Sat Apr 22 02:27:31 2006 @@ -6,7 +6,7 @@ # PORTNAME= pngcrush -PORTVERSION= 1.5.10 +PORTVERSION= 1.6.3 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pmt @@ -14,8 +14,21 @@ MAINTAINER= ports@FreeBSD.org COMMENT= An optimizer for PNG files -MAKEFILE= Makefile.gcc +USE_BZIP2= yes +USE_GMAKE= yes +MAKE_ENV= LD="${CC}" LIBS="-lz -lm" + PLIST_FILES= bin/pngcrush + +post-patch: + @cd ${WRKSRC} && ${SED} -e \ + 's|^ZINC =|#ZINC =|g ; \ + s|^ZLIB =|#ZLIB =|g ; \ + s|^CC =|#CC =|g ; \ + s|^LD =|#LD =|g ; \ + s|^CFLAGS =|CFLAGS +=|g ; \ + s| -O3||g ; \ + s|^LIBS =|#LIBS =|g' < Makefile.ext-zlib > Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pngcrush ${PREFIX}/bin diff -urN /usr/ports/graphics/pngcrush/distinfo graphics/pngcrush/distinfo --- /usr/ports/graphics/pngcrush/distinfo Sun Jan 22 22:06:00 2006 +++ graphics/pngcrush/distinfo Sat Apr 22 02:04:38 2006 @@ -1,3 +1,3 @@ -MD5 (pngcrush-1.5.10.tar.gz) = 6118ef30738095223c2c01500cf04519 -SHA256 (pngcrush-1.5.10.tar.gz) = ebd66e4683db43a839a7a21a61ac16bb69c85620506f0295997dfaea3b4e3fdb -SIZE (pngcrush-1.5.10.tar.gz) = 313220 +MD5 (pngcrush-1.6.3.tar.bz2) = e98121099fd429bc5ff76de286f522ff +SHA256 (pngcrush-1.6.3.tar.bz2) = 3cb021355883671748d226e995b30d7864528c1ae9a7ec7f18e14fd842066bb4 +SIZE (pngcrush-1.6.3.tar.bz2) = 293902 diff -urN /usr/ports/graphics/pngcrush/files/patch-aa graphics/pngcrush/files/patch-aa --- /usr/ports/graphics/pngcrush/files/patch-aa Sun Jul 2 04:54:09 2000 +++ graphics/pngcrush/files/patch-aa Thu Jan 1 09:00:00 1970 @@ -1,16 +0,0 @@ ---- Makefile.gcc.orig Fri Jun 30 17:53:36 2000 -+++ Makefile.gcc Sat Jul 1 19:46:33 2000 -@@ -10,10 +10,10 @@ - - # macros -------------------------------------------------------------------- - --CC = gcc --LD = gcc -+CC?= gcc -+LD = $(CC) - RM = rm -f --CFLAGS = -I. -O -Wall -+CFLAGS+= -I. -Wall - # [note that -Wall is a gcc-specific compilation flag ("all warnings on")] - LDFLAGS = - O = .o >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060424030016.bd564bd0.tkato432>