aboutsummaryrefslogtreecommitdiff
path: root/graphics/pfstmo/Makefile
blob: e2b75b52f1ac31eaa92bc8180c0b16d2a9eaf641 (plain) (blame)
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
# Created by: Iouri V. Ivliev
# $FreeBSD$

PORTNAME=	pfstmo
PORTVERSION=	1.5
PORTREVISION=	3
CATEGORIES=	graphics
MASTER_SITES=	SF/pfstools/${PORTNAME}/${PORTVERSION}

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

USE_GCC=	any

LIB_DEPENDS=	libpfs-1.2.so:graphics/pfstools \
		libfftw3.so:math/fftw3 \
		libfftw3f.so:math/fftw3-float \
		libgsl.so:math/gsl

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} ${DEBUG_FLAGS}" \
		LDFLAGS="${PFS_LDFLAGS}"

USES=		gmake pkgconfig compiler:openmp

.include <bsd.port.mk>