summaryrefslogtreecommitdiff
path: root/x11/control-center/Makefile
blob: dfc7ec31f0a8ea1b24408f51d43702338d8674e9 (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
# $NetBSD: Makefile,v 1.10 2006/04/13 18:23:39 jlam Exp $

DISTNAME=		control-center-1.4.0.5
PKGREVISION=		3
CATEGORIES=		x11 gnome
MASTER_SITES=		${MASTER_SITE_GNOME:=sources/control-center/1.4/}

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.gnome.org/
COMMENT=		GNOME control-center development library

BROKEN_GETTEXT_DETECTION=	yes

USE_DIRS+=		xdg-1.1 gnome1-1.5
USE_X11BASE=		YES
USE_TOOLS+=		gmake msgfmt
USE_PKGLOCALEDIR=	YES

USE_LIBTOOL=		YES

LOCALSTATEDIR=		${PREFIX}/var

GNU_CONFIGURE=		YES
CONFIGURE_ARGS+=	--localstatedir=${LOCALSTATEDIR:Q}

.include "../../mk/bsd.prefs.mk"

# Linux has libintl functionality in libc
.if ${OPSYS} != "Linux"
CONFIGURE_ENV+=		INTLLIBS="-lintl"
.endif

post-patch:
	@${ECHO} >>${WRKSRC}/control-center/cappletConf.sh.in ""

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/control-center/capplets

.include "../../devel/popt/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../graphics/gdk-pixbuf/buildlink3.mk"
.include "../../sysutils/gnome-vfs/buildlink3.mk"
.include "../../textproc/scrollkeeper/omf.mk"
.include "../../x11/gnome-libs/buildlink3.mk"

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