code incompatible with earlier versions; particularly, removal of CCI (the Color Contribution Index of the lens, as defined by ISO 6728-83) [1] and FOV1 ("field-of-view") [2] distortion model. Four ports had to be patched to build against new lensfun (all fall under `graphics' category): digikam-kde4, gimp-lensfun-plugin, hugin, rawstudio. PR: 196182 Submitted by: Matthieu Volat (heavily modified) Exp-run by: antoine [1] https://sourceforge.net/p/lensfun/code/ci/f0c293 [2] https://sourceforge.net/p/lensfun/code/ci/048eb3
25 lines
585 B
Makefile
25 lines
585 B
Makefile
# Created by: Denis Barov <dindin@dindin.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= lensfun
|
|
PORTVERSION= 0.3.0
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= Library for fixing lens geometry distortions
|
|
|
|
LICENSE= LGPL3
|
|
|
|
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
|
|
|
|
USES= cmake pkgconfig tar:bzip2
|
|
USE_GNOME= glib20
|
|
USE_LDCONFIG= yes
|
|
CMAKE_ARGS= -DBUILD_AUXFUN:BOOL=ON -DINSTALL_HELPER_SCRIPTS:BOOL=OFF
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/pkgconfig/s,$${LIBDIR},libdata,' \
|
|
${WRKSRC}/libs/lensfun/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|