pkgsrc/graphics/jpeg/Makefile
wiz 9b63668794 jpeg: update to 9c.
Version 9c  14-Jan-2018
-----------------------

jpegtran: add an option to the -wipe switch to fill the region
with the average of adjacent blocks, instead of gray out.
Thank to Caitlyn Feddock and Maddie Ziegler for inspiration.

Make range extension bits adjustable (in jpegint.h).
Thank to Robin Watts for suggestion.

Provide macros for fflush() and ferror() in jinclude.h in order
to facilitate adaption by applications using an own FILE class.
Thank to Gerhard Huber for suggestion.

Add libjpeg pkg-config file.  Thank to Mark Lavi, Vincent Torri,
Patrick McMunn, and Huw Davies for suggestion.

Add sanity checks in cjpeg image reader modules.
Thank to Bingchang, Liu for reports.
2018-01-28 15:55:28 +00:00

33 lines
848 B
Makefile

# $NetBSD: Makefile,v 1.53 2018/01/28 15:55:28 wiz Exp $
DISTNAME= jpegsrc.v9c
PKGNAME= ${DISTNAME:S/src.v/-/}
CATEGORIES= graphics
MASTER_SITES= http://www.ijg.org/files/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.ijg.org/
COMMENT= IJG's jpeg compression utilities
CONFLICTS= libjpeg-turbo-[0-9]*
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-ld-version-script
INSTALLATION_DIRS= bin include share/doc/jpeg
PKGCONFIG_OVERRIDE= libjpeg.pc.in
TEST_TARGET= test
post-extract:
${CP} ${FILESDIR}/jpegexiforient.c ${WRKSRC}
post-install:
${INSTALL_SCRIPT} ${FILESDIR}/exifautotran ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/jpegint.h ${DESTDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/*.txt ${DESTDIR}${PREFIX}/share/doc/jpeg
.include "../../mk/bsd.pkg.mk"