svn commit: r330180 - head/devel/nant
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Oct 12 19:25:54 UTC 2013
Author: sunpoet
Date: Sat Oct 12 19:25:53 2013
New Revision: 330180
URL: http://svnweb.freebsd.org/changeset/ports/330180
Log:
- Support STAGEDIR
Modified:
head/devel/nant/Makefile
Modified: head/devel/nant/Makefile
==============================================================================
--- head/devel/nant/Makefile Sat Oct 12 19:16:06 2013 (r330179)
+++ head/devel/nant/Makefile Sat Oct 12 19:25:53 2013 (r330180)
@@ -13,12 +13,12 @@ COMMENT= .NET build tool inspired by Ant
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono
+BUILD_DEPENDS= ${LOCALBASE}/bin/mono:${PORTSDIR}/lang/mono
RUN_DEPENDS:= ${BUILD_DEPENDS}
OPTIONS_DEFINE= DOCS EXAMPLES
-INSTALL_TARGET= install prefix=${PREFIX}
+INSTALL_TARGET= install destdir=${STAGEDIR} prefix=${PREFIX}
MAKE_JOBS_UNSAFE= yes
USES= gmake pkgconfig
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
@@ -26,7 +26,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVER
DATADIR= ${PREFIX}/share/NAnt
DOCSDIR= ${PREFIX}/share/doc/NAnt
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@@ -37,8 +36,8 @@ post-patch:
post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
- ${MKDIR} ${EXAMPLESDIR}/
- cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}/
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
+ cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/
.endif
regression-test test: build
More information about the svn-ports-head
mailing list