summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjoerg <joerg>2010-03-29 13:01:53 +0000
committerjoerg <joerg>2010-03-29 13:01:53 +0000
commitfd1e018c34c6ffe4652e909fd75fc53ddd639e94 (patch)
treecd1e7fa9d04b1e063e40736b5ca0c80d3636f577 /devel
parent8d039f564ed199548be42c77c8ef3e85e8292abc (diff)
downloadpkgsrc-fd1e018c34c6ffe4652e909fd75fc53ddd639e94.tar.gz
Honour build environment. Fixes build if $HOME is not writeable.
Diffstat (limited to 'devel')
-rw-r--r--devel/nant/Makefile18
1 files changed, 8 insertions, 10 deletions
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"