View | Details | Raw Unified | Return to bug 172505 | Differences between
and this patch

Collapse All | Expand All

(-)graphics/pngquant/Makefile (-17 / +13 lines)
Lines 1-13 Link Here
1
# New ports collection makefile for:	pngcquant
1
# Created by: Alex Hayward <xelah@xelah.com>
2
# Date created:				Fri 08 Feb 2002
3
# Whom:					Alex Hayward <xelah@xelah.com>
4
#
5
# $FreeBSD: head/graphics/pngquant/Makefile 300896 2012-07-14 13:54:48Z beat $
2
# $FreeBSD: head/graphics/pngquant/Makefile 300896 2012-07-14 13:54:48Z beat $
6
#
7
3
8
PORTNAME=	pngquant
4
PORTNAME=	pngquant
9
PORTVERSION=	1.7.2
5
PORTVERSION=	1.8.1
10
PORTREVISION=	1
11
DISTVERSIONSUFFIX=	-src
6
DISTVERSIONSUFFIX=	-src
12
CATEGORIES=	graphics
7
CATEGORIES=	graphics
13
MASTER_SITES=	http://pngquant.org/
8
MASTER_SITES=	http://pngquant.org/
Lines 20-44 Link Here
20
15
21
LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png
16
LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png
22
17
23
OPTIONS_DEFINE=	OPTIMIZED_CFLAGS OPENMP SSE2 DEBUG DOCS
18
OPTIONS_DEFINE=	OPTIMIZED_CFLAGS OPENMP DEBUG DOCS
24
OPENMP_DESC=	Enable OpenMP support
19
OPTIONS_DEFINE_i386=	SSE
25
SSE2_DESC=	Enable x86 SSE2 optimization
26
20
27
NO_WRKSUBDIR=	yes
21
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
28
22
29
USE_BZIP2=	yes
23
USE_BZIP2=	yes
30
USE_CSTD=	c99
24
USE_CSTD=	c99
31
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
25
USE_GMAKE=	yes
26
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" \
27
		LDFLAGS="${LDFLAGS}"
32
MAKE_JOBS_SAFE=	yes
28
MAKE_JOBS_SAFE=	yes
33
29
34
CFLAGS+=	`libpng-config --I_opts`
30
CPPFLAGS+=	$$(libpng-config --I_opts)
35
LDFLAGS+=	`libpng-config --ldflags`
31
LDFLAGS+=	$$(libpng-config --ldflags) -lz -lm
36
32
37
MAN1=		pngquant.1
33
MAN1=		pngquant.1
38
PORTDOCS=	CHANGELOG README.md
34
PORTDOCS=	CHANGELOG README.md
39
PLIST_FILES=	bin/pngquant
35
PLIST_FILES=	bin/pngquant
40
36
41
.include <bsd.port.pre.mk>
37
.include <bsd.port.options.mk>
42
38
43
.if empty(PORT_OPTIONS:MDEBUG)
39
.if empty(PORT_OPTIONS:MDEBUG)
44
CFLAGS+=	-DNDEBUG
40
CFLAGS+=	-DNDEBUG
Lines 56-62 Link Here
56
.endif
52
.endif
57
53
58
# SSE2 support is always enabled on amd64
54
# SSE2 support is always enabled on amd64
59
.if ${PORT_OPTIONS:MSSE2} && ${ARCH} == "i386"
55
.if ${PORT_OPTIONS:MSSE}
60
CFLAGS+=	-DUSE_SSE=1 -msse2
56
CFLAGS+=	-DUSE_SSE=1 -msse2
61
.endif
57
.endif
62
58
Lines 69-72 Link Here
69
	${INSTALL_DATA} ${WRKSRC}/README.md ${DOCSDIR}
65
	${INSTALL_DATA} ${WRKSRC}/README.md ${DOCSDIR}
70
.endif
66
.endif
71
67
72
.include <bsd.port.post.mk>
68
.include <bsd.port.mk>
(-)graphics/pngquant/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (pngquant-1.7.2-src.tar.bz2) = 4e8b3378aeb573ed092f555483cdbbec94c5d5d19e709d8b338b2026b2e9a2bc
1
SHA256 (pngquant-1.8.1-src.tar.bz2) = 4fa4bb620913328d7bee1c45e1f3a241b3a6115d514b407dd110673b1d552c94
2
SIZE (pngquant-1.7.2-src.tar.bz2) = 27223
2
SIZE (pngquant-1.8.1-src.tar.bz2) = 31605

Return to bug 172505