summaryrefslogtreecommitdiff
path: root/graphics/gimp-ufraw/Makefile
blob: 5ba898020cc62939b772d4efe83dd8abe7c52818 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
# $NetBSD: Makefile,v 1.35 2006/12/02 18:44:21 gdt Exp $

DISTNAME=		ufraw-0.10
PKGNAME=		gimp-${DISTNAME}
PKGREVISION=		1
CATEGORIES=		graphics
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=ufraw/}

MAINTAINER=		gdt@NetBSD.org
HOMEPAGE=		http://ufraw.sourceforge.net/
COMMENT=		GIMP plug-in for raw digicam import

GNU_CONFIGURE=		yes

USE_TOOLS+=		gmake pkg-config msgfmt
USE_TOOLS+=		perl:run pod2man
USE_DIRS+=		xdg-1.1
USE_LANGUAGES=		c c++

CONFIGURE_ARGS+=	--enable-mime

GCONF2_SCHEMAS=		ufraw.schemas

# This package uses too much C99 code to be patched.
GCC_REQD+=		3.0
BUILDLINK_TRANSFORM+=	rm:-std=gnu99

PKG_OPTIONS_VAR=	PKG_OPTIONS.gimp-ufraw
PKG_SUPPORTED_OPTIONS=	exiv2 libexif
PKG_SUGGESTED_OPTIONS=	exiv2
.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mexiv2)
CONFIGURE_ARGS+=	--with-exiv2
.include "../../graphics/exiv2/buildlink3.mk"
.endif

# libexif has been reported to cause crashes with ufraw.  It is needed for Fuji RAF.
.if !empty(PKG_OPTIONS:Mlibexif)
CONFIGURE_ARGS+=	--with-libexif
.include "../../graphics/libexif/buildlink3.mk"
.endif

.include "../../databases/shared-mime-info/mimedb.mk"
.include "../../devel/GConf2/schemas.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/lcms/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../graphics/gimp/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"