summaryrefslogtreecommitdiff
path: root/graphics/f-spot/Makefile
blob: 59922603b035ca8369b84a1388ced1878f6ec0d5 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# $NetBSD: Makefile,v 1.48 2012/12/15 10:36:27 ryoon Exp $
#

DISTNAME=	f-spot-0.8.2
PKGREVISION=	8
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_GNOME:=sources/f-spot/0.8/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://f-spot.org/
COMMENT=	Full-featured personal photo management application

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_TOOLS+=	gmake intltool pkg-config bash:run msgfmt

MAKE_JOBS_SAFE=	no

#.include "../../mk/bsd.prefs.mk"
#.for platform in ${LP64PLATFORMS}
#.  if ${MACHINE_PLATFORM:M${platform}}
#CONFIGURE_ENV+=	EXTRACSDEFINES=-define:LONG_IS_64BITS
#.  endif
#.endfor

PKGCONFIG_OVERRIDE+=	f-spot.pc.in

REPLACE_BASH+=	icon-theme-installer
REPLACE_BASH+=	src/Clients/MainApp/f-spot.in
REPLACE_BASH+=	tools/f-spot-import

SUBST_CLASSES+=			fix-x11
SUBST_STAGE.fix-x11=		post-patch
SUBST_MESSAGE.fix-x11=		Fixing libX11 references
SUBST_FILES.fix-x11=		src/Core/FSpot.Utils/FSpot.Utils.dll.config.in
SUBST_FILES.fix-x11+=		src/Core/FSpot.Utils/FSpot.Utils.dll.config
SUBST_FILES.fix-x11+=		build/DllMapVerifier.cs
SUBST_FILES.fix-x11+=		lib/Hyena/build/DllMapVerifier.cs
SUBST_SED.fix-x11=		-e 's,libX11.so.6,${X11BASE}/lib/libX11.so,'

GCONF_SCHEMAS=	f-spot.schemas

.include "../../devel/GConf/schemas.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/libgnome/buildlink3.mk"
.include "../../devel/libgnomeui/buildlink3.mk"
.include "../../devel/libgphoto2/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/lcms/buildlink3.mk"
.include "../../graphics/libexif/buildlink3.mk"
.include "../../lang/mono/buildlink3.mk"
.include "../../devel/mono-addins/buildlink3.mk"
.include "../../textproc/gnome-doc-utils/buildlink3.mk"
.include "../../mk/omf-scrollkeeper.mk"
.include "../../x11/gnome-sharp/buildlink3.mk"
.include "../../x11/gnome-desktop-sharp/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/gtk-sharp/buildlink3.mk"
.include "../../x11/libunique/buildlink3.mk"
.include "../../security/gnome-keyring-sharp/buildlink3.mk"
.include "../../sysutils/ndesk-dbus/buildlink3.mk"
.include "../../sysutils/ndesk-dbus-glib/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"