pkgsrc/graphics/mng/Makefile

53 lines
1.5 KiB
Makefile
Raw Normal View History

Update to 1.0.9: 1.0.9 (jan 30th 2005) --------------------- in short: New optimizations save over 20KB on footprint. Also a few bugfixes and several patches. Thanks to those sending in their additions and for testing! To turn on the optimizations do: #DEFINE MNG_OPTIMIZE_CHUNKINITFREE #DEFINE MNG_OPTIMIZE_OBJCLEANUP #DEFINE MNG_OPTIMIZE_CHUNKASSIGN #DEFINE MNG_OPTIMIZE_CHUNKREADER (eg. they're not on by default (yet) !) ------------------- bugfixes: - fixed chunk pushing mechanism - fixed bug in writing sBIT for indexed color - fixed PPLT getchunk/putchunk routines - fixed MNG_NO_1_2_4BIT_SUPPORT for TBBN1G04.PNG - cleaned up macro-invocations (thanks to D. Airlie) core: - added more SKIPCHUNK conditionals - replaced MNG_TWEAK_LARGE_FILES with permanent solution - improved handling of cheap transparency when 16-bit support is disabled - added some MNG_SUPPORT_WRITE conditionals - added function to retrieve current FRAM delay - added MNG_NO_1_2_4BIT_SUPPORT - added bgr565_a8 canvas-style (thanks to J. Elvander) - standard windows dll upgraded to zlib 1.2.2 - added LITTLEENDIAN/BIGENDIAN fixtures (thanks J.Stiles) - inclusion of zlib/lcms/ijgsrc6b with <> instead of "" - added conditional MNG_OPTIMIZE_CHUNKINITFREE - added conditional MNG_OPTIMIZE_OBJCLEANUP - added conditional MNG_OPTIMIZE_CHUNKASSIGN - added conditional MNG_OPTIMIZE_CHUNKREADER - fixed problem with global PLTE/tRNS samples: contrib: doc: - patched jng & mng manual pages (Thanks Peter Breitenlohner) makefiles: autoconf: - patched makefile.am & configure.in (Thanks Peter Breitenlohner)
2005-02-09 21:15:50 +01:00
# $NetBSD: Makefile,v 1.22 2005/02/09 20:15:50 wiz Exp $
Update to 1.0.9: 1.0.9 (jan 30th 2005) --------------------- in short: New optimizations save over 20KB on footprint. Also a few bugfixes and several patches. Thanks to those sending in their additions and for testing! To turn on the optimizations do: #DEFINE MNG_OPTIMIZE_CHUNKINITFREE #DEFINE MNG_OPTIMIZE_OBJCLEANUP #DEFINE MNG_OPTIMIZE_CHUNKASSIGN #DEFINE MNG_OPTIMIZE_CHUNKREADER (eg. they're not on by default (yet) !) ------------------- bugfixes: - fixed chunk pushing mechanism - fixed bug in writing sBIT for indexed color - fixed PPLT getchunk/putchunk routines - fixed MNG_NO_1_2_4BIT_SUPPORT for TBBN1G04.PNG - cleaned up macro-invocations (thanks to D. Airlie) core: - added more SKIPCHUNK conditionals - replaced MNG_TWEAK_LARGE_FILES with permanent solution - improved handling of cheap transparency when 16-bit support is disabled - added some MNG_SUPPORT_WRITE conditionals - added function to retrieve current FRAM delay - added MNG_NO_1_2_4BIT_SUPPORT - added bgr565_a8 canvas-style (thanks to J. Elvander) - standard windows dll upgraded to zlib 1.2.2 - added LITTLEENDIAN/BIGENDIAN fixtures (thanks J.Stiles) - inclusion of zlib/lcms/ijgsrc6b with <> instead of "" - added conditional MNG_OPTIMIZE_CHUNKINITFREE - added conditional MNG_OPTIMIZE_OBJCLEANUP - added conditional MNG_OPTIMIZE_CHUNKASSIGN - added conditional MNG_OPTIMIZE_CHUNKREADER - fixed problem with global PLTE/tRNS samples: contrib: doc: - patched jng & mng manual pages (Thanks Peter Breitenlohner) makefiles: autoconf: - patched makefile.am & configure.in (Thanks Peter Breitenlohner)
2005-02-09 21:15:50 +01:00
DISTNAME= libmng-1.0.9
PKGNAME= ${DISTNAME:S/lib//}
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libmng/} \
http://www.3-t.com/libmng/download/ \
http://www.libmng.com/download/
2003-07-17 23:41:05 +02:00
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.libmng.com/
COMMENT= Multiple-image Network Graphics (MNG) reference library
# Waiting for automake to be pkgviews-enabled
#PKG_INSTALLATION_TYPES= overwrite pkgviews
2004-01-24 01:56:37 +01:00
USE_BUILDLINK3= yes
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS+= --with-jpeg=${BUILDLINK_PREFIX.jpeg}
CONFIGURE_ARGS+= --with-lcms=${BUILDLINK_PREFIX.lcms}
2002-10-31 09:01:21 +01:00
CPPFLAGS+= ${BUILDLINK_CPPFLAGS.lcms}
2002-12-23 17:14:38 +01:00
DOCDIR= ${PREFIX}/share/doc/mng
INSTALLATION_DIRS= man/man3 man/man5
pre-configure:
cd ${WRKSRC}; \
${RM} -f configure.in && ${LN} -sf makefiles/configure.in .; \
${RM} -f Makefile.am && ${LN} -sf makefiles/Makefile.am .; \
${SETENV} AUTOM4TE=${LOCALBASE}/bin/autom4te ${ACLOCAL}; \
${LOCALBASE}/bin/libtoolize --automake; \
${SETENV} AUTOCONF=${AUTOCONF} ${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
2004-01-24 01:56:37 +01:00
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/lcms/buildlink3.mk"
.include "../../mk/automake.mk"
.include "../../mk/bsd.pkg.mk"