aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/pfscalibration/Makefile
blob: 51b775f359aa920d9ca78268b4a5a9f0de5df4b8 (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=   pfscalibration
PORTVERSION=    1.4
CATEGORIES= graphics
MASTER_SITES=   SF
MASTER_SITE_SUBDIR= pfstools/${PORTNAME}/${PORTVERSION}

MAINTAINER= ii@any.com.ru
COMMENT=    Photometric calibration of cameras and recovery HDR images from the set of LDR exposures

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

USES=       gmake pkgconfig shebangfix perl5
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=  CPPFLAGS="${PFS_CPPFLAGS}" \
        LDFLAGS="${PFS_LDFLAGS}"

USE_PERL5=  run

SHEBANG_FILES=  src/dcraw2hdrgen src/jpeg2hdrgen src/pfsinhdrgen
bash_CMD=   ${SH}

LIB_DEPENDS=    libpfs-1.2.so:${PORTSDIR}/graphics/pfstools

.include <bsd.port.mk>