freebsd-ports/graphics/rawstudio/Makefile
Tobias C. Berner c1ff5bbef3 Update graphics/exiv2 to 0.25.
As there is an shlib version bump, bump them portrevision of dependent ports.

While doing so, also switch to the cmake build system, as it requires less
patching and is easier to handle.

PR:             211329
Reviewed by:    mat, rakuco, kwm
Approved by:    rakuco (mentor)
Differential Revision:  https://reviews.freebsd.org/D7283
2016-07-27 10:22:26 +00:00

42 lines
1.1 KiB
Makefile

# Created by: Alex Samorukov <samm@os2.kiev.ua>
# $FreeBSD$
PORTNAME= rawstudio
PORTVERSION= 2.0
PORTREVISION= 14
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= libpng.so:graphics/png \
liblcms.so:graphics/lcms \
libexiv2.so:graphics/exiv2 \
libdbus-1.so:devel/dbus \
libfftw3f.so:math/fftw3-float \
liblensfun.so:graphics/lensfun \
libflickcurl.so:www/flickcurl \
libgphoto2.so:graphics/libgphoto2
BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3
USES= desktop-file-utils gettext gmake jpeg libtool pathfix pkgconfig \
sqlite
GNU_CONFIGURE= yes
USE_GNOME= gtk20 libxml2 gconf2
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>