summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-08-21 04:52:44 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-08-21 04:52:44 +0000
commit5ed150116ca001919e67b0c21448d4b661e248dc (patch)
treeacdfff491bada38301ef2c6fe3cadee5788a1a61 /dev-util/rhide
parentsome minor ebuild fixes (diff)
downloadhistorical-5ed150116ca001919e67b0c21448d4b661e248dc.tar.gz
historical-5ed150116ca001919e67b0c21448d4b661e248dc.tar.bz2
historical-5ed150116ca001919e67b0c21448d4b661e248dc.zip
new version
Diffstat (limited to 'dev-util/rhide')
-rw-r--r--dev-util/rhide/ChangeLog9
-rw-r--r--dev-util/rhide/files/digest-rhide-1.5_pre4
-rw-r--r--dev-util/rhide/rhide-1.5_pre.ebuild149
3 files changed, 161 insertions, 1 deletions
diff --git a/dev-util/rhide/ChangeLog b/dev-util/rhide/ChangeLog
index fd48f1c7ab73..addcfdba8f2b 100644
--- a/dev-util/rhide/ChangeLog
+++ b/dev-util/rhide/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-util/rhide
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-util/rhide/ChangeLog,v 1.1 2002/02/01 21:53:29 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/rhide/ChangeLog,v 1.2 2002/08/21 04:52:44 azarah Exp $
+
+*rhide-1.5_pre (21 Aug 2002)
+
+ 20 Aug 2002; Martin Schlemmer <azarah@gentoo.org> :
+
+ New version of rhide!! This one should actually merge again :P Lots
+ of cleanups to my original ebuild.
*rhide-1.4.9-r1 (1 Feb 2002)
diff --git a/dev-util/rhide/files/digest-rhide-1.5_pre b/dev-util/rhide/files/digest-rhide-1.5_pre
new file mode 100644
index 000000000000..3a3ee014f090
--- /dev/null
+++ b/dev-util/rhide/files/digest-rhide-1.5_pre
@@ -0,0 +1,4 @@
+MD5 3cb1bae57fbcf698c77ba1397c8a4928 rhide-1.5pre-20020726.tar.gz 968298
+MD5 26a3040fc6adf966718bbef0be593f56 rhtvision-1.1.4.src.tar.gz 777576
+MD5 649cce68ea455ae4555a99a688864d36 setedit-0.4.57.tar.gz 1629956
+MD5 afb7d18f72be812ef405f6b271a36e03 gdb-5.2.tar.gz 14695979
diff --git a/dev-util/rhide/rhide-1.5_pre.ebuild b/dev-util/rhide/rhide-1.5_pre.ebuild
new file mode 100644
index 000000000000..2c852111a250
--- /dev/null
+++ b/dev-util/rhide/rhide-1.5_pre.ebuild
@@ -0,0 +1,149 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/dev-util/rhide/rhide-1.5_pre.ebuild,v 1.1 2002/08/21 04:52:44 azarah Exp $
+
+SNAPSHOT="20020726"
+TVISIONVER="1.1.4"
+SETEDITVER="0.4.57"
+# RHIDE is _very_ picky about the GDB used, so dont put GDB in DEPEND
+GDBVER="5.2"
+
+DESCRIPTION="RHIDE is a console IDE for various languages."
+if [ -z "${SNAPSHOT}" ] ; then
+ S="${WORKDIR}/${P}"
+ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+else
+ S="${WORKDIR}/${P/_}-${SNAPSHOT}"
+ SRC_URI="http://rhide.sourceforge.net/snapshots/${P/_}-${SNAPSHOT}.tar.gz"
+fi
+SRC_URI="${SRC_URI}
+ mirror://sourceforge/setedit/rhtvision-${TVISIONVER}.src.tar.gz
+ mirror://sourceforge/setedit/setedit-${SETEDITVER}.tar.gz
+ ftp://sourceware.cygnus.com/pub/gdb/releases/gdb-${GDBVER}.tar.gz"
+HOMEPAGE="http://www.rhide.com/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+
+DEPEND="virtual/glibc
+ app-text/recode
+ dev-libs/libpcre
+ sys-apps/bzip2
+ sys-apps/texinfo
+ sys-devel/gettext
+ sys-libs/gpm
+ sys-libs/zlib"
+# app-text/tetex"
+
+
+src_compile() {
+
+ # Most of these use a _very_ weird build systems,
+ # so please no comments ;/
+
+# ************* TVision *************
+
+ cd ${WORKDIR}/tvision/
+
+ DUMMYFLAGS=""
+
+ ./configure --prefix=/usr \
+ --fhs \
+ --cflags='${DUMMYFLAGS}' \
+ --cxxflags='${DUMMYFLAGS}' || die
+
+ # Only build the static libs
+ cp Makefile Makefile.orig
+ sed -e 's/all: static-lib dynamic-lib/all: static-lib/' \
+ Makefile.orig >Makefile
+
+ # -j breaks build
+ make || die
+
+
+# ************* SetEdit *************
+
+ cd ${WORKDIR}/setedit/
+
+ ./configure --prefix=/usr \
+ --fhs \
+ --libset || die
+
+ # -j breaks build
+ make || die
+
+ # Make the docs
+ cd ${WORKDIR}/setedit/doc
+ make || die
+
+
+# ************* RHIDE ***************
+
+ cd ${S}
+
+ # Fix invalid "-O2" in CFLAGS and CXXFLAGS
+ cp configure configure.orig
+ sed -e 's:CFLAGS="-g -O2":CFLAGS="-g":' \
+ -e 's:CFLAGS="-O2":CFLAGS="":' \
+ configure.orig > configure
+
+ # Fix a dependency due to a broken .mak file
+ cp rh_comm.mak rh_comm.mak.orig
+ sed -e 's:../../../../::g' rh_comm.mak.orig > rh_comm.mak
+
+ export RHIDESRC="${S}"
+ export SETSRC="${WORKDIR}/setedit"
+ export SETOBJ="${WORKDIR}/setedit/makes"
+ export TVSRC="${WORKDIR}/tvision"
+ export TVOBJ="${WORKDIR}/tvision/linux"
+ export GDB_SRC="${WORKDIR}/gdb-${GDBVER}"
+
+ econf || die
+
+ make prefix=/usr \
+ install_docdir=share/doc/${PF} \
+ install_infodir=share/info \
+ || die
+
+ # -j breaks build
+ make || die
+
+ # Update and Fix DIR entry in .info files
+ cd ${S}/share/setedit/
+ sed -e 's:editor.inf:setedit.info:g' \
+ ${WORKDIR}/setedit/doc/editor.inf > setedit.inf
+ sed -e 's:infeng.inf:infview.info:g' \
+ ${WORKDIR}/setedit/doc/infeng.inf > infview.inf
+ cd ${S}
+
+ # Update setedit macro's
+ cp -f ${WORKDIR}/setedit/cfgfiles/*.pmc ${S}/share/setedit
+}
+
+src_install() {
+
+ make prefix=${D}/usr \
+ install_docdir=share/doc/${PF} \
+ install_infodir=share/info \
+ install || die
+
+ # Fix .info files
+ for file in ${D}/usr/share/info/*.inf
+ do
+ mv ${file} ${file}o
+ done
+
+ doman ${WORKDIR}/setedit/doc/{infview.1,setedit.1}
+
+ # Install default CFG file and fix the paths
+ cd ${D}/usr/share/rhide
+ sed -e 's:/usr/local/share:/usr/share:g' \
+ rhide_.env >rhide.env
+ echo 'INFOPATH=/usr/share/info' >> rhide.env
+
+ # Install env file
+ insinto /etc/env.d
+ doins ${FILESDIR}/80rhide
+}
+