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

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

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

LIB_DEPENDS=    libpfs-1.2.so:${PORTSDIR}/graphics/pfstools \
        libfftw3.so:${PORTSDIR}/math/fftw3 \
        libfftw3f.so:${PORTSDIR}/math/fftw3-float \
        libgsl.so:${PORTSDIR}/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>