pkgsrc/devel/nbitools/Makefile
jlam 585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00

31 lines
731 B
Makefile

# $NetBSD: Makefile,v 1.9 2005/05/22 20:07:53 jlam Exp $
#
DISTNAME= nbitools-R6.3
PKGNAME= nbitools-6.3
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= sakamoto@NetBSD.org
HOMEPAGE= http://www.kitebird.com/imake-book/
COMMENT= imake and tools derived from NetBSD-current/xsrc
PKG_INSTALLATION_TYPES= overwrite pkgviews
BUILD_TARGET= World
MAKE_ENV+= GCCCMD=gcc
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Linux"
USE_TOOLS+= gmake
.endif
post-patch:
@${MV} ${WRKSRC}/config/cf/site.def ${WRKSRC}/config/cf/site.def.orig
@${SED} -e 's|^\(\#define[ \t]*ProjectRoot\).*|\1 ${PREFIX}|' \
${WRKSRC}/config/cf/site.def.orig > ${WRKSRC}/config/cf/site.def
.include "../../mk/bsd.pkg.mk"