2013-09-20 18:35:44 +00:00
|
|
|
# Created by: johans
|
2010-10-01 15:21:07 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= webp
|
2015-10-30 11:24:27 +00:00
|
|
|
PORTVERSION= 0.4.4
|
2010-10-01 15:21:07 +00:00
|
|
|
CATEGORIES= graphics
|
2014-08-10 17:54:38 +00:00
|
|
|
MASTER_SITES= http://downloads.webmproject.org/releases/webp/
|
2011-04-02 16:08:03 +00:00
|
|
|
DISTNAME= lib${PORTNAME}-${PORTVERSION}
|
2010-10-01 15:21:07 +00:00
|
|
|
|
2014-05-06 16:05:17 +00:00
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
2010-10-01 15:21:07 +00:00
|
|
|
COMMENT= Google WebP image format conversion tool
|
|
|
|
|
2014-05-08 03:25:06 +00:00
|
|
|
LICENSE= BSD3CLAUSE
|
2015-10-15 20:16:26 +00:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2014-05-08 03:25:06 +00:00
|
|
|
|
|
|
|
LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib \
|
2014-12-25 19:04:25 +00:00
|
|
|
libpng.so:${PORTSDIR}/graphics/png \
|
2013-10-06 16:43:13 +00:00
|
|
|
libtiff.so:${PORTSDIR}/graphics/tiff
|
2010-10-01 15:21:07 +00:00
|
|
|
|
2014-05-08 03:25:06 +00:00
|
|
|
OPTIONS_DEFINE= X11
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
2015-10-15 20:16:26 +00:00
|
|
|
PORTSCOUT= limit:^[0-9\.]*$$
|
|
|
|
|
2014-05-08 03:25:06 +00:00
|
|
|
CONFIGURE_ARGS= --enable-libwebpdecoder \
|
2013-10-06 16:43:13 +00:00
|
|
|
--enable-libwebpdemux \
|
2014-05-08 03:25:06 +00:00
|
|
|
--enable-libwebpmux \
|
|
|
|
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
|
2015-10-15 20:16:26 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
INSTALL_TARGET= install-strip
|
2014-05-08 03:25:06 +00:00
|
|
|
USE_LDCONFIG= yes
|
2015-10-15 20:16:26 +00:00
|
|
|
USES= compiler:c11 jpeg libtool localbase
|
2010-10-01 15:21:07 +00:00
|
|
|
|
2014-06-07 16:33:40 +00:00
|
|
|
X11_CONFIGURE_OFF= build_vwebp=no
|
|
|
|
X11_CONFIGURE_ON= build_vwebp=yes
|
2014-05-08 03:25:06 +00:00
|
|
|
X11_USE= GL=glut
|
2013-12-29 08:51:10 +00:00
|
|
|
|
2014-06-07 16:33:40 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} '/build_vwebp=yes/d' ${WRKSRC}/configure
|
|
|
|
|
2010-10-01 15:21:07 +00:00
|
|
|
.include <bsd.port.mk>
|