summaryrefslogtreecommitdiff
path: root/graphics/pfstools/Makefile
blob: d1c8f940bcec2f7bfdbcee423e947eda31231034 (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.28 2014/05/15 14:41:53 adam Exp $
#

DISTNAME=	pfstools-1.7.0
PKGREVISION=	26
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"