summaryrefslogtreecommitdiff
path: root/graphics/giflib/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>1999-10-09 20:31:33 +0000
committerjlam <jlam>1999-10-09 20:31:33 +0000
commitc5f42262facbe54ed58df20bb8d0a7c721e95c9f (patch)
treeb8bb0d08fd69014cfb913f2c989d0929316a6ad9 /graphics/giflib/Makefile
parent1e77597fa96f1b15b1f64a37b1e56e5e6ff4c7f9 (diff)
downloadpkgsrc-c5f42262facbe54ed58df20bb8d0a7c721e95c9f.tar.gz
Update giflib to 4.1.0. Note that installed headers are in a new location.
Changes from version 3.0: Version 4.1.0 ============ * Several minor memory leaks in error conditions have been plugged. * New Function EGifOpen(void *userData, OutputFunc writeFunc) allows user specified gif writing functions. * Old copyright notices in a few source files have been updated. All library copyrights should now reflect the copyright notice in the COPYING file. Version 4.0.0 -- giflib ======================= This version of the giflib library merges Eric Raymond's giflib-3.0 release with the libungif-4.0 release to give people a binary compatible choice between the two libraries and gives me the chance to add bugfixes to giflib that have been incorporated in libungif. PLEASE READ THE FILE PATENT_PROBLEMS BEFORE USING THIS LIBRARY! Version 4.0.0 ============= Major fixes have been made to the code that handles Extensions. Unfortunately, this causes binary incompatibility with giflib-3.0 and libungif-3.x. However, the API is still intact. I am, however, deprecating the use of saveImage[x].Function. Use saveImage[x].ExtensionBlocks[y].Function instead. Version 3.1.1 ============= The following bugs which caused SegFaults have been fixed: * When reading gif files with extensions, DGifSlurp would violate memory. * When closing a gif that had a local colormap, DGifCloseFile would attempt to free the colormap twice. * Fix a potential memory leak in DGifSlurp. The following enhancements have been made: * New function DGifOpen to allow specifying a user definable gif reading function. Version 3.1.0 ============= * Add a new function: GifFileType *DGifOpen(void * userData, InputFunc readFunc) to read the gif image from a user defined input function. * A few bugfixes. Version 3.0 =========== Changes from Eric Raymond's libgif: * A new gif encoder that makes uncompressed gifs rather than standard, LZW-compressed gifs. This is actually the major motivating factor behind libungif; to provide third-party distributors a means to provide a gif library without the patented LZW encoder. * A new configure script to make compilation of the library on multiple platforms easier. The package should now build shared libraries on all platforms supported by GNU libtool. * Removed the getarg functions from libgif. These were not part of the public API and only used by the tools in the utils directory so I separated them from the rest of the library. * Fixed a few bugs in the tools in the utils directory.
Diffstat (limited to 'graphics/giflib/Makefile')
-rw-r--r--graphics/giflib/Makefile26
1 files changed, 16 insertions, 10 deletions
diff --git a/graphics/giflib/Makefile b/graphics/giflib/Makefile
index 2bcb38be90d..22fc8ae5d3a 100644
--- a/graphics/giflib/Makefile
+++ b/graphics/giflib/Makefile
@@ -1,28 +1,34 @@
-# $NetBSD: Makefile,v 1.16 1999/09/30 15:21:55 agc Exp $
-# FreeBSD Id: Makefile,v 1.2 1997/09/24 06:55:01 tg Exp
+# $NetBSD: Makefile,v 1.17 1999/10/09 20:31:33 jlam Exp $
#
-DISTNAME= giflib-3.0
+DISTNAME= giflib-4.1.0
CATEGORIES= graphics
-MASTER_SITES= http://www.ccil.org/~esr/giflib/
+MASTER_SITES= ftp://prtr-13.ucsc.edu/pub/giflib/
MAINTAINER= packages@netbsd.org
-HOMEPAGE= http://www.ccil.org/~esr/giflib/
+HOMEPAGE= http://prtr-13.ucsc.edu/~badger/software/giflib.shtml
+
+CONFLICTS= libungif-*
USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --without-x
+
+DOCDIR= ${PREFIX}/share/doc/giflib
+
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
MAKE_ENV+= CC="${CC} -I${LOCALBASE}/include"
.endif
-post-extract:
- @${RM} -f ${WRKSRC}/doc/gif2x11.html
+post-patch:
+ ${RM} ${WRKSRC}/doc/gif2x11.html
post-install:
- @${MKDIR} ${PREFIX}/share/doc/giflib
- @${INSTALL_DATA} ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.txt \
- ${PREFIX}/share/doc/giflib
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+ cd ${WRKSRC}; ${INSTALL_DATA} COPYING PATENT_PROBLEMS ${DOCDIR}
+ cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.txt *.png ${DOCDIR}
.include "../../mk/bsd.pkg.mk"