1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/graphics/webp/Makefile
Johan van Selst 0f988a6049 Simplify conditional options
Submitted by:	bapt
2013-12-29 11:42:32 +00:00

37 lines
867 B
Makefile

# Created by: johans
# $FreeBSD$
PORTNAME= webp
PORTVERSION= 0.3.1
PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= GOOGLE_CODE
DISTNAME= lib${PORTNAME}-${PORTVERSION}
MAINTAINER= johans@FreeBSD.org
COMMENT= Google WebP image format conversion tool
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
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+=--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \
--enable-libwebpmux \
--enable-libwebpdemux \
--enable-libwebpdecoder
OPTIONS_DEFINE= X11
OPTIONS_SUB= yes
X11_USE= GL=glut
X11_CONFIGURE_OFF= --with-glincludedir=/dev/null
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libwebp*.so
.include <bsd.port.mk>