From owner-svn-ports-head@FreeBSD.ORG Tue Aug 27 14:54:34 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2AE39FD9; Tue, 27 Aug 2013 14:54:34 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1668F2D4E; Tue, 27 Aug 2013 14:54:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r7REsXLG034332; Tue, 27 Aug 2013 14:54:33 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r7REsWpE034312; Tue, 27 Aug 2013 14:54:32 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201308271454.r7REsWpE034312@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Tue, 27 Aug 2013 14:54:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r325453 - in head/devel/nant: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 14:54:34 -0000 Author: sunpoet Date: Tue Aug 27 14:54:32 2013 New Revision: 325453 URL: http://svnweb.freebsd.org/changeset/ports/325453 Log: - Update to 0.92 - Unbreak build with new Mono compiler model [1] - Add LICENSE - Use USES=gmake Changes: http://nant.sourceforge.net/release/0.92/releasenotes.html Reference: https://github.com/nant/nant/issues/91 [1] Obtained from: https://github.com/nant/nant/commit/69c8ee96493c5d953212397c8ca06c2392372ca4 [1] Added: head/devel/nant/files/ head/devel/nant/files/patch-mono (contents, props changed) Modified: head/devel/nant/Makefile head/devel/nant/distinfo (contents, props changed) head/devel/nant/pkg-descr (contents, props changed) head/devel/nant/pkg-plist (contents, props changed) Modified: head/devel/nant/Makefile ============================================================================== --- head/devel/nant/Makefile Tue Aug 27 14:30:06 2013 (r325452) +++ head/devel/nant/Makefile Tue Aug 27 14:54:32 2013 (r325453) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= nant -PORTVERSION= 0.91 +PORTVERSION= 0.92 CATEGORIES= devel MASTER_SITES= SF DISTNAME= ${PORTNAME}-${PORTVERSION}-src @@ -10,28 +10,28 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= sunpoet@FreeBSD.org COMMENT= .NET build tool inspired by Ant +LICENSE= GPLv2 GPLv3 +LICENSE_COMB= dual + BUILD_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 +USES= gmake WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +DATADIR= ${PREFIX}/share/NAnt +DOCSDIR= ${PREFIX}/share/doc/NAnt + .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 !${PORT_OPTIONS:MDOCS} - @${REINPLACE_CMD} -e '903,910 d' ${WRKSRC}/NAnt.build + @${REINPLACE_CMD} -e '851,858 d' ${WRKSRC}/NAnt.build .endif post-install: @@ -40,4 +40,7 @@ post-install: cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}/ .endif +regression-test test: build + cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE} run-test + .include Modified: head/devel/nant/distinfo ============================================================================== --- head/devel/nant/distinfo Tue Aug 27 14:30:06 2013 (r325452) +++ head/devel/nant/distinfo Tue Aug 27 14:54:32 2013 (r325453) @@ -1,2 +1,2 @@ -SHA256 (nant-0.91-src.tar.gz) = 6694f16d71f77912ba08a6d83d6a1a67afe5f57469d817918cdc7ed1912974b7 -SIZE (nant-0.91-src.tar.gz) = 1612336 +SHA256 (nant-0.92-src.tar.gz) = 72d4d585267ed7f03e1aa75087d96f4f8d49ee976c32d974c5ab1fef4d4f8305 +SIZE (nant-0.92-src.tar.gz) = 1601180 Added: head/devel/nant/files/patch-mono ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/nant/files/patch-mono Tue Aug 27 14:54:32 2013 (r325453) @@ -0,0 +1,903 @@ +Reference: https://github.com/nant/nant/issues/91 +Obtained from: https://github.com/nant/nant/commit/69c8ee96493c5d953212397c8ca06c2392372ca4 + https://github.com/nant/nant/commit/4ad065d009b043996d4ce2d25ce5031d81c6ce60 + +--- src/NAnt.Console/App.config.orig 2013-03-30 06:16:24.000000000 +0800 ++++ src/NAnt.Console/App.config 2013-04-03 09:28:04.000000000 +0800 +@@ -1724,6 +1724,7 @@ + + + ++ + + + +@@ -1782,6 +1783,14 @@ + + + ++ ++ ++ ++ ++ ++ ++ ++ + + + +@@ -1820,7 +1829,8 @@ + true + + +- gmcs ++ ${csc.tool} ++ ${mcs.sdk} + true + true + true +@@ -1912,6 +1922,7 @@ + + + ++ + + + +@@ -1934,6 +1945,14 @@ + + + ++ ++ ++ ++ ++ ++ ++ ++ + + + +@@ -1972,7 +1991,8 @@ + true + + +- gmcs ++ ${csc.tool} ++ ${mcs.sdk} + true + linq + true +@@ -2067,6 +2087,7 @@ + + + ++ + + + +@@ -2090,6 +2111,14 @@ + + + ++ ++ ++ ++ ++ ++ ++ ++ + + + +@@ -2128,7 +2157,8 @@ + true + + +- dmcs ++ ${csc.tool} ++ ${mcs.sdk} + true + linq + true +@@ -2212,6 +2242,7 @@ + + + ++ + + + +@@ -2234,6 +2265,14 @@ + + + ++ ++ ++ ++ ++ ++ ++ ++ + + + +@@ -2267,7 +2306,8 @@ + + + +- smcs ++ ${csc.tool} ++ ${mcs.sdk} + true + true + true +@@ -2502,6 +2542,7 @@ + + + ++ + + + +@@ -2526,13 +2567,22 @@ + + + ++ ++ ++ ++ ++ ++ ++ ++ + + + + true + + +- gmcs ++ ${csc.tool} ++ ${mcs.sdk} + true + true + true +@@ -2616,6 +2666,7 @@ + + + ++ + + + +@@ -2628,13 +2679,22 @@ + + + ++ ++ ++ ++ ++ ++ ++ ++ + + + + true + + +- gmcs ++ ${csc.tool} ++ ${mcs.sdk} + true + linq + true +@@ -2721,6 +2781,7 @@ + + + ++ + + + +@@ -2734,13 +2795,22 @@ + + + ++ ++ ++ ++ ++ ++ ++ ++ + + + + true + + +- dmcs ++ ${csc.tool} ++ ${mcs.sdk} + true + linq + true +@@ -2824,6 +2894,7 @@ + + + ++ + + + +@@ -2835,10 +2906,19 @@ + + + ++ ++ ++ ++ ++ ++ ++ ++ + + + +- smcs ++ ${csc.tool} ++ ${mcs.sdk} + true + true + true +--- src/NAnt.Core/ConsoleDriver.cs.orig 2013-03-30 06:16:24.000000000 +0800 ++++ src/NAnt.Core/ConsoleDriver.cs 2013-04-03 09:28:04.000000000 +0800 +@@ -318,8 +318,9 @@ + xsltDoc.Load(reader); + xsltDoc.DocumentElement.SetAttribute("xmlns:nant",buildDoc.DocumentElement.NamespaceURI); + +- XslTransform transform = new XslTransform(); +- transform.Load(xsltDoc); ++ XslCompiledTransform transform = new XslCompiledTransform(); ++ XsltSettings settings = new XsltSettings(false, true); ++ transform.Load(xsltDoc, settings, new XmlUrlResolver()); + + StringBuilder sb = new StringBuilder(); + StringWriter writer = new StringWriter(sb, CultureInfo.InvariantCulture); +--- src/NAnt.Core/Resources/ProjectHelp.xslt.orig 2013-03-30 06:16:24.000000000 +0800 ++++ src/NAnt.Core/Resources/ProjectHelp.xslt 2013-04-03 09:28:04.000000000 +0800 +@@ -26,7 +26,7 @@ + + + +--- src/NAnt.DotNet/Tasks/CscTask.cs.orig 2013-03-30 06:16:24.000000000 +0800 ++++ src/NAnt.DotNet/Tasks/CscTask.cs 2013-04-03 09:28:04.000000000 +0800 +@@ -90,6 +90,7 @@ + private string _langVersion; + + // framework configuration settings ++ private double _mcsSdk = 0; + private bool _supportsDocGeneration = true; + private bool _supportsPlatform; + private bool _supportsLangVersion; +@@ -362,6 +363,21 @@ + + #endregion Public Instance Properties + ++ #region Protected Instance Properties ++ ++ /// ++ /// Gets or sets the mcs sdk version to apply to the new mcs compiler ++ /// for Mono 3.0+ ++ /// ++ [FrameworkConfigurable("mcssdk")] ++ protected double McsSdk ++ { ++ get { return _mcsSdk; } ++ set { _mcsSdk = value; } ++ } ++ ++ #endregion Protected Instance Properties ++ + #region Override implementation of CompilerBase + + /// +@@ -378,6 +394,16 @@ + WriteOption(writer, "baseaddress", BaseAddress); + } + ++ // If mcs is the compiler and the specified McsSdk version is specified, append the new ++ // -sdk: option to the argument list. ++ if (PlatformHelper.IsMono) ++ { ++ if (ExeName.Equals("mcs", StringComparison.InvariantCultureIgnoreCase) && _mcsSdk > 0) ++ { ++ WriteOption(writer, "sdk", _mcsSdk.ToString()); ++ } ++ } ++ + // XML documentation + if (DocFile != null) { + if (SupportsDocGeneration) { +--- src/NAnt.NUnit/NAnt.NUnit.build.orig 2013-03-30 06:16:24.000000000 +0800 ++++ src/NAnt.NUnit/NAnt.NUnit.build 2013-04-03 09:28:04.000000000 +0800 +@@ -42,6 +42,8 @@ + + + ++ ++ + + + +--- src/NDoc.Documenter.NAnt/NDoc.Documenter.NAnt.build.orig 2013-03-30 06:16:24.000000000 +0800 ++++ src/NDoc.Documenter.NAnt/NDoc.Documenter.NAnt.build 2013-04-03 09:28:04.000000000 +0800 +@@ -11,6 +11,7 @@ + + + ++ + + + +--- tests/NAnt.Core/Framework.config.orig 2013-03-30 06:16:24.000000000 +0800 ++++ tests/NAnt.Core/Framework.config 2013-04-03 09:28:04.000000000 +0800 +@@ -467,28 +467,6 @@ + key="SOFTWARE\Microsoft\.NETFramework\InstallRoot" + hive="LocalMachine" /> + +- + + + +@@ -792,19 +770,6 @@ + key="SOFTWARE\Microsoft\.NETFramework\InstallRoot" + hive="LocalMachine" /> + +- + + + +@@ -1302,9 +1267,12 @@ + + + ++ + + + ++ ++ + + + +@@ -1320,26 +1288,30 @@ + + + ++ + ++ + + + ++ in Mono 1.0.x, the framework tools are located ++ in the \lib directory, except for ++ mbas and mcs ++ --> + + + + ++ + ++ Mono 1.0.1 installer incorrectly adds '\mono' to ++ "MonoConfigDir" registry value ++ --> + + + + ++ + + + +@@ -1354,28 +1326,54 @@ + + + ++ ++ ++ ++ ++ ++ ++ ++ ++ + + + + + + ++ + +- +- +- +- ++ ++ ++ ++ ++ ++ +- + + +- ++ ++ + + + true + + +- gmcs ++ ${csc.tool} ++ ${mcs.sdk} + true + true + true +@@ -1467,8 +1465,11 @@ + + + ++ + + ++ ++ + + + +@@ -1484,30 +1485,57 @@ + + + ++ + + ++ ++ ++ ++ ++ ++ ++ ++ ++ + + + + + + ++ + +- +- +- +- ++ ++ ++ ++ ++ ++ +- + + +- ++ ++ + + + true + + +- gmcs ++ ${csc.tool} ++ ${mcs.sdk} + true + linq + true +@@ -1602,6 +1630,7 @@ + + + ++ + + + +@@ -1625,6 +1654,14 @@ + + + ++ ++ ++ ++ ++ ++ ++ ++ + + + +@@ -1663,7 +1700,8 @@ + true + + +- dmcs ++ ${csc.tool} ++ ${mcs.sdk} + true + linq + true +@@ -1699,7 +1737,7 @@ + + + + + +- +- ++ + + + + +- +- ++ ++ ++ ++ ++ ++ ++ + + + +@@ -1743,8 +1785,11 @@ + + + ++ + + ++ ++ + + + +@@ -1760,26 +1805,52 @@ + + + ++ + + ++ ++ ++ ++ ++ ++ ++ ++ ++ + + + + + + ++ + +- +- +- +- ++ ++ ++ ++ ++ ++ +- + + + + +- smcs ++ ${csc.tool} ++ ${mcs.sdk} + true + true + true +@@ -2037,7 +2108,10 @@ + + + ++ + ++ ++ + + + +@@ -2059,13 +2133,22 @@ + + + ++ ++ ++ ++ ++ ++ ++ ++ + + + + true + + +- gmcs ++ ${csc.tool} ++ ${mcs.sdk} + true + true + true +@@ -2149,8 +2232,11 @@ + + + ++ + + ++ ++ + + + +@@ -2159,13 +2245,22 @@ + + + ++ ++ ++ ++ ++ ++ ++ ++ + + + + true + + +- gmcs ++ ${csc.tool} ++ ${mcs.sdk} + true + linq + true +@@ -2252,6 +2347,7 @@ + + + ++ + + + +@@ -2265,13 +2361,22 @@ + + + ++ ++ ++ ++ ++ ++ ++ ++ + + + + true + + +- dmcs ++ ${csc.tool} ++ ${mcs.sdk} + true + linq + true +@@ -2307,8 +2412,8 @@ + + + + + +- + + + + +- +- ++ ++ ++ ++ ++ ++ ++ + + + +@@ -2351,8 +2460,11 @@ + + + ++ + + ++ ++ + + + +@@ -2360,10 +2472,19 @@ + + + ++ ++ ++ ++ ++ ++ ++ ++ + + + +- smcs ++ ${csc.tool} ++ ${mcs.sdk} + true + true + true Modified: head/devel/nant/pkg-descr ============================================================================== --- head/devel/nant/pkg-descr Tue Aug 27 14:30:06 2013 (r325452) +++ head/devel/nant/pkg-descr Tue Aug 27 14:54:32 2013 (r325453) @@ -1,16 +1,13 @@ What is it? ----------- -NAnt is a .NET based build tool. In theory it is kind of like make without +NAnt is a .NET-based build tool. In theory it is kind of like make without make's wrinkles. In practice it's a lot like Ant. - -If you are not familiar with Jakarta Ant you can get more information at the +If you are not familiar with Jakarta Ant, you can get more information at the Ant project web site (http://ant.apache.org/). - Why NAnt? --------- -Because Ant was too Java specific. -Because Ant needed the Java runtime. NAnt only needs the .NET -or Mono runtime. +Because Ant was too Java-specific. +Because Ant needed the Java runtime. NAnt only needs the .NET or Mono runtime. WWW: http://nant.sourceforge.net/ Modified: head/devel/nant/pkg-plist ============================================================================== --- head/devel/nant/pkg-plist Tue Aug 27 14:30:06 2013 (r325452) +++ head/devel/nant/pkg-plist Tue Aug 27 14:54:32 2013 (r325453) @@ -34,20 +34,20 @@ libdata/pkgconfig/nant.pc %%DATADIR%%/bin/NAnt.exe.config %%DATADIR%%/bin/NAnt.exe.mdb %%DATADIR%%/bin/NAnt.xml +%%DATADIR%%/bin/NDoc.Documenter.NAnt.dll +%%DATADIR%%/bin/NDoc.Documenter.NAnt.dll.mdb *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***