summaryrefslogtreecommitdiff
path: root/sysutils/gnome-vfs2/Makefile
blob: 0bcaab7376a2ad35a8d6a40168cbfe9daadc013a (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
# $NetBSD: Makefile,v 1.23 2004/01/24 15:06:57 grant Exp $
#

DISTNAME=		gnome-vfs-2.4.1
PKGNAME=		${DISTNAME:S/vfs/vfs2/}
PKGREVISION=		2
CATEGORIES=		sysutils gnome
MASTER_SITES=		${MASTER_SITE_GNOME:=sources/gnome-vfs/2.4/}
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		jmmv@NetBSD.org
HOMEPAGE=		http://www.gnome.org/
COMMENT=		GNOME Virtual File System (v2)

BUILD_USES_MSGFMT=	YES

GNU_CONFIGURE=		YES
USE_BUILDLINK2=		YES
USE_PKGLOCALEDIR=	YES
USE_GNU_TOOLS+=		make
USE_LIBTOOL=		YES
USE_PKGINSTALL=		YES

LIBTOOL_OVERRIDE=	${WRKSRC}/libtool
PKGCONFIG_OVERRIDE=	${WRKSRC}/gnome-vfs-2.0.pc.in
PKGCONFIG_OVERRIDE+=	${WRKSRC}/gnome-vfs-module-2.0.pc.in

CONFIGURE_ARGS= 	--enable-gtk-doc=no
CONFIGURE_ARGS+=	--enable-platform-gnome-2
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFBASEDIR}
CONFIGURE_ARGS+=	--with-html-dir=${PREFIX}/share/doc/html

CPPFLAGS+=		-I${BUILDLINK_PREFIX.cdparanoia}/include/cdparanoia

PKG_SYSCONFSUBDIR=	gnome-vfs-2.0
OWN_DIRS=		${PKG_SYSCONFDIR}/modules ${PKG_SYSCONFDIR}/vfolders

EGDIR=		${PREFIX}/share/examples/gnome-vfs-2.0
EGFILES=	modules/default-modules.conf
EGFILES+=	vfolders/applications-all-users.vfolder-info
EGFILES+=	vfolders/favorites.vfolder-info
EGFILES+=	vfolders/network.vfolder-info
EGFILES+=	vfolders/preferences-all-users.vfolder-info
EGFILES+=	vfolders/server-settings.vfolder-info
EGFILES+=	vfolders/start-here.vfolder-info
EGFILES+=	vfolders/system-settings.vfolder-info
.for f in ${EGFILES}
CONF_FILES+=	${EGDIR}/$f ${PKG_SYSCONFDIR}/$f
.endfor
.undef f

GCONF2_SCHEMAS=	system_http_proxy.schemas

.include "../../archivers/bzip2/buildlink2.mk"
.include "../../audio/cdparanoia/buildlink2.mk"
.include "../../databases/gnome-mime-data/buildlink2.mk"
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../devel/GConf2/schemas.mk"
.include "../../devel/glib2/buildlink2.mk"
.include "../../devel/libbonobo/buildlink2.mk"
.include "../../devel/pkgconfig/buildlink2.mk"
.include "../../devel/popt/buildlink2.mk"
.include "../../net/ORBit2/buildlink2.mk"
.include "../../textproc/libxml2/buildlink2.mk"
.include "../../security/openssl/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"