aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/pfstmo/Makefile
blob: bea494a63bb560d689c2c9d4ec8ff53eb1ed5ec8 (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
31
32
33
# Created by: Iouri V. Ivliev
# $FreeBSD$

PORTNAME=   pfstmo
PORTVERSION=    1.5
PORTREVISION=   6
CATEGORIES= graphics
MASTER_SITES=   SF/pfstools/${PORTNAME}_depreciated/${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
# GCC 6 defaults to -std=gnu++14, and the port does not build with C++11 or
# later (bug 219299).
USE_CXXSTD= gnu++03

.include <bsd.port.mk>