commit: c76f1509e079d9af41ef6bf6276302e560b7ccad
Author: ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
AuthorDate: Sat Oct 15 15:10:05 2016 +0000
Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
CommitDate: Sat Oct 15 15:10:05 2016 +0000
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=c76f1509
initial version
.../files/fix-error-in-member-variable-name.patch | 11 ++++++
dev-util/gplex-dbremner/files/output-path.patch | 19 ++++++++++
.../gplex-dbremner-1.2.2_p2015112101.ebuild | 43 ++++++++++++++++++++++
dev-util/gplex-dbremner/metadata.xml | 8 ++++
dev-util/gppg-dbremner/files/output-path.patch | 20 ++++++++++
.../gppg-dbremner-1.5.2_p2015112101.ebuild | 42 +++++++++++++++++++++
dev-util/gppg-dbremner/metadata.xml | 8 ++++
7 files changed, 151 insertions(+)
diff --git
a/dev-util/gplex-dbremner/files/fix-error-in-member-variable-name.patch
b/dev-util/gplex-dbremner/files/fix-error-in-member-variable-name.patch
new file mode 100644
index 0000000..541e08b
--- /dev/null
+++ b/dev-util/gplex-dbremner/files/fix-error-in-member-variable-name.patch
@@ -0,0 +1,11 @@
+--- a/GPLEX/AAST.cs
++++ b/GPLEX/AAST.cs
+@@ -1081,7 +1081,7 @@
+
+ internal string Name { get; }
+
+- internal string PredDummyName { get { return "PRED_" + name +
"_DUMMY"; } }
++ internal string PredDummyName { get { return "PRED_" + Name +
"_DUMMY"; } }
+
+ internal void ParseRE( AAST aast ) { regX = new AAST.ReParser( verb,
vrbSpan, aast ).Parse(); }
+ }
diff --git a/dev-util/gplex-dbremner/files/output-path.patch
b/dev-util/gplex-dbremner/files/output-path.patch
new file mode 100644
index 0000000..cbb746d
--- /dev/null
+++ b/dev-util/gplex-dbremner/files/output-path.patch
@@ -0,0 +1,19 @@
+--- a/GPLEXv1.csproj
++++ b/GPLEXv1.csproj
+@@ -20,14 +20,14 @@
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+- <OutputPath>.\bin\Debug\</OutputPath>
++ <OutputPath>bin/Debug</OutputPath>
+ <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS
RANGELIST_DIAGNOSTICS</DefineConstants>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' ==
'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+- <OutputPath>bin\debug\</OutputPath>
++ <OutputPath>bin/Release</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
+ </PropertyGroup>
diff --git a/dev-util/gplex-dbremner/gplex-dbremner-1.2.2_p2015112101.ebuild
b/dev-util/gplex-dbremner/gplex-dbremner-1.2.2_p2015112101.ebuild
new file mode 100644
index 0000000..d117082
--- /dev/null
+++ b/dev-util/gplex-dbremner/gplex-dbremner-1.2.2_p2015112101.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2016 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 dotnet
+
+IUSE="+${USE_DOTNET} debug"
+
+NAME="gplex"
+HOMEPAGE="https://github.com/dbremner/${NAME}"
+DESCRIPTION="C# version of lex (Garden Point Lex)"
+LICENSE="BSD" # https://gplex.codeplex.com/license
+
+SRC_URI="https://github.com/ArsenShnurkov/shnurise-tarballs/archive/${CATEGORY}/${PN}/${PN}-${PV}.tar.gz"
+RESTRICT="mirror"
+S="${WORKDIR}/shnurise-tarballs-${CATEGORY}-${PN}-${PN}-${PV}"
+
+src_prepare() {
+ eapply "${FILESDIR}/fix-error-in-member-variable-name.patch"
+ eapply "${FILESDIR}/output-path.patch"
+ eapply_user
+}
+
+src_compile() {
+ exbuild "GPLEXv1.sln"
+}
+
+src_install() {
+ insinto "/usr/share/${PN}"
+ if use debug; then
+ newins bin/Debug/Gplex.exe gplex.exe
+ make_wrapper gplex "/usr/bin/mono --debug
/usr/share/${PN}/gplex.exe"
+ else
+ newins bin/Release/Gplex.exe gplex.exe
+ make_wrapper gplex "/usr/bin/mono /usr/share/${PN}/gplex.exe"
+ fi
+}
diff --git a/dev-util/gplex-dbremner/metadata.xml
b/dev-util/gplex-dbremner/metadata.xml
new file mode 100644
index 0000000..b1262f1
--- /dev/null
+++ b/dev-util/gplex-dbremner/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>[email protected]</email>
+ <description>Gentoo Dotnet Project</description>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-util/gppg-dbremner/files/output-path.patch
b/dev-util/gppg-dbremner/files/output-path.patch
new file mode 100644
index 0000000..a61c69b
--- /dev/null
+++ b/dev-util/gppg-dbremner/files/output-path.patch
@@ -0,0 +1,20 @@
+--- a/GPPG.csproj
++++ b/GPPG.csproj
+@@ -20,7 +20,7 @@
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+- <OutputPath>.\bin\Debug\</OutputPath>
++ <OutputPath>bin/Debug</OutputPath>
+ <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS</DefineConstants>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
+ <UseVSHostingProcess>false</UseVSHostingProcess>
+@@ -28,7 +28,7 @@
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' ==
'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+- <OutputPath>bin\Debug\</OutputPath>
++ <OutputPath>bin/Release</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
+ </PropertyGroup>
diff --git a/dev-util/gppg-dbremner/gppg-dbremner-1.5.2_p2015112101.ebuild
b/dev-util/gppg-dbremner/gppg-dbremner-1.5.2_p2015112101.ebuild
new file mode 100644
index 0000000..84bb143
--- /dev/null
+++ b/dev-util/gppg-dbremner/gppg-dbremner-1.5.2_p2015112101.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 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 dotnet
+
+IUSE="+${USE_DOTNET} debug"
+
+NAME="gppg"
+HOMEPAGE="https://github.com/dbremner/${NAME}"
+DESCRIPTION="C# version of lex (Garden Point Lex)"
+LICENSE="BSD" # https://gppg.codeplex.com/license
+
+SRC_URI="https://github.com/ArsenShnurkov/shnurise-tarballs/archive/${CATEGORY}/${PN}/${PN}-${PV}.tar.gz"
+RESTRICT="mirror"
+S="${WORKDIR}/shnurise-tarballs-${CATEGORY}-${PN}-${PN}-${PV}"
+
+src_prepare() {
+ eapply "${FILESDIR}/output-path.patch"
+ eapply_user
+}
+
+src_compile() {
+ exbuild "GPPG.sln"
+}
+
+src_install() {
+ insinto "/usr/share/${PN}"
+ if use debug; then
+ newins bin/Debug/Gppg.exe Gppg.exe
+ make_wrapper gppg "/usr/bin/mono --debug
/usr/share/${PN}/gppg.exe"
+ else
+ newins bin/Release/Gppg.exe gppg.exe
+ make_wrapper gppg "/usr/bin/mono /usr/share/${PN}/gppg.exe"
+ fi
+}
diff --git a/dev-util/gppg-dbremner/metadata.xml
b/dev-util/gppg-dbremner/metadata.xml
new file mode 100644
index 0000000..b1262f1
--- /dev/null
+++ b/dev-util/gppg-dbremner/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>[email protected]</email>
+ <description>Gentoo Dotnet Project</description>
+ </maintainer>
+</pkgmetadata>