1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/graphics/webp/Makefile
Sunpoet Po-Chuan Hsieh 9951f19d1d Update to 1.0.0
- Update MASTER_SITES

Changes:	https://chromium.googlesource.com/webm/libwebp/+/1.0.0/NEWS
2018-04-22 12:49:46 +00:00

43 lines
1005 B
Makefile

# Created by: johans
# $FreeBSD$
PORTNAME= webp
PORTVERSION= 1.0.0
CATEGORIES= graphics
MASTER_SITES= http://downloads.webmproject.org/releases/webp/ \
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/
DISTNAME= lib${PORTNAME}-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Google WebP image format conversion tool
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgif.so:graphics/giflib \
libpng.so:graphics/png \
libtiff.so:graphics/tiff
OPTIONS_DEFINE= X11
OPTIONS_SUB= yes
PORTSCOUT= limit:^[0-9\.]*$$
CONFIGURE_ARGS= --enable-libwebpdecoder \
--enable-libwebpdemux \
--enable-libwebpmux \
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
USES= compiler:c11 jpeg libtool localbase
X11_CONFIGURE_OFF= build_vwebp=no
X11_CONFIGURE_ON= build_vwebp=yes
X11_USE= GL=glut
post-patch:
@${REINPLACE_CMD} '/build_vwebp=yes/d' ${WRKSRC}/configure
.include <bsd.port.mk>