Update graphics/cimg to version 1.7.5,3
[dports.git] / graphics / webp / Makefile
1 # Created by: johans
2 # $FreeBSD$
3
4 PORTNAME=       webp
5 PORTVERSION=    0.5.0
6 CATEGORIES=     graphics
7 MASTER_SITES=   http://downloads.webmproject.org/releases/webp/
8 DISTNAME=       lib${PORTNAME}-${PORTVERSION}
9
10 MAINTAINER=     sunpoet@FreeBSD.org
11 COMMENT=        Google WebP image format conversion tool
12
13 LICENSE=        BSD3CLAUSE
14 LICENSE_FILE=   ${WRKSRC}/COPYING
15
16 LIB_DEPENDS=    libgif.so:graphics/giflib \
17                 libpng.so:graphics/png \
18                 libtiff.so:graphics/tiff
19
20 OPTIONS_DEFINE= X11
21 OPTIONS_SUB=    yes
22
23 PORTSCOUT=      limit:^[0-9\.]*$$
24
25 CONFIGURE_ARGS= --enable-libwebpdecoder \
26                 --enable-libwebpdemux  \
27                 --enable-libwebpmux \
28                 --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
29 GNU_CONFIGURE=  yes
30 INSTALL_TARGET= install-strip
31 USE_LDCONFIG=   yes
32 USES=           compiler:c11 jpeg libtool localbase
33
34 X11_CONFIGURE_OFF=      build_vwebp=no
35 X11_CONFIGURE_ON=       build_vwebp=yes
36 X11_USE=                GL=glut
37
38 post-patch:
39         @${REINPLACE_CMD} '/build_vwebp=yes/d' ${WRKSRC}/configure
40
41 .include <bsd.port.mk>