Import OptiPNG 0.7.4, from Kyle Isom.
OptiPNG is a PNG optimizer that recompresses image files to a smaller size, without losing any information. This program also converts external formats (BMP, GIF, PNM and TIFF) to optimized PNG, and performs PNG integrity checks and corrections. Tested by Kyle Isom (amd64 and sgi), bcallah@ and myself (loongson). Help/feedback from abieber@, bcallah@, sthen@, and Dmitrij D. Czarkoff. OK bcallah@
This commit is contained in:
parent
cbfde9cde2
commit
9c7890efb5
29
graphics/optipng/Makefile
Normal file
29
graphics/optipng/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2013/10/06 18:43:42 lteo Exp $
|
||||
|
||||
COMMENT = lossless PNG optimizer
|
||||
DISTNAME = optipng-0.7.4
|
||||
CATEGORIES = graphics
|
||||
|
||||
HOMEPAGE = http://optipng.sourceforge.net/
|
||||
|
||||
MAINTAINER = Kyle Isom <kyle@tyrfingr.is>
|
||||
|
||||
# zlib
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
WANTLIB += c m png z
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=optipng/}
|
||||
|
||||
LIB_DEPENDS = graphics/png
|
||||
|
||||
CONFIGURE_STYLE = simple
|
||||
CONFIGURE_ARGS += -with-system-zlib -with-system-libpng
|
||||
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/optipng/optipng ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/src/optipng/man/optipng.1 ${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
2
graphics/optipng/distinfo
Normal file
2
graphics/optipng/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (optipng-0.7.4.tar.gz) = UgtdWpQF29xckF3Qz/hyEeacTtIFl0QDdRDmE/6CN/8=
|
||||
SIZE (optipng-0.7.4.tar.gz) = 1613916
|
4
graphics/optipng/pkg/DESCR
Normal file
4
graphics/optipng/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
OptiPNG is a PNG optimizer that recompresses image files to a smaller
|
||||
size, without losing any information. This program also converts
|
||||
external formats (BMP, GIF, PNM and TIFF) to optimized PNG, and performs
|
||||
PNG integrity checks and corrections.
|
3
graphics/optipng/pkg/PLIST
Normal file
3
graphics/optipng/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/10/06 18:43:42 lteo Exp $
|
||||
@bin bin/optipng
|
||||
@man man/man1/optipng.1
|
Loading…
x
Reference in New Issue
Block a user