pkgsrc/graphics/mng/Makefile
adam 639e87d4ef Changes 1.0.7:
bugfixes:
- fixed inclusion of IJNG chunk for non-JNG use (J.S)
- fixed bug in chunk-storage of SHOW chunk (where from == to)
- fixed bug in promote_g8_g8 with 16bit support off

core:
- added CANVAS_RGB565 and CANVAS_BGR565 (big thanx to Raphael Assenat!!)
- added CANVAS_RGBA565 and CANVAS_BGRA565 ( -- ditto -- )
- upgraded to zlib 1.2.1
- upgraded to lcms 1.11
- added premultiplied alpha canvas' for RGBA, ARGB, ABGR (thx to John Stiles)
- more optimizations with 16bit support off
- put conditionals around openstream/closestream callbacks.
- fixed typo (MNG_SKIPCHUNK_SAVE -> MNG_SKIPCHUNK_nEED)
- fixed some 64-bit platform compiler warnings

Changes 1.0.6:
core:
- added support for reducing the footprint of libmng by macros that optionally
  skip unused chunks, remove 16-bit sample support, remove Delta support, and
  remove JNG support, to accomodate Mozilla/Firebird.
- further optional removal of unused functions
- added MNG_NO_SUPPORT_FUNCQUERY conditional
- added iPNGdepth member to pData structure
- added conditionals around MAGN chunk support
- added conditionals around non-VLC chunk support
- added conditionals around "mng_display_go*" and other unused functions
- added more conditionals around "promote" functions
- removed email references as appropriate
2004-04-06 09:17:56 +00:00

51 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.16 2004/04/06 09:17:56 adam Exp $
DISTNAME= libmng-1.0.7
PKGNAME= ${DISTNAME:S/lib//}
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libmng/} \
http://www.3-t.com/libmng/download/ \
http://www.libmng.com/download/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.libmng.com/
COMMENT= Multiple-image Network Graphics (MNG) reference library
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= yes
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS+= --with-jpeg=${BUILDLINK_PREFIX.jpeg}
CONFIGURE_ARGS+= --with-lcms=${BUILDLINK_PREFIX.lcms}
CPPFLAGS+= ${BUILDLINK_CPPFLAGS.lcms}
DOCDIR= ${PREFIX}/share/doc/mng
INSTALLATION_DIRS= man/man3 man/man5
pre-configure:
cd ${WRKSRC}; \
${LN} -sf makefiles/configure.in .; \
${LN} -sf makefiles/Makefile.am .; \
${ACLOCAL}; \
${LOCALBASE}/bin/libtoolize --automake; \
${AUTOMAKE} -a --foreign -i; \
${AUTOCONF}
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
cd ${WRKSRC}/doc && \
${INSTALL_DATA} Plan1.png Plan2.png libmng.txt ${DOCDIR}
cd ${WRKSRC}/doc/man && \
${INSTALL_MAN} libmng.3 ${PREFIX}/man/man3
cd ${WRKSRC}/doc/man && \
${INSTALL_MAN} jng.5 mng.5 ${PREFIX}/man/man5
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/lcms/buildlink3.mk"
.include "../../mk/automake.mk"
.include "../../mk/bsd.pkg.mk"