Index: head/devel/nant/Makefile =================================================================== --- head/devel/nant/Makefile (revision 325095) +++ head/devel/nant/Makefile (revision 325096) @@ -1,43 +1,43 @@ -# New ports collection makefile for: NAnt -# Date created: 2005-5-21 -# Whom: Christopher Nehren -# +# Created by: Christopher Nehren # $FreeBSD$ -# PORTNAME= nant PORTVERSION= 0.91 CATEGORIES= devel MASTER_SITES= SF DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= sunpoet@FreeBSD.org -COMMENT= A .NET build tool inspired by Ant +COMMENT= .NET build tool inspired by Ant BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono -RUN_DEPENDS= mono:${PORTSDIR}/lang/mono +RUN_DEPENDS:= ${BUILD_DEPENDS} +OPTIONS_DEFINE= DOCS EXAMPLES + BROKEN= fails to build DATADIR= ${PREFIX}/share/NAnt DOCSDIR= ${PREFIX}/share/doc/NAnt INSTALL_TARGET= install prefix=${PREFIX} MAKE_ENV= MONO_PATH=${WRKSRC}/lib TARGET=mono-4.0 MAKE_JOBS_UNSAFE= yes USE_GMAKE= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +.include + post-patch: @${REINPLACE_CMD} -e 's|MCS=mcs|MCS=dmcs|' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|lib/pkgconfig|libdata/pkgconfig|' ${WRKSRC}/NAnt.build -.if defined(NOPORTDOCS) +.if empty(PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e '903,910 d' ${WRKSRC}/NAnt.build .endif post-install: -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${EXAMPLESDIR}/ cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}/ .endif .include Property changes on: head/devel/nant/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property