summaryrefslogtreecommitdiff
path: root/graphics/pfstools/Makefile
blob: e8c825abc407e22f8ba886b1ec6686d19fab1577 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $NetBSD: Makefile,v 1.22 2013/06/06 12:54:33 wiz Exp $
#

DISTNAME=	pfstools-1.7.0
PKGREVISION=	20
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=pfstools/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://pfstools.sourceforge.net/
COMMENT=	Tools for manipulating HDR images and video frames

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_TOOLS+=	pkg-config
USE_LANGUAGES=	c c++

CONFIGURE_ARGS+=	--enable-ppm
CONFIGURE_ARGS+=	--enable-tiff
CONFIGURE_ARGS+=	--disable-jpeghdr
CONFIGURE_ARGS+=	--disable-matlab
# patch-aa
CONFIGURE_ENV+=		NETPBM_CFLAGS=-I${BUILDLINK_PREFIX.netpbm}/include

PKGCONFIG_OVERRIDE+=	src/pfs/pfs.pc.in

DEPENDS+=	dcraw-[0-9]*:../../graphics/dcraw

.include "options.mk"

.include "../../graphics/netpbm/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"