diff options
author | jlam <jlam@pkgsrc.org> | 1999-10-08 21:14:32 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 1999-10-08 21:14:32 +0000 |
commit | ddb1a260c13fcaec6d5004db9df51387ee216b13 (patch) | |
tree | 2d318c1c10d09e143dcb7e57e98c59d45b67acf0 /graphics/tiff/Makefile | |
parent | d043b6411c3e9bfa3a22e42ec80e8f0623dabf46 (diff) | |
download | pkgsrc-ddb1a260c13fcaec6d5004db9df51387ee216b13.tar.gz |
Update tiff to version 3.5.2.
Changes in TIFF v3.5.1
* Support was added for IPTC Newsphoto metadata (TIFFTAGE_IPTCNEWSPHOTO)
* Support was added for photoshop caption handling (TIFFTAG_PHOTOSHOP)
Changes in TIFF v3.5.2
* Added TIFFReassignTagToIgnore() API on behalf of
Bruce Cameron <cameron@petris.com>. Man page still pending.
* Fixed problem with cvtcmap() in tif_getimage.c modifying the
colormaps owned by the TIFF handle itself when trying to fixup wrong
(eight bit) colormaps. Corrected by maintaining a private copy of
the colormap.
* Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in
tif_getimage.c.
* Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested
by Christopher Lawton <clawton@mathworks.com>
* Set O_BINARY for tif_unix.c open() ... used on cygwin for instance.
* Applied Francois Dagand's patch to handle fax decompression bug.
(sizes >= 65536 were failing)
Diffstat (limited to 'graphics/tiff/Makefile')
-rw-r--r-- | graphics/tiff/Makefile | 49 |
1 files changed, 36 insertions, 13 deletions
diff --git a/graphics/tiff/Makefile b/graphics/tiff/Makefile index 41b0b5b2d80..09c144f5791 100644 --- a/graphics/tiff/Makefile +++ b/graphics/tiff/Makefile @@ -1,22 +1,45 @@ -# $NetBSD: Makefile,v 1.21 1999/10/07 17:41:54 tron Exp $ +# $NetBSD: Makefile,v 1.22 1999/10/08 21:14:32 jlam Exp $ -DISTNAME= tiff-v3.4beta037 -PKGNAME= tiff-3.4 +DISTNAME= tiff-v3.5.2 +PKGNAME= tiff-3.5.2 CATEGORIES= graphics -MASTER_SITES= ftp://ftp.sgi.com/graphics/tiff/ \ - ftp://ftp.gwdg.de/pub/grafik/sgi/tiff/ \ - ftp://ftp.fu-berlin.de/unix/graphics/tiff/ -EXTRACT_SUFX= -tar.gz +MASTER_SITES= http://www.libtiff.org/ \ + ftp://ftp.onshore.com/pub/libtiff/ MAINTAINER= packages@netbsd.org -HOMEPAGE= http://home.earthlink.net/~ritter/tiff/ +HOMEPAGE= http://www.libtiff.org/ DEPENDS+= jpeg-6b:../../graphics/jpeg -HAS_CONFIGURE= yes -USE_LIBTOOL= yes -CONFIGURE_ARGS+= --noninteractive --site ${FILESDIR} -CONFIGURE_ENV+= PREFIX=${PREFIX} GCOPTS="${CFLAGS} -Dunix" -MAKE_ENV+= INSTALL_MAN="${INSTALL_MAN}" LN="${LN}" +USE_LIBTOOL= yes +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --noninteractive --site=${FILESDIR} + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "SunOS" +ZLIBDIR= ${LOCALBASE}/lib +DEPENDS+= zlib-*:../../devel/zlib +.else +ZLIBDIR= /usr/lib +.endif + +CPPFLAGS+= -Dunix +CONFIGURE_ENV+= PREFIX="${PREFIX}" LOCALBASE="${LOCALBASE}" \ + ENVOPTS="${CFLAGS} ${CPPFLAGS}" ZLIBDIR="${ZLIBDIR}" + +pre-patch: + # reference correct relative man page when using .so + # + ${MV} ${WRKSRC}/man/Makefile.in ${WRKSRC}/man/Makefile.in.in + ${SED} -e "s,\$${MANDIR}\(.*\)\.\([0-9]\).,\1.\2,g" \ + -e "s,\$${MANDIR}\(.*\)\.\([0-9]\),\1.\2,g" \ + ${WRKSRC}/man/Makefile.in.in > ${WRKSRC}/man/Makefile.in + + # libtoolize build of TIFF tools + # + ${MV} ${WRKSRC}/tools/Makefile.in ${WRKSRC}/tools/Makefile.in.in + ${SED} -e "s,\(\$${CC} -o\),\$${LIBTOOL} \1,g" \ + ${WRKSRC}/tools/Makefile.in.in > ${WRKSRC}/tools/Makefile.in .include "../../mk/bsd.pkg.mk" |