dd09712ae5
"${LOCALBASE}".
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
## $NetBSD: Makefile,v 1.29 2001/02/13 11:47:03 tron Exp $
|
|
|
|
DISTNAME= gnome-utils-1.2.0
|
|
CATEGORIES= misc x11 gnome
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/gnome-utils/}
|
|
|
|
MAINTAINER= rh@netbsd.org
|
|
HOMEPAGE= http://www.gnome.org/
|
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/bin/autoconf:../../devel/autoconf
|
|
BUILD_DEPENDS+= ${LOCALBASE}/bin/automake:../../devel/automake
|
|
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
|
|
|
|
USE_CURSES= # defined
|
|
USE_GMAKE= # defined
|
|
USE_LIBINTL= # defined
|
|
USE_X11BASE= # defined
|
|
|
|
GNU_CONFIGURE= # defined
|
|
CONFIGURE_ENV+= LOCALEDIR=${LOCALEDIR}
|
|
|
|
PLIST_SUBST+= 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"
|
|
|
|
# The directory in which locale files are found is:
|
|
#
|
|
# ${PREFIX}/${LOCALEDIR}/locale/<lang>/LC_MESSAGES
|
|
#
|
|
.if ${OPSYS} == "SunOS"
|
|
LOCALEDIR= lib
|
|
.else
|
|
LOCALEDIR= share
|
|
.endif
|
|
|
|
.if ${NEED_NCURSES} == "YES"
|
|
CONFIGURE_ARGS+= --with-ncurses=${LOCALBASE}
|
|
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|