commit:     7f4c93648c51df8e41fd052ee2b4356f855830c8
Author:     ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
AuthorDate: Mon Aug 24 18:39:05 2015 +0000
Commit:     Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Mon Aug 24 18:39:05 2015 +0000
URL:        https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=7f4c9364

header

 .../icsharpcodetexteditor/files/ICSharpCode.TextEditor.nuspec |  2 +-
 .../icsharpcodetexteditor-3.2.2-r20150630.ebuild              | 11 +++++++++--
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git 
a/dev-dotnet/icsharpcodetexteditor/files/ICSharpCode.TextEditor.nuspec 
b/dev-dotnet/icsharpcodetexteditor/files/ICSharpCode.TextEditor.nuspec
index 8761e2b..3636a8f 100644
--- a/dev-dotnet/icsharpcodetexteditor/files/ICSharpCode.TextEditor.nuspec
+++ b/dev-dotnet/icsharpcodetexteditor/files/ICSharpCode.TextEditor.nuspec
@@ -21,6 +21,6 @@
   </metadata>
   <files>
     <!-- * is for .dll and .mdb -->
-    <file src="Project/bin/Release/ICSharpCode.TextEditor.*" 
target="lib/net40/" />
+    <file src="Project/bin/$Configuration$/ICSharpCode.TextEditor.*" 
target="lib/net45/" />
   </files>
 </package>

diff --git 
a/dev-dotnet/icsharpcodetexteditor/icsharpcodetexteditor-3.2.2-r20150630.ebuild 
b/dev-dotnet/icsharpcodetexteditor/icsharpcodetexteditor-3.2.2-r20150630.ebuild
index cb88636..399b862 100644
--- 
a/dev-dotnet/icsharpcodetexteditor/icsharpcodetexteditor-3.2.2-r20150630.ebuild
+++ 
b/dev-dotnet/icsharpcodetexteditor/icsharpcodetexteditor-3.2.2-r20150630.ebuild
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: $
+# $Id$
 
 EAPI="5"
 
@@ -47,8 +47,15 @@ src_compile() {
 }
 
 src_install() {
+       DIR=""
+       if use debug; then
+               DIR="Debug"
+       else
+               DIR="Release"
+       fi
+
        if use gac; then
-               egacinstall Project/bin/Release/ICSharpCode.TextEditor.dll
+               egacinstall Project/bin/${DIR}/ICSharpCode.TextEditor.dll
        fi
 
        enupkg "${WORKDIR}/ICSharpCode.TextEditor.3.2.2.nupkg"

Reply via email to