summaryrefslogtreecommitdiffstats
path: root/graphics/pfstmo/Makefile
blob: e84bf06d623edf68a412471ca4187db6d442fe08 (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
35
36
37
38
39
40
41
# New ports collection makefile for:   pfstmo
# Date created:        Fri Jun  1 16:13:32 UTC 2007
# Whom:                argv[0] (Iouri V. Ivliev)
#
# $FreeBSD$

PORTNAME=	pfstmo
PORTVERSION=	1.1
CATEGORIES=	graphics
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	pfstools

MAINTAINER=	ii@any.com.ru
COMMENT=	Tone mapping operators

LIB_DEPENDS=	pfs-1.2:${PORTSDIR}/graphics/pfstools

PFS_CPPFLAGS=	-I${LOCALBASE}/include
PFS_LDFLAGS=	-L${LOCALBASE}/lib

GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=	CPPFLAGS="${PFS_CPPFLAGS}" \
		LDFLAGS="${PFS_LDFLAGS}"
USE_GMAKE=	yes

MAN1=		pfstmo_pattanaik00.1 \
		pfstmo_reinhard05.1 \
		pfstmo_reinhard02.1 \
		pfstmo_durand02.1 \
		pfstmo_drago03.1 \
		pfstmo_mantiuk06.1 \
		pfstmo_fattal02.1

.include <bsd.port.pre.mk>

.if defined(WITH_FFTW3F)
LIB_DEPENDS+=	fftw3f.4:${PORTSDIR}/math/fftw3-float
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud