Merge from vendor branch TNF:
[pkgsrcv2.git] / devel / nbitools / Makefile
1 # $NetBSD: Makefile,v 1.17 2009/09/11 18:47:55 tnn Exp $
2 #
3
4 DISTNAME=       nbitools-R6.3
5 PKGNAME=        nbitools-6.3
6 PKGREVISION=    5
7 CATEGORIES=     devel
8 MASTER_SITES=   ${MASTER_SITE_LOCAL}
9
10 MAINTAINER=     pkgsrc-users@NetBSD.org
11 HOMEPAGE=       http://www.kitebird.com/imake-book/
12 COMMENT=        imake and tools derived from NetBSD-current/xsrc
13
14 PKG_INSTALLATION_TYPES= overwrite pkgviews
15 PKG_DESTDIR_SUPPORT=    destdir
16 NOT_FOR_UNPRIVILEGED=   yes
17
18 BUILD_TARGET=   World
19 MAKE_ENV+=      GCCCMD=gcc
20 MAKE_JOBS_SAFE= NO
21
22 .include "../../mk/bsd.prefs.mk"
23
24 USE_TOOLS+=     ${IMAKE_TOOLS:Nimake}
25
26 SUBST_CLASSES+=         nbi
27 SUBST_STAGE.nbi=        pre-configure
28 SUBST_MESSAGE.nbi=      Fixing definition of ProjectRoot.
29 SUBST_FILES.nbi=        config/cf/site.def
30 SUBST_SED.nbi=          -e 's|^\(\#define[ \t]*ProjectRoot\).*|\1 ${PREFIX}|'
31
32 post-extract:
33         ${CP} ${FILESDIR}/DragonFly.cf ${WRKSRC}/config/cf
34
35 .include "../../mk/bsd.pkg.mk"