summaryrefslogtreecommitdiff
path: root/x11/controlcenter/Makefile
blob: 3a02a0c8e22d0db1585b4173a112fbe0d8bb128f (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
# $NetBSD: Makefile,v 1.29 2001/04/06 22:08:09 rh Exp $

DISTNAME=		control-center-1.4.0.1
CATEGORIES=		x11 gnome
MASTER_SITES=		${MASTER_SITE_GNOME:=stable/sources/control-center/}

MAINTAINER=		jlam@netbsd.org
HOMEPAGE=		http://www.gnome.org/
COMMENT=		GNOME control-center development library

DEPENDS+=		gnome-libs>=1.2.13:../../x11/gnome-libs
DEPENDS+=		gdk-pixbuf>=0.10.1:../../graphics/gdk-pixbuf
DEPENDS+=		gnome-vfs>=1.0:../../sysutils/gnome-vfs
DEPENDS+=		scrollkeeper-*:../../textproc/scrollkeeper

USE_X11BASE=		YES
USE_GMAKE=		YES
USE_LIBINTL=		YES
BUILD_USES_MSGFMT=	YES

USE_LIBTOOL=		YES
LTCONFIG_OVERRIDE=	${WRKSRC}/ltconfig

LOCALSTATEDIR=		/var/gnome

GNU_CONFIGURE=		YES
CONFIGURE_ARGS+=	--localstatedir=${LOCALSTATEDIR}
CONFIGURE_ARGS+=	--with-glib-prefix=${LOCALBASE}
CONFIGURE_ENV+=		CPPFLAGS="${CPPFLAGS}"
CPPFLAGS+=		-I${LOCALBASE}/include 		# libintl.h

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

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