aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2011-04-03 00:08:03 +0800
committerjohans <johans@FreeBSD.org>2011-04-03 00:08:03 +0800
commit8615631435497b200f963c472ced5337e25801a0 (patch)
tree4798e3c34d4ccdc374d1a853a82e741def687b24 /graphics
parenta02cb63c8ed682da478bb26e6f89bd7d4606a332 (diff)
downloadfreebsd-ports-gnome-8615631435497b200f963c472ced5337e25801a0.tar.gz
freebsd-ports-gnome-8615631435497b200f963c472ced5337e25801a0.tar.zst
freebsd-ports-gnome-8615631435497b200f963c472ced5337e25801a0.zip
- Update webp to 0.1.2 release
Unfortunately this requires autotools to build
Diffstat (limited to 'graphics')
-rw-r--r--graphics/webp/Makefile15
-rw-r--r--graphics/webp/distinfo4
-rw-r--r--graphics/webp/pkg-plist1
3 files changed, 11 insertions, 9 deletions
diff --git a/graphics/webp/Makefile b/graphics/webp/Makefile
index e295f114aa58..1f99ce7173b1 100644
--- a/graphics/webp/Makefile
+++ b/graphics/webp/Makefile
@@ -6,26 +6,27 @@
#
PORTNAME= webp
-DISTVERSION= 0.1.2-rc1
+PORTVERSION= 0.1.2
CATEGORIES= graphics
MASTER_SITES= GOOGLE_CODE
-DISTNAME= lib${PORTNAME}-${DISTVERSION}
-EXTRACT_SUFX= .tgz
+DISTNAME= lib${PORTNAME}-${PORTVERSION}
MAINTAINER= johans@FreeBSD.org
COMMENT= Google WebP image format conversion tool
-LIB_DEPENDS= vpx.0:${PORTSDIR}/multimedia/libvpx \
- jpeg.11:${PORTSDIR}/graphics/jpeg \
+LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
png.6:${PORTSDIR}/graphics/png
-WRKSRC= ${WRKDIR}/lib${PORTNAME}-${PORTVERSION:R}
-
USE_GMAKE= yes
USE_LDCONFIG= yes
+USE_AUTOTOOLS= autoconf:env libtoolize:env automake:env
GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
CPPFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
MAN1= cwebp.1 dwebp.1
+pre-configure:
+ @cd ${WRKSRC} && ${AUTORECONF} -vfi
+
.include <bsd.port.mk>
diff --git a/graphics/webp/distinfo b/graphics/webp/distinfo
index a7480ef1ce45..80240b0c0c2c 100644
--- a/graphics/webp/distinfo
+++ b/graphics/webp/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libwebp-0.1.2-rc1.tgz) = e91613e0651328e40849b7d3d79fdc30d718c3b1010f397ac57c39dcdf1a3e31
-SIZE (libwebp-0.1.2-rc1.tgz) = 447729
+SHA256 (libwebp-0.1.2.tar.gz) = d5ff8df777010a5fb8dd5bac85eb30e98fe665e089ad9d3be2d01724a4c23eb5
+SIZE (libwebp-0.1.2.tar.gz) = 154784
diff --git a/graphics/webp/pkg-plist b/graphics/webp/pkg-plist
index b3ceace00c60..146743c0c020 100644
--- a/graphics/webp/pkg-plist
+++ b/graphics/webp/pkg-plist
@@ -8,4 +8,5 @@ lib/libwebp.so
lib/libwebp.so.0
lib/libwebp.la
lib/libwebp.a
+libdata/pkgconfig/libwebp.pc
@dirrm include/webp