summaryrefslogtreecommitdiffstats
path: root/graphics/rawstudio/Makefile
blob: 7925dfb73a3b77983ec104f9652a0e4b00fc7b7a (plain)
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
30
31
32
33
34
35
36
37
38
39
# Created by: Alex Samorukov <samm@os2.kiev.ua>
# $FreeBSD$

PORTNAME=	rawstudio
PORTVERSION=	2.0
PORTREVISION=	7
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 \
		libpng15.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

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
LIBS+=		`pkg-config --libs gthread-2.0`

post-patch:
	@${REINPLACE_CMD} -e 's, libssl,,' ${WRKSRC}/configure

.include <bsd.port.mk>
OpenPOWER on IntegriCloud