summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--6Jun081
-rw-r--r--dev-lang/clips/Manifest4
-rw-r--r--dev-lang/clips/clips-6.24.ebuild63
-rw-r--r--test_directory1/11
-rw-r--r--test_directory1/21
-rw-r--r--test_directory1/31
-rw-r--r--test_directory2/11
-rw-r--r--test_directory2/21
-rw-r--r--test_directory2/31
9 files changed, 67 insertions, 7 deletions
diff --git a/6Jun08 b/6Jun08
deleted file mode 100644
index a27bfb8..0000000
--- a/6Jun08
+++ /dev/null
@@ -1 +0,0 @@
-6Jun08
diff --git a/dev-lang/clips/Manifest b/dev-lang/clips/Manifest
new file mode 100644
index 0000000..2e49e44
--- /dev/null
+++ b/dev-lang/clips/Manifest
@@ -0,0 +1,4 @@
+DIST clips_core_source_624.tar.Z 1524143 RMD160 00792d34cd2597eb6d52ce55dad769fca5d8221f SHA1 ce46675271ea90eb06993710a41c708dd0f73c02 SHA256 80852a0df97597f710e90ca8bf5ecdc250c2034bf9dd3044bbedee111ad2e4ab
+DIST make_and_help_files_624.zip 52787 RMD160 1288a53bffadde496acefd2c4b8e97a62a66ae07 SHA1 47024613a74d140e8c70859b7e5010ca7ed5d3e2 SHA256 302712bbc2634cc437e6a7617d41ba54933ad6ffe5e01f0f869e9d7bc2cae9b8
+DIST x_windows_ide_source_624.tar.Z 145726 RMD160 53ee000fd6b8cf8b7c18fd999601cc7cd6262379 SHA1 1916054574b8ebc1424bc5f075a66a8efee11b0f SHA256 66429eb818559323f5e90bd7b3c1e4f88af409a30a3433111a1d85bc7c789d09
+EBUILD clips-6.24.ebuild 1387 RMD160 7141de9ace72cf1a0cb6937d52dde89cc2a862c5 SHA1 f8389870b6c7baba8ae703f7bd925456b632f591 SHA256 7c08eaa55b3ea9814bee09e109da5e00da6efd820bbc14ce0ab9059c4915a4f6
diff --git a/dev-lang/clips/clips-6.24.ebuild b/dev-lang/clips/clips-6.24.ebuild
new file mode 100644
index 0000000..29a2def
--- /dev/null
+++ b/dev-lang/clips/clips-6.24.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+#inherit eutils flag-o-matic autotools
+
+DESCRIPTION="A Tool for Building Expert Systems"
+HOMEPAGE="http://clipsrules.sourceforge.net/"
+
+MY_PV="${PV/./}"
+MY_PN="${PN}rules"
+MY_PN2="${PN}_core_source"
+
+SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN2}_${MY_PV}.tar.Z
+ mirror://sourceforge/${MY_PN}/make_and_help_files_${MY_PV}.zip
+ X? ( mirror://sourceforge/${MY_PN}/x_windows_ide_source_${MY_PV}.tar.Z )"
+
+LICENSE="as-is"
+SLOT="0"
+
+KEYWORDS="~x86"
+IUSE="X"
+
+DEPEND="app-arch/unzip
+ sys-libs/ncurses
+ X? ( x11-base/xorg-server )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}src/${PN}src"
+
+src_unpack() {
+ pwd
+ unpack ${A}
+ cd "${S}"
+ cp -v ../../makefile.gcc Makefile
+ sed -i -e 's/-ltermcap/-lncurses $(CFLAGS) /' Makefile
+ sed -i -e 's/-Wno-implicit/-Wno-implicit $(CFLAGS) /' Makefile
+ if use X; then
+ pushd ../../x-prjct/makefile
+ sed -i -e 's/$(INCLUDES)/$(CFLAGS)/' makefile.x
+ sed -i -e 's/$(LDFLAGS)/$(CFLAGS)/' makefile.x
+ popd
+ mkdir -v xclips
+ cp -v * xclips
+ cp -v ../../x-prjct/makefile/makefile.x xclips/Makefile
+ cp -v ../../x-prjct/color/* xclips
+ cp -v ../../x-prjct/xinterface/* xclips
+ fi
+}
+
+src_compile() {
+ make clips
+ if use X; then
+ cd xclips
+ make xclips
+ fi
+}
+
+src_install() {
+ exeinto /usr/bin
+ doexe clips
+ doexe xclips/xclips
+}
diff --git a/test_directory1/1 b/test_directory1/1
deleted file mode 100644
index d00491f..0000000
--- a/test_directory1/1
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/test_directory1/2 b/test_directory1/2
deleted file mode 100644
index 0cfbf08..0000000
--- a/test_directory1/2
+++ /dev/null
@@ -1 +0,0 @@
-2
diff --git a/test_directory1/3 b/test_directory1/3
deleted file mode 100644
index 00750ed..0000000
--- a/test_directory1/3
+++ /dev/null
@@ -1 +0,0 @@
-3
diff --git a/test_directory2/1 b/test_directory2/1
deleted file mode 100644
index d00491f..0000000
--- a/test_directory2/1
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/test_directory2/2 b/test_directory2/2
deleted file mode 100644
index 0cfbf08..0000000
--- a/test_directory2/2
+++ /dev/null
@@ -1 +0,0 @@
-2
diff --git a/test_directory2/3 b/test_directory2/3
deleted file mode 100644
index 00750ed..0000000
--- a/test_directory2/3
+++ /dev/null
@@ -1 +0,0 @@
-3