openbsd-ports/graphics/tiff/Makefile
naddy 5cab5c465d Major update to 4.0.1, which adds BigTIFF support and includes some API
changes.  Also include upstream fix for CVE-2012-1173.
2012-04-14 15:09:55 +00:00

36 lines
848 B
Makefile

# $OpenBSD: Makefile,v 1.64 2012/04/14 15:09:55 naddy Exp $
COMMENT= tools and library routines for working with TIFF images
DISTNAME= tiff-4.0.1
SHARED_LIBS= tiff 39.0 # 5.6
SHARED_LIBS+= tiffxx 40.0 # 5.6
CATEGORIES= graphics
MASTER_SITES= http://download.osgeo.org/libtiff/
HOMEPAGE= http://www.remotesensing.org/libtiff/
LIB_DEPENDS= graphics/jpeg
WANTLIB= c m stdc++ z jpeg
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--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
.include <bsd.port.mk>