pkgsrc/graphics/libraw/Makefile

30 lines
856 B
Makefile

# $NetBSD: Makefile,v 1.25 2016/12/17 14:23:55 joerg Exp $
DISTNAME= LibRaw-0.17.2
PKGNAME= ${DISTNAME:tl}
CATEGORIES= graphics
MASTER_SITES= http://www.libraw.org/data/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.libraw.org/
COMMENT= Raw decoding/processing library
LICENSE= gnu-lgpl-v2.1 OR cddl-1.0
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-examples
CONFIGURE_ARGS+= --disable-demosaic-pack-gpl2
CONFIGURE_ARGS+= --disable-demosaic-pack-gpl3
PKGCONFIG_OVERRIDE+= libraw.pc.in
PKGCONFIG_OVERRIDE+= libraw_r.pc.in
# jasper uses SIZE_MAX and friends in its headers.
CPPFLAGS+= -D__STDC_LIMIT_MACROS
.include "../../graphics/jasper/buildlink3.mk"
.include "../../graphics/lcms2/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"