openbsd-ports/graphics/tiff/Makefile
brad 48ace64959 upgrade to libtiff 3.5.4, biggest change:
- Removed LZW Compression to comply with Unisys patent extortion
- Changed default compression in tools to TIFF_PACKBITS, and changed usage
descriptions in tools to reflect removal of LZW compression
- Added Pixar tag support
2000-01-01 21:28:30 +00:00

37 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.6 2000/01/01 21:28:30 brad Exp $
DISTNAME= tiff-v3.5.4
PKGNAME= tiff-3.5.4
CATEGORIES= graphics
MASTER_SITES= http://www.libtiff.org/
NEED_VERSION= 1.64
MAINTAINER= brad@openbsd.org
LIB_DEPENDS= jpeg.62:${PORTSDIR}/graphics/jpeg
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --with-ZIP --with-JPEG --with-DIR_BIN="${PREFIX}/bin" \
--with-DIR_LIB="${PREFIX}/lib" \
--with-DIR_INC="${PREFIX}/include" \
--with-DIR_MAN="${PREFIX}/man" \
--with-CC="${CC}" --with-GCOPTS="${CFLAGS}" \
--with-DIRS_LIBINC="${PREFIX}/include" \
--with-DIR_GZLIB="/usr/lib" \
--with-DIR_JPEGLIB="${PREFIX}/lib" \
--with-LIBGL="no" --with-LIBIMAGE="no" \
--with-INSTALL="sh ${WRKSRC}/port/install.sh" \
--noninteractive
DOCDIR= ${PREFIX}/share/doc/tiff
post-install:
@${MKDIR} ${DOCDIR}/images
${INSTALL_DATA} ${WRKSRC}/html/*.html ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/html/images/*.gif ${DOCDIR}/images
${INSTALL_DATA} ${WRKSRC}/html/images/*.jpg ${DOCDIR}/images
@${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>