pkgsrc/graphics/tiff/Makefile
gdt 7e4f825ea8 graphics/tiff: Update to 4.3.0
Upstream changes:

  tiff requires C99 and uses C99 types.  The previous tiff types are
  deprecated.

  new codec for LERC

  bugfixes

  pruning of things no longer in use

https://libtiff.gitlab.io/libtiff/v4.3.0.html
2021-04-20 13:12:54 +00:00

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.149 2021/04/20 13:12:54 gdt Exp $
DISTNAME= tiff-4.3.0
CATEGORIES= graphics
MASTER_SITES= https://download.osgeo.org/libtiff/
MAINTAINER= gdt@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
CONFIGURE_ARGS+= --disable-webp
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"