summaryrefslogtreecommitdiff
path: root/misc/gnome-utils/Makefile
blob: d514e6770b16d1ef1d7e9456bd9dc76b06e17edc (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
## $NetBSD: Makefile,v 1.37 2001/08/25 07:21:16 skrll Exp $

DISTNAME=		gnome-utils-1.4.0.2
CATEGORIES=		misc x11 gnome
MASTER_SITES=		${MASTER_SITE_GNOME:=stable/sources/gnome-utils/}
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		rh@netbsd.org
HOMEPAGE=		http://www.gnome.org/
COMMENT=		Set of useful GNOME utilities and applications

BUILD_DEPENDS+=		autoconf-2.13:../../devel/autoconf
BUILD_DEPENDS+=		automake-1.4:../../devel/automake
BUILD_DEPENDS+=		bison-*:../../devel/bison
BUILD_DEPENDS+=		xml-i18n-tools-*:../../textproc/xml-i18n-tools
DEPENDS+=		gnome-core>1.4.0:../../x11/gnome-core
DEPENDS+=		libgtop>=1.0.12:../../devel/libgtop

USE_CURSES=		YES
USE_GMAKE=		YES
USE_LIBINTL=		YES
USE_X11BASE=		YES

GNU_CONFIGURE=		YES
CONFIGURE_ENV+=		LOCALEDIR=${LOCALEDIR}

AUTOGEN_ENV=		NOCONFIGURE=1
AUTOGEN_ENV+=		srcdir=${WRKSRC}

pre-configure:
	cd ${WRKSRC} && ${SETENV} ${AUTOGEN_ENV} ${SH} macros/autogen.sh

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

.if ${NEED_NCURSES} == "YES"
CONFIGURE_ARGS+=	--with-ncurses=${LOCALBASE}
CPPFLAGS+=		-I${LOCALBASE}/include
.endif

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