summaryrefslogtreecommitdiff
path: root/graphics/tiff/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2000-01-06 01:25:22 +0000
committerwiz <wiz>2000-01-06 01:25:22 +0000
commit07b17f4488add0b55419ffb636cf925c061b1cb7 (patch)
tree1384dda5b87eba00f947fe70a84b7928e41e3661 /graphics/tiff/Makefile
parentfa94a732482e9d68ca29ae66ddb071c75c724bf1 (diff)
downloadpkgsrc-07b17f4488add0b55419ffb636cf925c061b1cb7.tar.gz
tiff library upgraded from 3.5.2 to 3.5.4. LZW compression part is now
optional and controlled by USE_GIF in mk.conf, decompression is unchanged. Comment for USE_GIF in mk.conf has been updated. Some HTML documentation gets installed now, too. Changes: A Y2K bugfix in ras2tiff, removal of LZW compression, new Pixar tags, and Adobe ZIP support, as well as removal of some compiler warnings and minor fixes.
Diffstat (limited to 'graphics/tiff/Makefile')
-rw-r--r--graphics/tiff/Makefile18
1 files changed, 15 insertions, 3 deletions
diff --git a/graphics/tiff/Makefile b/graphics/tiff/Makefile
index 09c144f5791..36d67b701d5 100644
--- a/graphics/tiff/Makefile
+++ b/graphics/tiff/Makefile
@@ -1,10 +1,13 @@
-# $NetBSD: Makefile,v 1.22 1999/10/08 21:14:32 jlam Exp $
+# $NetBSD: Makefile,v 1.23 2000/01/06 01:25:22 wiz Exp $
-DISTNAME= tiff-v3.5.2
-PKGNAME= tiff-3.5.2
+DISTNAME= tiff-v3.5.4
+PKGNAME= tiff-3.5.4
CATEGORIES= graphics
MASTER_SITES= http://www.libtiff.org/ \
ftp://ftp.onshore.com/pub/libtiff/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
+# need DISTFILES above for adding lzw-files to it, if USE_GIF is defined
+# in mk.conf
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.libtiff.org/
@@ -24,6 +27,15 @@ DEPENDS+= zlib-*:../../devel/zlib
ZLIBDIR= /usr/lib
.endif
+.if defined(USE_GIF)
+DISTFILES+= libtiff-lzw-compression-kit.tar.gz
+
+pre-build:
+ cd ${WRKSRC} \
+ && ${CP} ../libtiff-lzw-compression-kit/tif_dir.c libtiff \
+ && ${CP} ../libtiff-lzw-compression-kit/tif_lzw.c libtiff
+.endif
+
CPPFLAGS+= -Dunix
CONFIGURE_ENV+= PREFIX="${PREFIX}" LOCALBASE="${LOCALBASE}" \
ENVOPTS="${CFLAGS} ${CPPFLAGS}" ZLIBDIR="${ZLIBDIR}"