From 87c7017ffc9b9f9292c3b1a880c77e31b3ce25ce Mon Sep 17 00:00:00 2001 From: Patrick Kursawe Date: Wed, 1 Oct 2003 08:18:14 +0000 Subject: added manpages --- dev-util/cdecl/Manifest | 4 ++-- dev-util/cdecl/cdecl-2.5-r1.ebuild | 40 ++++++++++++++++++++++++++++++++ dev-util/cdecl/files/digest-cdecl-2.5-r1 | 1 + 3 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 dev-util/cdecl/cdecl-2.5-r1.ebuild create mode 100644 dev-util/cdecl/files/digest-cdecl-2.5-r1 (limited to 'dev-util/cdecl') 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 -- cgit v1.2.3-65-gdbad