From fd1e018c34c6ffe4652e909fd75fc53ddd639e94 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 29 Mar 2010 13:01:53 +0000 Subject: Honour build environment. Fixes build if $HOME is not writeable. --- devel/nant/Makefile | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'devel') diff --git a/devel/nant/Makefile b/devel/nant/Makefile index a71d8a4b440..3139fb7153d 100644 --- a/devel/nant/Makefile +++ b/devel/nant/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2009/08/12 02:31:21 obache Exp $ +# $NetBSD: Makefile,v 1.5 2010/03/29 13:01:53 joerg Exp $ # DISTNAME= nant-0.86-beta1-src @@ -11,22 +11,20 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://nant.sourceforge.net/ COMMENT= Free .NET build tool similar to Apache Ant +PKG_DESTDIR_SUPPORT= user-destdir +MAKE_JOBS_SAFE= no + WRKSRC= ${WRKDIR}/nant-0.86-beta1 USE_LANGUAGES= # csharp USE_TOOLS+= pkg-config gmake -MAKE_JOBS_SAFE= no +BUILD_TARGET= bootstrap -PKG_DESTDIR_SUPPORT= user-destdir +INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \ + vprefix=${PREFIX}/share/NAnt do-configure: - cd ${WRKSRC} && ${GMAKE} setup - -do-build: - cd ${WRKSRC} && ${GMAKE} bootstrap - -do-install: - cd ${WRKSRC} && ${GMAKE} install prefix=${DESTDIR}${PREFIX} vprefix=${PREFIX}/share/NAnt + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} setup .include "../../lang/mono/buildlink3.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3