diff options
Diffstat (limited to 'devel/nbitools/Makefile')
-rw-r--r-- | devel/nbitools/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/devel/nbitools/Makefile b/devel/nbitools/Makefile index be585297225..062edc1b7d3 100644 --- a/devel/nbitools/Makefile +++ b/devel/nbitools/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2005/12/02 22:59:40 joerg Exp $ +# $NetBSD: Makefile,v 1.11 2006/06/17 16:50:27 rillig Exp $ # DISTNAME= nbitools-R6.3 @@ -23,13 +23,13 @@ MAKE_ENV+= GCCCMD=gcc USE_TOOLS+= gmake .endif -post-extract: - @${CP} ${FILESDIR}/DragonFly.cf ${WRKSRC}/config/cf - +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-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 +post-extract: + ${CP} ${FILESDIR}/DragonFly.cf ${WRKSRC}/config/cf .include "../../mk/bsd.pkg.mk" |