1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/graphics/webp/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

45 lines
1022 B
Makefile

# Created by: johans
# $FreeBSD$
PORTNAME= webp
PORTVERSION= 1.0.3
PORTREVISION= 1
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\.]*$$
USES= compiler:c11 jpeg libtool localbase
CONFIGURE_ARGS= --enable-libwebpdecoder \
--enable-libwebpdemux \
--enable-libwebpmux \
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
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>