diff options
author | Michael Sterrett <msterret@gentoo.org> | 2003-06-27 07:18:49 +0000 |
---|---|---|
committer | Michael Sterrett <msterret@gentoo.org> | 2003-06-27 07:18:49 +0000 |
commit | f2d88da06aaf61d17798d1923d61f21e5f74429d (patch) | |
tree | c68322c3439a4962878324cf144854d31e503e79 /app-text/sloccount | |
parent | New ebuild for Leafnode version 2 (diff) | |
download | gentoo-2-f2d88da06aaf61d17798d1923d61f21e5f74429d.tar.gz gentoo-2-f2d88da06aaf61d17798d1923d61f21e5f74429d.tar.bz2 gentoo-2-f2d88da06aaf61d17798d1923d61f21e5f74429d.zip |
tidy ebuild
Diffstat (limited to 'app-text/sloccount')
-rw-r--r-- | app-text/sloccount/ChangeLog (renamed from app-text/sloccount/Changelog) | 5 | ||||
-rw-r--r-- | app-text/sloccount/Manifest | 6 | ||||
-rw-r--r-- | app-text/sloccount/sloccount-2.22.ebuild | 24 |
3 files changed, 20 insertions, 15 deletions
diff --git a/app-text/sloccount/Changelog b/app-text/sloccount/ChangeLog index c52da590e0d8..bd19a7f5ba33 100644 --- a/app-text/sloccount/Changelog +++ b/app-text/sloccount/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-text/sloccount # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/sloccount/Changelog,v 1.1 2003/06/04 13:59:17 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/sloccount/ChangeLog,v 1.1 2003/06/27 07:18:45 msterret Exp $ + + 27 Jun 2003; <msterret@gentoo.org> sloccount-2.22.ebuild: + tidy ebuild; use sed -i; use dohtml for html files *sloccount-2.22 (04 Jun 2003) diff --git a/app-text/sloccount/Manifest b/app-text/sloccount/Manifest index 7632f0d4c083..f639e94b1b19 100644 --- a/app-text/sloccount/Manifest +++ b/app-text/sloccount/Manifest @@ -1,4 +1,4 @@ -MD5 d62b109c32a0e87be78584aab9d3124c sloccount-2.22.ebuild 910 -MD5 03adddeb4bb98afcbcfddfce60ee14f2 Changelog 367 -MD5 2662f30ed5969d9f7cedd6b0addf196b files/sloccount-2.22-libexec.patch 2324 +MD5 43a6cb92adc0a7e5f59b862dafabeeb6 sloccount-2.22.ebuild 1097 +MD5 6252a8cdd140057484cb51355034fca2 ChangeLog 482 MD5 f0620a7ad11d6c60a8098c7d253c434f files/digest-sloccount-2.22 66 +MD5 2662f30ed5969d9f7cedd6b0addf196b files/sloccount-2.22-libexec.patch 2324 diff --git a/app-text/sloccount/sloccount-2.22.ebuild b/app-text/sloccount/sloccount-2.22.ebuild index 8cfb27d75466..8c699ea50f4f 100644 --- a/app-text/sloccount/sloccount-2.22.ebuild +++ b/app-text/sloccount/sloccount-2.22.ebuild @@ -1,39 +1,41 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/sloccount/sloccount-2.22.ebuild,v 1.1 2003/06/04 13:59:17 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/sloccount/sloccount-2.22.ebuild,v 1.2 2003/06/27 07:18:45 msterret Exp $ DESCRIPTION="A set of tools for counting physical Source Lines of Code (SLOC) in a large number of languages of a potentially large set of programs." HOMEPAGE="http://www.dwheeler.com/sloccount/" - SRC_URI="http://www.dwheeler.com/sloccount/${P}.tar.gz" - LICENSE="GPL-1" - SLOT="0" - KEYWORDS="~x86" - IUSE="" DEPEND="dev-lang/perl + >=sys-apps/sed-4 app-shells/bash" -S=${WORKDIR}/${P} - src_unpack() { unpack ${A} - cd ${S}; + cd ${S} # Patch to move most of the executables out of /usr/bin # and into /usr/libexec/sloccount to avoid conflicts. epatch ${FILESDIR}/${P}-libexec.patch + + sed -i \ + -e "/^CC/ { s/$/ ${CFLAGS}/g }" \ + -e "/^DOC_DIR/ { s/-\$(RPM_VERSION)//g }" \ + -e "/^MYDOCS/ { s/[^ =]\+\.html//g }" makefile || + die "sed makefile failed" } src_compile() { - make -f makefile PREFIX=/usr + emake || die "make failed" } src_install() { - make -f makefile install PREFIX=${D}/usr + einstall PREFIX=${D}/usr || die + prepalldocs + dohtml *html } |