commit:     05f3faeeae7eb855377b46d266ae11bf0b0e66da
Author:     ArsenShnurkov <ArsenShnurkov <AT> users <DOT> noreply <DOT> github 
<DOT> com>
AuthorDate: Mon May  1 14:13:52 2017 +0000
Commit:     Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
CommitDate: Mon May  1 14:13:52 2017 +0000
URL:        https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=05f3faee

initial version

 .../files/MSBuildContrib.Tasks.csproj.patch        | 28 ++++++++++
 .../files/MSBuildContrib.Utilities.csproj.patch    | 33 +++++++++++
 dev-dotnet/msbuildcontrib/files/location.patch     | 11 ++++
 dev-dotnet/msbuildcontrib/metadata.xml             | 10 ++++
 .../msbuildcontrib-2014.06.05.01.ebuild            | 65 ++++++++++++++++++++++
 5 files changed, 147 insertions(+)

diff --git a/dev-dotnet/msbuildcontrib/files/MSBuildContrib.Tasks.csproj.patch 
b/dev-dotnet/msbuildcontrib/files/MSBuildContrib.Tasks.csproj.patch
new file mode 100644
index 0000000..062c1cb
--- /dev/null
+++ b/dev-dotnet/msbuildcontrib/files/MSBuildContrib.Tasks.csproj.patch
@@ -0,0 +1,28 @@
+--- a/Source/MSBuildContrib.Tasks/MSBuildContrib.Tasks.csproj
++++ b/Source/MSBuildContrib.Tasks/MSBuildContrib.Tasks.csproj
+@@ -10,7 +10,6 @@
+     <AppDesignerFolder>Properties</AppDesignerFolder>
+     <RootNamespace>MSBuildContrib.Tasks</RootNamespace>
+     <AssemblyName>MSBuildContrib.Tasks</AssemblyName>
+-    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+     <FileAlignment>512</FileAlignment>
+     <SccProjectName>
+     </SccProjectName>
+@@ -47,16 +46,13 @@
+   </PropertyGroup>
+   <ItemGroup>
+     <Reference Include="Microsoft.Build.Framework" />
+-    <Reference Include="Microsoft.Build.Utilities.v3.5">
+-      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+-    </Reference>
+     <Reference Include="System" />
+     <Reference Include="System.Core">
+-      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+     </Reference>
+     <Reference Include="System.Data" />
+     <Reference Include="System.Security" />
+     <Reference Include="System.Xml" />
++    <Reference Include="Microsoft.Build.Utilities.v4.0" />
+   </ItemGroup>
+   <ItemGroup>
+     <Compile Include="..\SolutionInfo.cs">

diff --git 
a/dev-dotnet/msbuildcontrib/files/MSBuildContrib.Utilities.csproj.patch 
b/dev-dotnet/msbuildcontrib/files/MSBuildContrib.Utilities.csproj.patch
new file mode 100644
index 0000000..c7797fb
--- /dev/null
+++ b/dev-dotnet/msbuildcontrib/files/MSBuildContrib.Utilities.csproj.patch
@@ -0,0 +1,33 @@
+--- a/Source/MSBuildContrib.Utilities/MSBuildContrib.Utilities.csproj
++++ b/Source/MSBuildContrib.Utilities/MSBuildContrib.Utilities.csproj
+@@ -10,7 +10,6 @@
+     <AppDesignerFolder>Properties</AppDesignerFolder>
+     <RootNamespace>MSBuildContrib.Utilities</RootNamespace>
+     <AssemblyName>MSBuildContrib.Utilities</AssemblyName>
+-    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+     <FileAlignment>512</FileAlignment>
+     <SccProjectName>
+     </SccProjectName>
+@@ -47,21 +46,16 @@
+   </PropertyGroup>
+   <ItemGroup>
+     <Reference Include="Microsoft.Build.Framework" />
+-    <Reference Include="Microsoft.Build.Utilities.v3.5">
+-      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+-    </Reference>
+     <Reference Include="System" />
+     <Reference Include="System.Core">
+-      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+     </Reference>
+     <Reference Include="System.Xml.Linq">
+-      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+     </Reference>
+     <Reference Include="System.Data.DataSetExtensions">
+-      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+     </Reference>
+     <Reference Include="System.Data" />
+     <Reference Include="System.Xml" />
++    <Reference Include="Microsoft.Build.Utilities.v4.0" />
+   </ItemGroup>
+   <ItemGroup>
+     <Compile Include="..\SolutionInfo.cs">

diff --git a/dev-dotnet/msbuildcontrib/files/location.patch 
b/dev-dotnet/msbuildcontrib/files/location.patch
new file mode 100644
index 0000000..eefec90
--- /dev/null
+++ b/dev-dotnet/msbuildcontrib/files/location.patch
@@ -0,0 +1,11 @@
+--- a/Source/MSBuildContrib.Tasks/MSBuildContrib.Tasks
++++ b/Source/MSBuildContrib.Tasks/MSBuildContrib.Tasks
+@@ -4,7 +4,7 @@
+               is encountered, it will cause the task to be rediscovered next 
time the task is used. -->
+    <!-- NOTE: Using the fully qualified class name in a <UsingTask> tag is 
faster than using a partially qualified name. -->
+    <PropertyGroup>
+-      
<MSBuildContribCommonTasksAssembly>$(MSBuildExtensionsPath)\MSBuildContrib\MSBuildContrib.Tasks.dll</MSBuildContribCommonTasksAssembly>
++      
<MSBuildContribCommonTasksAssembly>/usr/lib/mono/4.5/MSBuildContrib.Tasks.dll</MSBuildContribCommonTasksAssembly>
+    </PropertyGroup>
+ 
+    <UsingTask TaskName="MSBuildContrib.Tasks.Attrib" 
AssemblyFile="$(MSBuildContribCommonTasksAssembly)" 
Condition="Exists('$(MSBuildContribCommonTasksAssembly)')" />

diff --git a/dev-dotnet/msbuildcontrib/metadata.xml 
b/dev-dotnet/msbuildcontrib/metadata.xml
new file mode 100644
index 0000000..7310045
--- /dev/null
+++ b/dev-dotnet/msbuildcontrib/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>dot...@gentoo.org</email>
+               <description>Gentoo Dotnet Project</description>
+       </maintainer>
+       <use>
+       </use>
+</pkgmetadata>

diff --git a/dev-dotnet/msbuildcontrib/msbuildcontrib-2014.06.05.01.ebuild 
b/dev-dotnet/msbuildcontrib/msbuildcontrib-2014.06.05.01.ebuild
new file mode 100644
index 0000000..2359709
--- /dev/null
+++ b/dev-dotnet/msbuildcontrib/msbuildcontrib-2014.06.05.01.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+SLOT="0"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+USE_DOTNET="net45"
+
+inherit gac dotnet
+
+HOMEPAGE="https://github.com/scottdorman/MSBuildContrib";
+EGIT_COMMIT="47806b8bd67bb481f63cecd1b7e7d681f8d05ef4"
+SRC_URI="${HOMEPAGE}/archive/${EGIT_COMMIT}.tar.gz -> ${PN}-${PV}.tar.gz"
+RESTRICT="mirror"
+NAME="MSBuildContrib"
+S="${WORKDIR}/${NAME}-${EGIT_COMMIT}"
+
+DESCRIPTION="A project for tasks and tools that aren't part of the main 
MSBuild release."
+LICENSE="GPL-3" # 
https://github.com/scottdorman/MSBuildContrib/blob/master/LICENSE
+
+IUSE="+${USE_DOTNET} +debug developer doc"
+
+COMMON_DEPEND=">=dev-lang/mono-4.0.2.5
+       =dev-dotnet/dotnetzip-semverd-1.9.3-r1
+"
+RDEPEND="${COMMON_DEPEND}
+"
+DEPEND="${COMMON_DEPEND}
+"
+
+src_prepare() {
+       eapply "${FILESDIR}/MSBuildContrib.Tasks.csproj.patch"
+       eapply "${FILESDIR}/MSBuildContrib.Utilities.csproj.patch"
+       eapply "${FILESDIR}/location.patch"
+       eapply_user
+}
+
+src_compile() {
+       exbuild "Source/MSBuildContrib.sln"
+}
+
+src_install() {
+       if use debug; then
+               DIR="Debug"
+       else
+               DIR="Release"
+       fi
+       insinto "/usr/lib/mono/${EBUILD_FRAMEWORK}"
+       doins "Source/MSBuildContrib.Tasks/bin/${DIR}/MSBuildContrib.Tasks.dll"
+#      einstall_pc_file "${PN}" "${PV}" "MSBuildContrib.Tasks"
+       insinto "/usr/lib/mono/xbuild"
+       doins "Source/MSBuildContrib.Tasks/bin/${DIR}/MSBuildContrib.Tasks"
+}
+
+#pkg_postinst()
+#{
+#      egacadd "usr/lib/mono/${EBUILD_FRAMEWORK}/MSBuildContrib.Tasks.dll"
+#}
+#
+#pkg_prerm()
+#{
+#      egacdel "MSBuildContrib.Tasks"
+#}

Reply via email to