aboutsummaryrefslogtreecommitdiff
path: root/graphics/webp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/webp')
-rw-r--r--graphics/webp/Makefile18
-rw-r--r--graphics/webp/pkg-plist32
2 files changed, 39 insertions, 11 deletions
diff --git a/graphics/webp/Makefile b/graphics/webp/Makefile
index 9e618a580a89..dcff5b7ac341 100644
--- a/graphics/webp/Makefile
+++ b/graphics/webp/Makefile
@@ -3,6 +3,7 @@
PORTNAME= webp
PORTVERSION= 0.3.1
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= GOOGLE_CODE
DISTNAME= lib${PORTNAME}-${PORTVERSION}
@@ -10,15 +11,18 @@ DISTNAME= lib${PORTNAME}-${PORTVERSION}
MAINTAINER= johans@FreeBSD.org
COMMENT= Google WebP image format conversion tool
-LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
- png15:${PORTSDIR}/graphics/png
+LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
+ libpng15.so:${PORTSDIR}/graphics/png \
+ libgif.so:${PORTSDIR}/graphics/giflib \
+ libtiff.so:${PORTSDIR}/graphics/tiff
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
-CPPFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ARGS+=--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \
+ --enable-libwebpmux \
+ --enable-libwebpdemux \
+ --enable-libwebpdecoder
-MAN1= cwebp.1 dwebp.1
-
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/graphics/webp/pkg-plist b/graphics/webp/pkg-plist
index c46379d25771..eff91a1456a1 100644
--- a/graphics/webp/pkg-plist
+++ b/graphics/webp/pkg-plist
@@ -1,11 +1,35 @@
-bin/dwebp
bin/cwebp
+bin/dwebp
+bin/gif2webp
+bin/webpmux
include/webp/decode.h
-include/webp/types.h
+include/webp/demux.h
include/webp/encode.h
+include/webp/mux.h
+include/webp/mux_types.h
+include/webp/types.h
+lib/libwebp.a
+lib/libwebp.la
lib/libwebp.so
lib/libwebp.so.4
-lib/libwebp.la
-lib/libwebp.a
+lib/libwebpdecoder.a
+lib/libwebpdecoder.la
+lib/libwebpdecoder.so
+lib/libwebpdecoder.so.0
+lib/libwebpdemux.a
+lib/libwebpdemux.la
+lib/libwebpdemux.so
+lib/libwebpdemux.so.0
+lib/libwebpmux.a
+lib/libwebpmux.la
+lib/libwebpmux.so
+lib/libwebpmux.so.0
libdata/pkgconfig/libwebp.pc
+libdata/pkgconfig/libwebpdecoder.pc
+libdata/pkgconfig/libwebpdemux.pc
+libdata/pkgconfig/libwebpmux.pc
+man/man1/cwebp.1.gz
+man/man1/dwebp.1.gz
+man/man1/gif2webp.1.gz
+man/man1/webpmux.1.gz
@dirrm include/webp