aboutsummaryrefslogtreecommitdiff
path: root/graphics/webp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/webp/Makefile')
-rw-r--r--graphics/webp/Makefile15
1 files changed, 8 insertions, 7 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>