pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/nant Honour build environment. Fixes build if $H...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2f2ad94463b2
branches:  trunk
changeset: 573753:2f2ad94463b2
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Mar 29 13:01:53 2010 +0000

description:
Honour build environment. Fixes build if $HOME is not writeable.

diffstat:

 devel/nant/Makefile |  18 ++++++++----------
 1 files changed, 8 insertions(+), 10 deletions(-)

diffs (39 lines):

diff -r efdd561ad7c3 -r 2f2ad94463b2 devel/nant/Makefile
--- a/devel/nant/Makefile       Mon Mar 29 10:09:13 2010 +0000
+++ b/devel/nant/Makefile       Mon Mar 29 13:01:53 2010 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index