e43eb14857
to "CFLAGS". The "configure.in" is probably broken.
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.10 2000/11/27 12:23:48 tron Exp $
|
|
|
|
DISTNAME= gtop-1.0.9
|
|
CATEGORIES= sysutils gnome
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/gtop/}
|
|
|
|
MAINTAINER= tron@netbsd.org
|
|
|
|
BUILD_DEPENDS+= autoreconf:../../devel/autoconf
|
|
BUILD_DEPENDS+= automake:../../devel/automake
|
|
BUILD_DEPENDS+= msgfmt:../../devel/gettext
|
|
BUILD_DEPENDS+= gettextize:../../devel/gettext
|
|
DEPENDS+= gnome-core>=1.2.0:../../x11/gnome-core
|
|
DEPENDS+= libgtop>=1.0.9:../../devel/libgtop
|
|
|
|
OSVERSION_SPECIFIC= YES
|
|
USE_GMAKE= YES
|
|
USE_X11BASE= YES
|
|
USE_LIBTOOL= YES
|
|
USE_LIBINTL= YES
|
|
|
|
GNU_CONFIGURE= YES
|
|
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
|
|
CONFIGURE_ENV+= LOCALEBASE=${LOCALEBASE}
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
PLIST_SUBST+= LOCALEBASE=${LOCALEBASE}
|
|
|
|
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}/${LOCALEBASE}/locale/<lang>/LC_MESSAGES
|
|
#
|
|
.if ${OPSYS} == "SunOS"
|
|
LOCALEBASE= lib
|
|
.else
|
|
LOCALEBASE= share
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|