70cfeab21c
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
43 lines
1.3 KiB
Makefile
43 lines
1.3 KiB
Makefile
# Created by: Alex Samorukov <samm@os2.kiev.ua>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= rawstudio
|
|
PORTVERSION= 2.0
|
|
PORTREVISION= 10
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://rawstudio.org/files/release/
|
|
|
|
MAINTAINER= samm@os2.kiev.ua
|
|
COMMENT= Open-source program to read and manipulate RAW photo images
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
|
|
libpng.so:${PORTSDIR}/graphics/png \
|
|
liblcms.so:${PORTSDIR}/graphics/lcms \
|
|
libexiv2.so:${PORTSDIR}/graphics/exiv2 \
|
|
libdbus-1.so:${PORTSDIR}/devel/dbus \
|
|
libfftw3f.so:${PORTSDIR}/math/fftw3-float \
|
|
liblensfun.so:${PORTSDIR}/graphics/lensfun \
|
|
libflickcurl.so:${PORTSDIR}/www/flickcurl \
|
|
libgphoto2.so:${PORTSDIR}/graphics/libgphoto2
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3
|
|
|
|
USES= desktop-file-utils gettext gmake libtool pathfix pkgconfig
|
|
GNU_CONFIGURE= yes
|
|
USE_GNOME= gtk20 libxml2 gconf2
|
|
USE_SQLITE= 3
|
|
USE_LDCONFIG= yes
|
|
INSTALL_TARGET= install-strip
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
LIBS+= `pkg-config --libs gthread-2.0`
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's, libssl,,' ${WRKSRC}/configure
|
|
# lensfun 0.3.0 had removed support for LF_MODIFY_CCI
|
|
@${REINPLACE_CMD} -e 's, | LF_MODIFY_CCI,,' \
|
|
${WRKSRC}/plugins/lensfun/lensfun.c
|
|
|
|
.include <bsd.port.mk>
|