[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / graphics / libwebp

File: [cvs.NetBSD.org] / pkgsrc / graphics / libwebp / Makefile (download)

Revision 1.32, Fri Jun 5 12:49:08 2020 UTC (3 years ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.31: +2 -1 lines

*: Apply revbump for graphics/giflib API change.

# $NetBSD: Makefile,v 1.32 2020/06/05 12:49:08 jperkin Exp $

DISTNAME=	libwebp-1.1.0
PKGREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	https://storage.googleapis.com/downloads.webmproject.org/releases/webp/

MAINTAINER=	ryoon@NetBSD.org
HOMEPAGE=	https://developers.google.com/speed/webp/
COMMENT=	WebP image format library and tools
LICENSE=	modified-bsd

USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--disable-gl
CONFIGURE_ARGS+=	--disable-sdl
CONFIGURE_ARGS+=	--enable-libwebpdecoder
CONFIGURE_ARGS+=	--enable-libwebpextras
CONFIGURE_ARGS+=	--enable-libwebpdemux
CONFIGURE_ARGS+=	--enable-libwebpmux

.include "options.mk"

.include "../../mk/compiler.mk"
# fix PR pkg/45934
.if (!empty(MACHINE_PLATFORM:MSunOS-*-i386) || !empty(MACHINE_PLATFORM:MMirBSD-*-i386)) && !empty(CC_VERSION:Mgcc-[23]*)
CPPFLAGS+=	-D__pic__
.endif

PKGCONFIG_OVERRIDE+=	src/demux/libwebpdemux.pc.in
PKGCONFIG_OVERRIDE+=	src/libwebp.pc.in
PKGCONFIG_OVERRIDE+=	src/libwebpdecoder.pc.in
PKGCONFIG_OVERRIDE+=	src/mux/libwebpmux.pc.in

INSTALLATION_DIRS+=	share/doc/${PKGBASE}

# Needed to comply with the BSD license and redistribution
post-install:
	${INSTALL_DATA} ${WRKSRC}/COPYING \
		${DESTDIR}${PREFIX}/share/doc/${PKGBASE}

.include "../../graphics/giflib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"