4a97631609
* Upgraded libpng to version 1.6.10-optipng. * Upgraded zlib to version 1.2.8-optipng. ! Fixed various build issues with libpng-1.5 and libpng-1.6. * Allowed the handling of huge image files (> millions of pixels per row or column) to be independent of the libpng version. + Allowed the option -preserve to save the file ownership (UID/GID) on Unix. ! Fixed a build issue with Clang. + Added various enhancements to the configure script.
24 lines
646 B
Makefile
24 lines
646 B
Makefile
# $NetBSD: Makefile,v 1.31 2014/03/31 07:15:19 adam Exp $
|
|
|
|
DISTNAME= optipng-0.7.5
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=optipng/}
|
|
|
|
MAINTAINER= adam@NetBSD.org
|
|
HOMEPAGE= http://optipng.sourceforge.net/
|
|
COMMENT= Advanced PNG Optimizer
|
|
LICENSE= zlib
|
|
|
|
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"
|