aboutsummaryrefslogtreecommitdiff
path: root/graphics/webp/Makefile
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2011-04-02 16:08:03 +0000
committerJohan van Selst <johans@FreeBSD.org>2011-04-02 16:08:03 +0000
commitbfe533f4bc764780f86294cbcd3ef780f56cd15c (patch)
treeaa293cc5d482fc3c8b486f09c6a3f7633ec37513 /graphics/webp/Makefile
parent7e062ff80f3e934b352d9cd0a914c4610cd0f9f9 (diff)
Notes
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>