Bug 172505 - graphics/pngquant: Update to version 1.7.3
Summary: graphics/pngquant: Update to version 1.7.3
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Marcelo Araujo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-08 19:10 UTC by tkato432
Modified: 2013-01-21 03:45 UTC (History)
0 users

See Also:


Attachments
file.diff (2.42 KB, patch)
2012-10-08 19:10 UTC, tkato432
no flags Details | Diff
graphics_pngquant.diff (2.37 KB, patch)
2012-12-16 18:00 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2012-10-08 19:10:16 UTC
- Update to version 1.7.3
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-10-08 19:11:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants his PRs (via the GNATS Auto Assign Tool)
Comment 2 Baptiste Daroussin freebsd_committer freebsd_triage 2012-10-29 09:40:23 UTC
Responsible Changed
From-To: miwi->freebsd-ports-bugs

Reassign to the heap miwi being overloaded for now
Comment 3 Marcelo Araujo freebsd_committer freebsd_triage 2012-12-11 13:03:42 UTC
Responsible Changed
From-To: freebsd-ports-bugs->araujo

I'll take it.
Comment 4 tkato432 2012-12-16 18:00:01 UTC
Version 1.8.1 has been released.
Comment 5 dfilter service freebsd_committer freebsd_triage 2013-01-21 03:26:29 UTC
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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 6 Marcelo Araujo freebsd_committer freebsd_triage 2013-01-21 03:45:49 UTC
State Changed
From-To: open->closed

Committed. Thanks!