pkgsrc/graphics/tiff/Makefile
wiz ea360da267 Update to 4.0.6:
MAJOR CHANGES:

    Now builds with CMake 2.8.9 and newer (previously required
    3.0.0)

CHANGES IN THE SOFTWARE CONFIGURATION:

    CMakeLists.txt / CMake
	Supports CMake 2.8.9 and later.
	Add missing file which wasn't being distributed, causing
	unit tests to fail.
	Make shared/static library building configurable.
	CMake reads all version information directly from configure.ac
	to avoid duplication of values.
	CMake builds are now included in 'distcheck' target.
    Makefile.am
	Autotools 'make distcheck' now tests the CMake-based build
	if CMake is available.

CHANGES IN LIBTIFF:

    Fixes to avoid undefined behaviour of signed types (C standard
    compliance).
    Fixes to avoid possible isses when casting to unsigned char.
    Fixes to avoid undefined behaviour with shifts.
    Fix generation of output with 16 bit or 32 bit integer, when
    byte swapping is needed, in horizontal predictor (#2521).
    Fix decoding when there is a single pixel to decode (unlikely
    case...) and byte swapping is involved.
    Add add explicit masking with 0xff before casting to uchar in
    floating-point horizontal differencing and accumulation routines.
    Eliminate requirement for and use of 64-bit constant values.

CHANGES IN THE TOOLS:

    tiffgt
	Silence glut API deprecation warnings on MacOS X.
    fax2ps
	Detect failure to write to temporary file.
2015-09-13 09:27:08 +00:00

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.121 2015/09/13 09:27:08 wiz Exp $
DISTNAME= tiff-4.0.6
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.remotesensing.org/pub/libtiff/ \
http://libtiff.maptools.org/dl/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.remotesensing.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"