summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2003-10-01 08:18:14 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2003-10-01 08:18:14 +0000
commit87c7017ffc9b9f9292c3b1a880c77e31b3ce25ce (patch)
treeed62b1be98cf692fbf22bd0ecb188da18114d1de /dev-util/cdecl
parentadded manpages (diff)
downloadhistorical-87c7017ffc9b9f9292c3b1a880c77e31b3ce25ce.tar.gz
historical-87c7017ffc9b9f9292c3b1a880c77e31b3ce25ce.tar.bz2
historical-87c7017ffc9b9f9292c3b1a880c77e31b3ce25ce.zip
added manpages
Diffstat (limited to 'dev-util/cdecl')
-rw-r--r--dev-util/cdecl/Manifest4
-rw-r--r--dev-util/cdecl/cdecl-2.5-r1.ebuild40
-rw-r--r--dev-util/cdecl/files/digest-cdecl-2.5-r11
3 files changed, 43 insertions, 2 deletions
diff --git a/dev-util/cdecl/Manifest b/dev-util/cdecl/Manifest
index cbd30c814aff..f9ee63d926c9 100644
--- a/dev-util/cdecl/Manifest
+++ b/dev-util/cdecl/Manifest
@@ -1,6 +1,6 @@
MD5 2a8997a540fca96fe732c1566885783b cdecl-2.5.ebuild 843
-MD5 8d83061212156a83ec405562b8adfdbb cdecl-2.5-r1.ebuild 854
-MD5 2a0a357b0d2263d2eb9337ca396e5ae7 ChangeLog 390
+MD5 47149db5869ad68fd25f2783327a10ee cdecl-2.5-r1.ebuild 857
+MD5 e211c7a8b7eb5b59e96f1e6dd23d03d8 ChangeLog 533
MD5 b742040acaeddc3798a21739bd59e8aa metadata.xml 224
MD5 78064d7ba6746c4ca40c6078594dd9fb files/digest-cdecl-2.5 60
MD5 78064d7ba6746c4ca40c6078594dd9fb files/digest-cdecl-2.5-r1 60
diff --git a/dev-util/cdecl/cdecl-2.5-r1.ebuild b/dev-util/cdecl/cdecl-2.5-r1.ebuild
new file mode 100644
index 000000000000..1814cf9df72d
--- /dev/null
+++ b/dev-util/cdecl/cdecl-2.5-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cdecl/cdecl-2.5-r1.ebuild,v 1.1 2003/10/01 08:18:09 phosphan Exp $
+
+inherit eutils
+
+DESCRIPTION="Turn English phrases to C or C++ declarations"
+SRC_URI="ftp://ftp.netsw.org/softeng/lang/c/tools/cdecl/${P}.tar.gz"
+
+KEYWORDS="~x86"
+LICENSE="public-domain"
+SLOT="0"
+
+DEPEND=">=sys-apps/sed-4
+ readline? ( sys-libs/ncurses
+ sys-libs/readline )"
+
+IUSE="readline"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}.patch
+}
+
+
+src_compile() {
+ if use readline; then
+ CFLAGS="${CFLAGS} -DUSE_READLINE"
+ LIBS="${LIBS} -lreadline -lncurses"
+ fi
+ emake CFLAGS="${CFLAGS}" LIBS="${LIBS}" || die
+}
+
+src_install() {
+ dobin cdecl
+ dohard /usr/bin/cdecl /usr/bin/c++decl
+ dodoc README
+ doman *.1
+}
diff --git a/dev-util/cdecl/files/digest-cdecl-2.5-r1 b/dev-util/cdecl/files/digest-cdecl-2.5-r1
new file mode 100644
index 000000000000..ed1873546ded
--- /dev/null
+++ b/dev-util/cdecl/files/digest-cdecl-2.5-r1
@@ -0,0 +1 @@
+MD5 29895dab52e85b2474a59449e07b7996 cdecl-2.5.tar.gz 21435