2001-02-13 12:47:00 +01:00
|
|
|
## $NetBSD: Makefile,v 1.29 2001/02/13 11:47:03 tron Exp $
|
1999-05-03 18:48:56 +02:00
|
|
|
|
2000-11-09 22:09:43 +01:00
|
|
|
DISTNAME= gnome-utils-1.2.0
|
|
|
|
CATEGORIES= misc x11 gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/gnome-utils/}
|
1999-05-03 18:48:56 +02:00
|
|
|
|
2000-11-09 22:09:43 +01:00
|
|
|
MAINTAINER= rh@netbsd.org
|
|
|
|
HOMEPAGE= http://www.gnome.org/
|
1999-05-03 18:48:56 +02:00
|
|
|
|
2001-02-06 04:16:56 +01:00
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/bin/autoconf:../../devel/autoconf
|
2001-02-05 10:00:54 +01:00
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/bin/automake:../../devel/automake
|
2000-11-09 22:09:43 +01:00
|
|
|
BUILD_DEPENDS+= bison:../../devel/bison
|
|
|
|
DEPENDS+= gnome-core>=1.2.0:../../x11/gnome-core
|
|
|
|
DEPENDS+= libgtop>=1.0.9:../../devel/libgtop
|
|
|
|
DEPENDS+= libglade>=0.13:../../devel/libglade
|
1999-05-03 18:48:56 +02:00
|
|
|
|
2001-01-08 17:09:09 +01:00
|
|
|
USE_CURSES= # defined
|
2000-11-09 22:09:43 +01:00
|
|
|
USE_GMAKE= # defined
|
2001-01-28 01:51:53 +01:00
|
|
|
USE_LIBINTL= # defined
|
2000-11-09 22:09:43 +01:00
|
|
|
USE_X11BASE= # defined
|
|
|
|
|
|
|
|
GNU_CONFIGURE= # defined
|
2001-02-13 12:47:00 +01:00
|
|
|
CONFIGURE_ENV+= LOCALEDIR=${LOCALEDIR}
|
2000-11-09 22:09:43 +01:00
|
|
|
|
2001-02-13 12:47:00 +01:00
|
|
|
PLIST_SUBST+= LOCALEDIR=${LOCALEDIR}
|
2000-11-09 22:09:43 +01:00
|
|
|
|
|
|
|
AUTOGEN_ENV= NOCONFIGURE=1
|
|
|
|
AUTOGEN_ENV+= srcdir=${WRKSRC}
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC} && ${SETENV} ${AUTOGEN_ENV} ${SH} macros/autogen.sh
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
# The directory in which locale files are found is:
|
|
|
|
#
|
2001-02-13 12:47:00 +01:00
|
|
|
# ${PREFIX}/${LOCALEDIR}/locale/<lang>/LC_MESSAGES
|
2000-11-09 22:09:43 +01:00
|
|
|
#
|
|
|
|
.if ${OPSYS} == "SunOS"
|
2001-02-13 12:47:00 +01:00
|
|
|
LOCALEDIR= lib
|
2000-11-09 22:09:43 +01:00
|
|
|
.else
|
2001-02-13 12:47:00 +01:00
|
|
|
LOCALEDIR= share
|
2000-11-09 22:09:43 +01:00
|
|
|
.endif
|
1999-05-03 18:48:56 +02:00
|
|
|
|
2001-01-08 17:09:09 +01:00
|
|
|
.if ${NEED_NCURSES} == "YES"
|
|
|
|
CONFIGURE_ARGS+= --with-ncurses=${LOCALBASE}
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include
|
|
|
|
.endif
|
|
|
|
|
1999-05-03 18:48:56 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|