|
Lines 1-10
Link Here
|
| 1 |
PORTNAME= webp |
1 |
PORTNAME= webp |
| 2 |
PORTVERSION= 1.3.1 |
2 |
DISTVERSION= 1.3.2 |
| 3 |
PORTREVISION= 1 |
|
|
| 4 |
CATEGORIES= graphics |
3 |
CATEGORIES= graphics |
| 5 |
MASTER_SITES= http://downloads.webmproject.org/releases/webp/ \ |
4 |
MASTER_SITES= http://downloads.webmproject.org/releases/${PORTNAME}/ \ |
| 6 |
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/ |
5 |
https://storage.googleapis.com/downloads.webmproject.org/releases/${PORTNAME}/ |
| 7 |
DISTNAME= libwebp-${PORTVERSION} |
6 |
DISTNAME= lib${PORTNAME}-${DISTVERSION} |
| 8 |
|
7 |
|
| 9 |
MAINTAINER= sunpoet@FreeBSD.org |
8 |
MAINTAINER= sunpoet@FreeBSD.org |
| 10 |
COMMENT= Google WebP image format conversion tool |
9 |
COMMENT= Google WebP image format conversion tool |
|
Lines 13-44
WWW= https://developers.google.com/speed/webp
Link Here
|
| 13 |
LICENSE= BSD3CLAUSE |
12 |
LICENSE= BSD3CLAUSE |
| 14 |
LICENSE_FILE= ${WRKSRC}/COPYING |
13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
| 15 |
|
14 |
|
| 16 |
USES= compiler:c11 libtool localbase |
15 |
USES= cmake compiler:c11 pathfix |
| 17 |
|
|
|
| 18 |
CONFIGURE_ARGS= --enable-libwebpdecoder \ |
| 19 |
--enable-libwebpdemux \ |
| 20 |
--enable-libwebpmux \ |
| 21 |
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig |
| 22 |
GNU_CONFIGURE= yes |
| 23 |
INSTALL_TARGET= install-strip |
| 24 |
USE_LDCONFIG= yes |
16 |
USE_LDCONFIG= yes |
| 25 |
|
17 |
|
| 26 |
PORTSCOUT= limit:^[0-9\.]*$$ |
18 |
PORTSCOUT= limit:^[0-9\.]*$$ |
| 27 |
|
19 |
|
|
|
20 |
CMAKE_ON= BUILD_SHARED_LIBS |
| 21 |
CMAKE_ARGS= -DCMAKE_DISABLE_FIND_PACKAGE_SDL:BOOL=True \ |
| 22 |
-DCMAKE_INSTALL_MANDIR=man |
| 23 |
|
| 28 |
OPTIONS_DEFINE= IMGCONV X11 |
24 |
OPTIONS_DEFINE= IMGCONV X11 |
| 29 |
OPTIONS_DEFAULT=IMGCONV |
25 |
OPTIONS_DEFAULT=IMGCONV |
| 30 |
OPTIONS_SUB= yes |
26 |
OPTIONS_SUB= yes |
|
|
27 |
|
| 31 |
IMGCONV_DESC= Install converters to/from WebP |
28 |
IMGCONV_DESC= Install converters to/from WebP |
| 32 |
|
29 |
|
| 33 |
IMGCONV_CONFIGURE_OFF= build_cwebp=no build_dwebp=no build_gif2webp=no build_img2webp=no |
|
|
| 34 |
IMGCONV_CONFIGURE_ON= build_cwebp=yes build_dwebp=yes build_gif2webp=yes build_img2webp=yes |
| 35 |
IMGCONV_LIB_DEPENDS= libgif.so:graphics/giflib \ |
30 |
IMGCONV_LIB_DEPENDS= libgif.so:graphics/giflib \ |
| 36 |
libpng.so:graphics/png \ |
31 |
libpng.so:graphics/png \ |
| 37 |
libtiff.so:graphics/tiff |
32 |
libtiff.so:graphics/tiff |
| 38 |
IMGCONV_USES= jpeg |
33 |
IMGCONV_USES= jpeg |
| 39 |
X11_CONFIGURE_OFF= build_vwebp=no |
34 |
IMGCONV_CMAKE_BOOL= WEBP_BUILD_CWEBP WEBP_BUILD_DWEBP \ |
| 40 |
X11_CONFIGURE_ON= build_vwebp=yes |
35 |
WEBP_BUILD_GIF2WEBP WEBP_BUILD_IMG2WEBP |
| 41 |
X11_USE= GL=glut |
36 |
|
| 42 |
X11_USES= gl |
37 |
X11_USES= gl localbase:ldflags |
|
|
38 |
X11_USE= GL=glu,glut,opengl |
| 39 |
X11_CMAKE_BOOL= WEBP_BUILD_VWEBP |
| 43 |
|
40 |
|
| 44 |
.include <bsd.port.mk> |
41 |
.include <bsd.port.mk> |