landry c37eb2c6a8 Update to tiff 4.0.9.
See http://www.simplesystems.org/libtiff/v4.0.9.html for changes -
fixing a bunch of CVEs and bugs found via fuzzing.
Went in a bulk build without fallout.
2017-11-24 11:23:50 +00:00

34 lines
815 B
Makefile

# $OpenBSD: Makefile,v 1.85 2017/11/24 11:23:50 landry Exp $
COMMENT= tools and library routines for working with TIFF images
DISTNAME= tiff-4.0.9
SHARED_LIBS= tiff 40.2 # 7.6
SHARED_LIBS+= tiffxx 40.1 # 7.6
CATEGORIES= graphics
MASTER_SITES= http://download.osgeo.org/libtiff/
HOMEPAGE= http://www.simplesystems.org/libtiff/
LIB_DEPENDS= graphics/jpeg
WANTLIB= c m ${COMPILER_LIBCXX} z jpeg
# BSD
PERMIT_PACKAGE_CDROM= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --disable-jbig \
--disable-lzma \
--with-docdir="${PREFIX}/share/doc/tiff" \
--with-jpeg-include-dir="${LOCALBASE}/include" \
--with-jpeg-lib-dir="${LOCALBASE}/lib" \
--without-x
SEPARATE_BUILD= Yes
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/config
post-install:
cd ${PREFIX}/share/doc/tiff && mv html/* . && rmdir html
.include <bsd.port.mk>