- Update to 1.8.1.
- Trim header. PR: ports/172505 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
parent
90ecc390ed
commit
ee6add0882
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=310735
2 changed files with 15 additions and 19 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue