Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2013 03:26:21 +0000 (UTC)
From:      Marcelo Araujo <araujo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r310735 - head/graphics/pngquant
Message-ID:  <201301210326.r0L3QLuv033632@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: araujo
Date: Mon Jan 21 03:26:21 2013
New Revision: 310735
URL: http://svnweb.freebsd.org/changeset/ports/310735

Log:
  - Update to 1.8.1.
  - Trim header.
  
  PR:		ports/172505
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>

Modified:
  head/graphics/pngquant/Makefile   (contents, props changed)
  head/graphics/pngquant/distinfo   (contents, props changed)

Modified: head/graphics/pngquant/Makefile
==============================================================================
--- head/graphics/pngquant/Makefile	Mon Jan 21 03:25:47 2013	(r310734)
+++ head/graphics/pngquant/Makefile	Mon Jan 21 03:26:21 2013	(r310735)
@@ -1,13 +1,8 @@
-# New ports collection makefile for:	pngcquant
-# Date created:				Fri 08 Feb 2002
-# Whom:					Alex Hayward <xelah@xelah.com>
-#
+# Created by: Alex Hayward <xelah@xelah.com>
 # $FreeBSD$
-#
 
 PORTNAME=	pngquant
-PORTVERSION=	1.7.2
-PORTREVISION=	1
+PORTVERSION=	1.8.1
 DISTVERSIONSUFFIX=	-src
 CATEGORIES=	graphics
 MASTER_SITES=	http://pngquant.org/
@@ -20,25 +15,26 @@ LICENSE_FILE=	${WRKSRC}/COPYRIGHT
 
 LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png
 
-OPTIONS_DEFINE=	OPTIMIZED_CFLAGS OPENMP SSE2 DEBUG DOCS
-OPENMP_DESC=	Enable OpenMP support
-SSE2_DESC=	Enable x86 SSE2 optimization
+OPTIONS_DEFINE=	OPTIMIZED_CFLAGS OPENMP DEBUG DOCS
+OPTIONS_DEFINE_i386=	SSE
 
-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,7 +52,7 @@ LDFLAGS+=	${PTHREAD_LIBS} -lgomp
 .endif
 
 # SSE2 support is always enabled on amd64
-.if ${PORT_OPTIONS:MSSE2} && ${ARCH} == "i386"
+.if ${PORT_OPTIONS:MSSE}
 CFLAGS+=	-DUSE_SSE=1 -msse2
 .endif
 
@@ -69,4 +65,4 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/README.md ${DOCSDIR}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/graphics/pngquant/distinfo
==============================================================================
--- head/graphics/pngquant/distinfo	Mon Jan 21 03:25:47 2013	(r310734)
+++ head/graphics/pngquant/distinfo	Mon Jan 21 03:26:21 2013	(r310735)
@@ -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.8.1-src.tar.bz2) = 4fa4bb620913328d7bee1c45e1f3a241b3a6115d514b407dd110673b1d552c94
+SIZE (pngquant-1.8.1-src.tar.bz2) = 31605



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301210326.r0L3QLuv033632>