2020-03-20 12:57:44 +01:00
|
|
|
# $NetBSD: Makefile,v 1.36 2020/03/20 11:57:51 nia Exp $
|
2005-07-13 16:52:39 +02:00
|
|
|
|
2018-06-27 13:52:17 +02:00
|
|
|
DISTNAME= optipng-0.7.7
|
2005-07-13 16:52:39 +02:00
|
|
|
CATEGORIES= graphics
|
2006-05-06 10:48:43 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=optipng/}
|
2005-07-13 16:52:39 +02:00
|
|
|
|
|
|
|
MAINTAINER= adam@NetBSD.org
|
2020-03-20 12:57:44 +01:00
|
|
|
HOMEPAGE= http://optipng.sourceforge.net/
|
2005-07-14 15:28:53 +02:00
|
|
|
COMMENT= Advanced PNG Optimizer
|
2012-03-07 10:11:43 +01:00
|
|
|
LICENSE= zlib
|
2005-07-13 16:52:39 +02:00
|
|
|
|
2011-01-28 08:28:16 +01:00
|
|
|
HAS_CONFIGURE= yes
|
2016-04-02 00:32:45 +02:00
|
|
|
CONFIGURE_ARGS+= -mandir=${PREFIX}/${PKGMANDIR}
|
2018-06-27 13:52:17 +02:00
|
|
|
CONFIGURE_ARGS+= -prefix=${PREFIX}
|
2012-03-07 10:11:43 +01:00
|
|
|
CONFIGURE_ARGS+= -with-system-libpng
|
2018-06-27 13:52:17 +02:00
|
|
|
CONFIGURE_ARGS+= -with-system-zlib
|
2011-01-28 08:28:16 +01:00
|
|
|
|
2018-06-27 13:52:17 +02:00
|
|
|
BUILDLINK_API_DEPENDS.png+= png>=1.6.34
|
2006-04-06 08:21:32 +02:00
|
|
|
BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.2
|
2005-07-13 16:52:39 +02:00
|
|
|
|
2007-11-10 20:08:51 +01:00
|
|
|
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
|
|
|
|
|
2005-07-14 15:28:22 +02:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2012-03-07 10:11:43 +01:00
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
2005-07-13 16:52:39 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|