pkgsrc/graphics/tiff/Makefile
maya 310726e7d9 tiff: update to 4.0.10
It has been a year since the previous release.  This is the first
release made from the Git repository at
https://gitlab.com/libtiff/libtiff using a collaborative process.

Since the previous release, a number of security issues have been
fixed, and some significant new features have been added.

This release adds support for Zstd and WebP compression algorithms.
In their own way, each of these compression algorithms is highly
complimentary to TIFF.

Zstd provides improved compression and decompression speed vs zlib's
Deflate as well as a broader range of compression ratios.  Zstd is
developed by Facebook and the implementation continues to be improved.

WebP is optimized for small/medium 8-bit images while offering
improved compression performance vs traditional JPEG.  WebP works well
in strips or tiles to compress large images down to very small files,
while preserving a good looking image.  WebP is developed by Google,
and its implementation continues to be improved.

Due to Adobe's TIFF tag registration interface going off-line, we have
had to assign our own tags for Zstd and WebP.
2018-11-10 21:14:53 +00:00

39 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.144 2018/11/10 21:14:53 maya Exp $
DISTNAME= tiff-4.0.10
CATEGORIES= graphics
MASTER_SITES= https://download.osgeo.org/libtiff/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://simplesystems.org/libtiff/
COMMENT= Library and tools for reading and writing TIFF data files
LICENSE= mit
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-rpath
CONFIGURE_ARGS+= --enable-cxx
CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/tiff
CONFIGURE_ARGS+= --without-x # just in case detects gl to build tiffgt
PKGCONFIG_OVERRIDE= libtiff-4.pc.in
TEST_TARGET= check
post-install:
cd ${DESTDIR}/${PREFIX}/${PKGMANDIR}/man3 && for file in *.3tiff; do\
target=`${ECHO} $$file | sed "s/3tiff/3/"`; \
${MV} $$file $$target; \
done
.include "options.mk"
.include "../../devel/zlib/buildlink3.mk"
# XXX for liblzma; there are more potential suppliers
.include "../../archivers/xz/buildlink3.mk"
.include "../../graphics/jbigkit/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"