35 lines
802 B
Makefile
35 lines
802 B
Makefile
# $NetBSD: Makefile,v 1.10 2005/12/02 22:59:40 joerg Exp $
|
|
#
|
|
|
|
DISTNAME= nbitools-R6.3
|
|
PKGNAME= nbitools-6.3
|
|
PKGREVISION= 3
|
|
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-extract:
|
|
@${CP} ${FILESDIR}/DragonFly.cf ${WRKSRC}/config/cf
|
|
|
|
|
|
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"
|