summaryrefslogtreecommitdiff
path: root/devel/GConf/Makefile
blob: e6a46f7629add3d2f40cd76a0eda992b20121212 (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
# $NetBSD: Makefile,v 1.58 2007/01/20 13:22:50 joerg Exp $
#

DISTNAME=		GConf-1.0.9
PKGREVISION=		12
CATEGORIES=		devel gnome
MASTER_SITES=		${MASTER_SITE_GNOME:=sources/GConf/1.0/}
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://advogato.org/proj/GConf/
COMMENT=		Configuration database system used by GNOME

USE_PKGLOCALEDIR=	YES
USE_TOOLS+=		msgfmt
GNU_CONFIGURE=		YES
MAKE_FLAGS+=		AM_MAKEFLAGS="BDBBACKEND="

USE_LIBTOOL=		YES
PKGCONFIG_OVERRIDE=	gconf.pc.in

PLIST_SUBST+=		LOCALBASE=${LOCALBASE:Q}

EGDIR=			${PREFIX}/share/examples/gconf
REQD_DIRS+=		${PKG_SYSCONFDIR}/gconf ${PKG_SYSCONFDIR}/gconf/1
REQD_DIRS+=		${PKG_SYSCONFDIR}/gconf/schemas
CONF_FILES+=		${EGDIR}/default.path ${PKG_SYSCONFDIR}/gconf/1/path
CONF_FILES+=		${EGDIR}/desktop.schemas \
			${PKG_SYSCONFDIR}/gconf/schemas/desktop.schemas

INSTALL_MAKE_FLAGS+=	schemadir=${EGDIR}

pre-build:
	${RM} -f ${WRKSRC}/gconf/libxml
	${LN} -sf ${BUILDLINK_DIR}/include/gnome-xml ${WRKSRC}/gconf/libxml

.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/oaf/buildlink3.mk"
.include "../../devel/popt/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"