openbsd-ports/graphics/tiff/Makefile
2022-08-15 13:54:22 +00:00

39 lines
897 B
Makefile

COMMENT= tools and library routines for working with TIFF images
DISTNAME= tiff-4.4.0
REVISION= 1
SHARED_LIBS= tiff 41.1 # 13.0
SHARED_LIBS+= tiffxx 41.0 # 13.0
CATEGORIES= graphics
MASTER_SITES= https://download.osgeo.org/libtiff/
EXTRACT_SUFX= .tar.xz
HOMEPAGE= http://www.simplesystems.org/libtiff/
LIB_DEPENDS= graphics/jpeg \
archivers/xz \
archivers/zstd
WANTLIB= c ${COMPILER_LIBCXX} jpeg lzma m z zstd
COMPILER = base-clang ports-gcc base-gcc
# BSD
PERMIT_PACKAGE= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --disable-jbig \
--disable-libdeflate \
--disable-webp \
--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>