aboutsummaryrefslogtreecommitdiff
path: root/graphics/rawstudio/Makefile
blob: 30b98a693a919d41eed69d1af140bcc96537bda0 (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
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:	Rawstudio
# Date created:				2008-04-23
# Whom:					Alex Samorukov <samm@os2.kiev.ua>
#
# $FreeBSD$
#

PORTNAME=	rawstudio
PORTVERSION=	2.0
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=	jpeg.11:${PORTSDIR}/graphics/jpeg \
		lcms.1:${PORTSDIR}/graphics/lcms \
		exiv2.10:${PORTSDIR}/graphics/exiv2 \
		dbus-1.3:${PORTSDIR}/devel/dbus \
		fftw3f:${PORTSDIR}/math/fftw3-float \
		lensfun.2:${PORTSDIR}/graphics/lensfun \
		flickcurl.0:${PORTSDIR}/www/flickcurl \
		gphoto2.2:${PORTSDIR}/graphics/libgphoto2
BUILD_DEPENDS=	${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3

GNU_CONFIGURE=	yes
CPPFLAGS=	-I${LOCALBASE}/include
CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib"
USE_GMAKE=	yes
USE_GETTEXT=	yes
USE_GNOME=	gtk20 libxml2 gconf2 desktopfileutils gnomehack
USE_SQLITE=	3
USE_LDCONFIG=	yes

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

.include <bsd.port.mk>