openbsd-ports/graphics/libwebp/Makefile
ajacoutot 5a7624f096 Import libwebp-0.1.3.
WebP is an image format that does lossy compression of digital
photographic images. WebP consists of a codec based on VP8, that Google
open-sourced in May 2010 and a container based on RIFF. Webmasters, web
developers and browser developers can use WebP to compress, archive and
distribute digital images more efficiently.

ok benoit@ rpointel@
2011-12-22 08:36:33 +00:00

36 lines
736 B
Makefile
Executable File

# $OpenBSD: Makefile,v 1.1.1.1 2011/12/22 08:36:33 ajacoutot Exp $
COMMENT= Google WebP image format conversion tool
DISTNAME= libwebp-0.1.3
SHARED_LIBS += webp 0.0 # 2.0
CATEGORIES= graphics
HOMEPAGE= http://code.google.com/p/webp/
# BSD-like
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += c jpeg m png z
MASTER_SITES= http://webp.googlecode.com/files/
LIB_DEPENDS= graphics/jpeg \
graphics/png
USE_LIBTOOL= Yes
USE_GROFF= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
-I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib -lm -lz"
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
.include <bsd.port.mk>