ports/172505: graphics/pngquant: Update to version 1.7.3

KATO Tsuguru tkato432 at yahoo.com
Mon Oct 8 18:10:18 UTC 2012


>Number:         172505
>Category:       ports
>Synopsis:       graphics/pngquant: Update to version 1.7.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:   Mon Oct 08 18:10:16 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update to version 1.7.3

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/pngquant/Makefile graphics/pngquant/Makefile
--- /usr/ports/graphics/pngquant/Makefile	2012-06-13 06:42:31.000000000 +0900
+++ graphics/pngquant/Makefile	2012-10-09 01:57:21.000000000 +0900
@@ -1,13 +1,8 @@
-# New ports collection makefile for:	pngcquant
-# Date created:				Fri 08 Feb 2002
-# Whom:					Alex Hayward <xelah at xelah.com>
-#
+# Created by: Alex Hayward <xelah at xelah.com>
 # $FreeBSD: ports/graphics/pngquant/Makefile,v 1.13 2012/06/12 21:42:31 bapt Exp $
-#
 
 PORTNAME=	pngquant
-PORTVERSION=	1.7.2
-PORTREVISION=	1
+PORTVERSION=	1.7.3
 DISTVERSIONSUFFIX=	-src
 CATEGORIES=	graphics
 MASTER_SITES=	http://pngquant.org/
@@ -20,25 +15,28 @@
 
 LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png
 
-OPTIONS_DEFINE=	OPTIMIZED_CFLAGS OPENMP SSE2 DEBUG DOCS
+OPTIONS_DEFINE=	OPTIMIZED_CFLAGS OPENMP DEBUG DOCS
+OPTIONS_DEFINE_i386=	SSE2
 OPENMP_DESC=	Enable OpenMP support
 SSE2_DESC=	Enable x86 SSE2 optimization
 
-NO_WRKSUBDIR=	yes
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 USE_BZIP2=	yes
 USE_CSTD=	c99
-MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+USE_GMAKE=	yes
+MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" \
+		LDFLAGS="${LDFLAGS}"
 MAKE_JOBS_SAFE=	yes
 
-CFLAGS+=	`libpng-config --I_opts`
-LDFLAGS+=	`libpng-config --ldflags`
+CPPFLAGS+=	$$(libpng-config --I_opts)
+LDFLAGS+=	$$(libpng-config --ldflags) -lz -lm
 
 MAN1=		pngquant.1
 PORTDOCS=	CHANGELOG README.md
 PLIST_FILES=	bin/pngquant
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 .if empty(PORT_OPTIONS:MDEBUG)
 CFLAGS+=	-DNDEBUG
@@ -56,8 +54,8 @@
 .endif
 
 # SSE2 support is always enabled on amd64
-.if ${PORT_OPTIONS:MSSE2} && ${ARCH} == "i386"
-CFLAGS+=	-DUSE_SSE=1 -msse2
+.if ${PORT_OPTIONS:MSSE2}
+CFLAGS+=	-DUSE_SSE=1 -msse2 -mmmx
 .endif
 
 do-install:
@@ -69,4 +67,4 @@
 	${INSTALL_DATA} ${WRKSRC}/README.md ${DOCSDIR}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/graphics/pngquant/distinfo graphics/pngquant/distinfo
--- /usr/ports/graphics/pngquant/distinfo	2012-04-22 03:48:11.000000000 +0900
+++ graphics/pngquant/distinfo	2012-10-06 06:15:34.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (pngquant-1.7.2-src.tar.bz2) = 4e8b3378aeb573ed092f555483cdbbec94c5d5d19e709d8b338b2026b2e9a2bc
-SIZE (pngquant-1.7.2-src.tar.bz2) = 27223
+SHA256 (pngquant-1.7.3-src.tar.bz2) = 964f3ae88a5728e6fcf351b980d67ea0be8eb23646683467aa83a442b6a0048c
+SIZE (pngquant-1.7.3-src.tar.bz2) = 27502
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list