summaryrefslogtreecommitdiff
path: root/graphics/pfstmo/Makefile
blob: 07ed4d84778c7df771c90a8b8384de952bc2a39d (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
34
# $NetBSD: Makefile,v 1.1.1.1 2009/01/18 12:48:19 obache Exp $
#

DISTNAME=	pfstmo-1.3.2
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=pfstools/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://pfstools.sourceforge.net/
COMMENT=	Tone mapping operators for HDR images

PKG_DESTDIR_SUPPORT=	user-destdir

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

SUBST_CLASSES+=	ns
SUBST_STAGE.ns=	post-configure
SUBST_FILES.ns=	src/drago03/tmo_drago03.cpp
SUBST_FILES.ns+=src/reinhard05/tmo_reinhard05.cpp
SUBST_FILES.ns+=src/fattal02/tmo_fattal02.cpp
SUBST_FILES.ns+=src/durand02/tmo_durand02.cpp
SUBST_SED.ns=	-e s/_L/LL/g
SUBST_SED.ns+=	-e s/_F/FF/g
SUBST_SED.ns+=	-e s/_R/RR/g
SUBST_SED.ns+=	-e s/_G/GG/g
SUBST_SED.ns+=	-e s/_B/BB/g

.include "options.mk"

.include "../../graphics/pfstools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"