Annotation of pkgsrc/games/gnome-games/Makefile, Revision 1.23
1.23 ! hubertf 1: # $NetBSD: Makefile,v 1.22 2001/02/26 20:19:44 tron Exp $
1.1 tron 2:
1.8 rh 3: DISTNAME= gnome-games-1.2.0
1.7 jlam 4: CATEGORIES= games gnome
5: MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/gnome-games/}
1.1 tron 6:
1.7 jlam 7: MAINTAINER= tron@netbsd.org
8: HOMEPAGE= http://www.gnome.org/
1.21 wiz 9: COMMENT= GNOME games collection
1.1 tron 10:
1.23 ! hubertf 11: BUILD_DEPENDS+= autoconf-2.13:../../devel/autoconf
! 12: BUILD_DEPENDS+= automake-1.4:../../devel/automake
! 13: BUILD_USES_MSGFMT= yes
1.7 jlam 14: DEPENDS+= gnome-core-*:../../x11/gnome-core
1.5 tron 15: # Required for ports which don't build "libgtop".
1.7 jlam 16: DEPENDS+= guile-[0-9]*:../../lang/guile
1.16 tron 17:
18: CONFLICTS= xbill-*
1.1 tron 19:
1.15 tron 20: USE_GMAKE= YES
21: USE_X11BASE= YES
22: USE_CURSES= YES
23: USE_LIBTOOL= YES
24: USE_LIBINTL= YES
1.7 jlam 25: LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
26:
1.15 tron 27: GNU_CONFIGURE= YES
1.20 tron 28: CONFIGURE_ENV+= LOCALEDIR=${LOCALEDIR}
1.13 mycroft 29: CONFIGURE_ARGS+= --localstatedir=/var
1.15 tron 30: CFLAGS+= -I${LOCALBASE}/include
1.13 mycroft 31:
1.15 tron 32: INSTALL_FILE= ${WRKDIR}/INSTALL
1.12 mycroft 33:
34: AUTOGEN_ENV= NOCONFIGURE=1
35: AUTOGEN_ENV+= srcdir=${WRKSRC}
36:
37: pre-configure:
38: cd ${WRKSRC} && ${SETENV} ${AUTOGEN_ENV} ${SH} macros/autogen.sh
1.9 tron 39:
1.1 tron 40: post-build:
41: ${SED} -e 's#@@INSTALL@@#${INSTALL}#' \
42: ${PKGDIR}/INSTALL >${INSTALL_FILE}
43:
1.11 wiz 44: .include "../../mk/bsd.prefs.mk"
1.13 mycroft 45:
46: # The directory in which locale files are found is:
47: #
1.20 tron 48: # ${PREFIX}/${LOCALEDIR}/locale/<lang>/LC_MESSAGES
1.13 mycroft 49: #
50: .if ${OPSYS} == "SunOS"
1.20 tron 51: LOCALEDIR= lib
1.13 mycroft 52: .else
1.20 tron 53: LOCALEDIR= share
1.13 mycroft 54: .endif
1.10 wiz 55:
56: .if ${NEED_NCURSES} == "YES"
57: CONFIGURE_ARGS+=--with-ncurses=${LOCALBASE}
58: .endif
1.11 wiz 59:
60: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>