c20ad6435d
with getline(3).
36 lines
875 B
Makefile
36 lines
875 B
Makefile
# $NetBSD: Makefile,v 1.15 2009/08/11 15:10:14 taca Exp $
|
|
#
|
|
|
|
DISTNAME= nbitools-R6.3
|
|
PKGNAME= nbitools-6.3
|
|
PKGREVISION= 4
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MAINTAINER= pkgsrc-users@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
|
|
MAKE_JOBS_SAFE= NO
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
USE_TOOLS+= ${IMAKE_TOOLS:Nimake}
|
|
|
|
SUBST_CLASSES+= nbi
|
|
SUBST_STAGE.nbi= pre-configure
|
|
SUBST_MESSAGE.nbi= Fixing definition of ProjectRoot.
|
|
SUBST_FILES.nbi= config/cf/site.def
|
|
SUBST_SED.nbi= -e 's|^\(\#define[ \t]*ProjectRoot\).*|\1 ${PREFIX}|'
|
|
|
|
post-extract:
|
|
${CP} ${FILESDIR}/DragonFly.cf ${WRKSRC}/config/cf
|
|
|
|
pre-patch:
|
|
cd ${WRKSRC}/config/makedepend; ${PATCH} --quiet < md.patch
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|