summaryrefslogtreecommitdiff
path: root/graphics/tiff/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>1999-10-08 21:14:32 +0000
committerjlam <jlam>1999-10-08 21:14:32 +0000
commit4bdad8ae53cad04bf98fb351d060d2cba73e773f (patch)
tree2d318c1c10d09e143dcb7e57e98c59d45b67acf0 /graphics/tiff/Makefile
parent4a0556f9c704a276838adcb4b90df57ff90d7862 (diff)
downloadpkgsrc-4bdad8ae53cad04bf98fb351d060d2cba73e773f.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/Makefile49
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"