# $NetBSD: Makefile,v 1.24 2001/04/07 12:33:01 rh Exp $ DISTNAME= gnome-games-1.4.0.1 CATEGORIES= games gnome MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/gnome-games/} MAINTAINER= tron@netbsd.org HOMEPAGE= http://www.gnome.org/ COMMENT= GNOME games collection BUILD_DEPENDS+= autoconf-2.13:../../devel/autoconf BUILD_DEPENDS+= automake-1.4:../../devel/automake DEPENDS+= gnome-core>1.4.0:../../x11/gnome-core # Required for ports which don't build "libgtop". DEPENDS+= guile-[0-9]*:../../lang/guile CONFLICTS= xbill-* USE_GMAKE= YES USE_X11BASE= YES USE_CURSES= YES USE_LIBTOOL= YES USE_LIBINTL= YES BUILD_USES_MSGFMT= YES LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig GNU_CONFIGURE= YES CONFIGURE_ENV+= LOCALEDIR=${LOCALEDIR} CONFIGURE_ARGS+= --localstatedir=/var CFLAGS+= -I${LOCALBASE}/include INSTALL_FILE= ${WRKDIR}/INSTALL AUTOGEN_ENV= NOCONFIGURE=1 AUTOGEN_ENV+= srcdir=${WRKSRC} pre-configure: cd ${WRKSRC} && ${SETENV} ${AUTOGEN_ENV} ${SH} macros/autogen.sh post-build: ${SED} -e 's#@@INSTALL@@#${INSTALL}#' \ ${PKGDIR}/INSTALL >${INSTALL_FILE} .include "../../mk/bsd.prefs.mk" # The directory in which locale files are found is: # # ${PREFIX}/${LOCALEDIR}/locale//LC_MESSAGES # .if ${OPSYS} == "SunOS" LOCALEDIR= lib .else LOCALEDIR= share .endif .if ${NEED_NCURSES} == "YES" CONFIGURE_ARGS+=--with-ncurses=${LOCALBASE} .endif .include "../../mk/bsd.pkg.mk"