diff options
author | wiz <wiz@pkgsrc.org> | 2000-01-06 01:25:22 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2000-01-06 01:25:22 +0000 |
commit | a0277bbdf1042159a612820aeb3fa1b7ab8aade7 (patch) | |
tree | 1384dda5b87eba00f947fe70a84b7928e41e3661 /graphics/tiff/Makefile | |
parent | b9c15ea13a031d4fe6c6bd772ecd11dc0dd73c48 (diff) | |
download | pkgsrc-a0277bbdf1042159a612820aeb3fa1b7ab8aade7.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/Makefile | 18 |
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}" |