129403ea0f
* Upgraded libpng to version 1.4.5-optipng [private] * Upgraded zlib to version 1.2.5-optipng [private] * Fixed the I/O states (in libpng 1.4.5); they caused incorrect file reads in some rare cases. * Fixed processing of PNG files with chunks of size 0. * Fixed a display error in the TIFF import. * Improved checking of the arguments of -f, -zc, -zm and -zs. * Removed quirks from the rangeset option argument syntax. * Fixed a build issue under the system-supplied libpng-1.4. * Resolved forward-compatibility issues regarding libpng-1.5; however, the system-supplied libpng-1.5 is not yet supported. * Added various enhancements to the configure+make build system.
26 lines
691 B
Makefile
26 lines
691 B
Makefile
# $NetBSD: Makefile,v 1.23 2011/01/28 07:28:16 adam Exp $
|
|
|
|
DISTNAME= optipng-0.6.5
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=optipng/}
|
|
|
|
MAINTAINER= adam@NetBSD.org
|
|
HOMEPAGE= http://optipng.sourceforge.net/
|
|
COMMENT= Advanced PNG Optimizer
|
|
LICENSE= png-license
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= -prefix=${PREFIX}
|
|
CONFIGURE_ARGS+= -with-system-zlib
|
|
#CONFIGURE_ARGS+= -with-system-libpng
|
|
|
|
BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.2
|
|
BUILDLINK_API_DEPENDS.png+= png>=1.2.9nb2
|
|
|
|
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
#.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|