summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-10-14 07:10:25 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-10-14 07:10:25 +0000
commite94654fa28e55458357d0c64f7d874755110e2eb (patch)
tree1244e2b98cb875df09ed7dfbd7aec056d7140907 /app-text/sloccount
parentCleanup. (diff)
downloadgentoo-2-e94654fa28e55458357d0c64f7d874755110e2eb.tar.gz
gentoo-2-e94654fa28e55458357d0c64f7d874755110e2eb.tar.bz2
gentoo-2-e94654fa28e55458357d0c64f7d874755110e2eb.zip
Cleanup old ebuilds.
(Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc1-10246-gca5de40 x86_64)
Diffstat (limited to 'app-text/sloccount')
-rw-r--r--app-text/sloccount/ChangeLog7
-rw-r--r--app-text/sloccount/files/sloccount-2.22-libexec.patch83
-rw-r--r--app-text/sloccount/sloccount-2.22.ebuild43
-rw-r--r--app-text/sloccount/sloccount-2.26.ebuild45
4 files changed, 6 insertions, 172 deletions
diff --git a/app-text/sloccount/ChangeLog b/app-text/sloccount/ChangeLog
index 421ee022f9b3..db85682171f4 100644
--- a/app-text/sloccount/ChangeLog
+++ b/app-text/sloccount/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/sloccount
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/sloccount/ChangeLog,v 1.20 2008/10/14 07:09:18 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/sloccount/ChangeLog,v 1.21 2008/10/14 07:10:24 robbat2 Exp $
+
+ 14 Oct 2008; Robin H. Johnson <robbat2@gentoo.org>
+ -files/sloccount-2.22-libexec.patch, -sloccount-2.22.ebuild,
+ -sloccount-2.26.ebuild:
+ Cleanup old ebuilds.
14 Oct 2008; Robin H. Johnson <robbat2@gentoo.org>
sloccount-2.26-r1.ebuild:
diff --git a/app-text/sloccount/files/sloccount-2.22-libexec.patch b/app-text/sloccount/files/sloccount-2.22-libexec.patch
deleted file mode 100644
index 96e79f7a1c8f..000000000000
--- a/app-text/sloccount/files/sloccount-2.22-libexec.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-Common subdirectories: sloccount-2.22/debian and sloccount-2.22-gentoo/debian
-diff -u sloccount-2.22/makefile sloccount-2.22-gentoo/makefile
---- sloccount-2.22/makefile 2003-03-09 04:27:50.000000000 +1300
-+++ sloccount-2.22-gentoo/makefile 2003-03-27 21:20:37.000000000 +1200
-@@ -52,6 +52,7 @@
- ARCH=i386
- VERSIONEDNAME=$(NAME)-$(VERSION)
- INSTALL_DIR=$(PREFIX)/bin
-+LIBEXEC_DIR=$(PREFIX)/libexec/$(NAME)
- MAN_DIR=$(PREFIX)/share/man
- MAN_DIR_MAN1=$(MAN_DIR)/man1
- DOC_DIR=$(PREFIX)/share/doc/$(VERSIONEDNAME)-$(RPM_VERSION)
-@@ -97,11 +98,12 @@
- sed_count \
- sh_count \
- show_filecount \
-- sloccount \
- sql_count \
- tcl_count \
- $(COMPILED_EXECUTABLES)
-
-+MAIN_EXECUTABLE=sloccount
-+
- MANPAGES=sloccount.1.gz
-
- MYDOCS=sloccount.html README TODO ChangeLog
-@@ -144,14 +146,26 @@
- c_lines: C_LINES.C
- $(CC) C_LINES.C -o c_lines$(EXE_SUFFIX)
-
-+install_prefix:
-+ mkdir -p $(PREFIX)
-
--install_programs: all
-- $(INSTALL) $(EXECUTABLES) $(INSTALL_DIR)
--
--uninstall_programs:
-- cd $(INSTALL_DIR) && rm -f $(EXECUTABLES)
-+install_program:
-+ mkdir -p $(INSTALL_DIR)
-+ $(INSTALL) $(MAIN_EXECUTABLE) $(INSTALL_DIR)
-+
-+uninstall_program:
-+ cd $(INSTALL_DIR) && rm -f $(MAIN_EXECUTABLE)
-+
-+install_libexec: all
-+ mkdir -p $(LIBEXEC_DIR)
-+ $(INSTALL) $(EXECUTABLES) $(LIBEXEC_DIR)
-+
-+uninstall_libexec:
-+ cd $(LIBEXEC_DIR) && rm -f $(EXECUTABLES)
-+ rmdir $(LIBEXEC_DIR)
-
- install_man:
-+ mkdir -p $(LIBEXEC_DIR)
- $(INSTALL_A_DIR) $(MAN_DIR_MAN1)
- $(INSTALL) $(MANPAGES) $(MAN_DIR_MAN1)
-
-@@ -166,9 +180,9 @@
- rm -fr $(DOC_DIR)
-
-
--install: install_programs install_man install_docs
-+install: install_prefix install_program install_libexec install_man install_docs
-
--uninstall: uninstall_programs uninstall_docs uninstall_man
-+uninstall: uninstall_program uninstall_libexec uninstall_docs uninstall_man
-
-
- clean:
-diff -u sloccount-2.22/sloccount sloccount-2.22-gentoo/sloccount
---- sloccount-2.22/sloccount 2002-12-05 02:57:46.000000000 +1300
-+++ sloccount-2.22-gentoo/sloccount 2003-03-27 21:20:34.000000000 +1200
-@@ -18,6 +18,8 @@
-
- startingdir=`pwd`
-
-+libexec_dir=/usr/libexec/sloccount
-+export PATH=$PATH:$libexec_dir
-
- # "datadir" is some suitable safe place for the data; here's the default:
- datadir=${HOME}/.slocdata
-Common subdirectories: sloccount-2.22/testcode and sloccount-2.22-gentoo/testcode
diff --git a/app-text/sloccount/sloccount-2.22.ebuild b/app-text/sloccount/sloccount-2.22.ebuild
deleted file mode 100644
index 21e61b662e78..000000000000
--- a/app-text/sloccount/sloccount-2.22.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# 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.14 2008/10/14 07:08:21 robbat2 Exp $
-
-inherit eutils
-
-DESCRIPTION="tools for counting Source Lines of Code (SLOC) for a large number of languages"
-HOMEPAGE="http://www.dwheeler.com/sloccount/"
-SRC_URI="http://www.dwheeler.com/sloccount/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ~ppc ~amd64 ~sparc"
-IUSE=""
-
-DEPEND="dev-lang/perl
- >=sys-apps/sed-4
- app-shells/bash"
-
-src_unpack() {
- unpack ${A}
- 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() {
- emake || die "make failed"
-}
-
-src_install() {
- einstall PREFIX="${D}/usr" DOC_DIR="${D}/usr/share/doc/${PF}/" || die
- prepalldocs
- dohtml *html
-}
diff --git a/app-text/sloccount/sloccount-2.26.ebuild b/app-text/sloccount/sloccount-2.26.ebuild
deleted file mode 100644
index eecce903545b..000000000000
--- a/app-text/sloccount/sloccount-2.26.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/sloccount/sloccount-2.26.ebuild,v 1.6 2008/10/14 07:08:21 robbat2 Exp $
-
-inherit eutils
-
-DESCRIPTION="tools for counting Source Lines of Code (SLOC) for a large number of languages"
-HOMEPAGE="http://www.dwheeler.com/sloccount/"
-SRC_URI="http://www.dwheeler.com/sloccount/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc amd64 ~sparc"
-IUSE=""
-
-DEPEND="sys-devel/gcc
- dev-lang/perl
- >=sys-apps/sed-4
- app-shells/bash"
-
-RDEPEND="dev-lang/perl
- >=sys-apps/sed-4
- app-shells/bash"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- 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() {
- emake || die "make failed"
-}
-
-src_install() {
- einstall PREFIX="${D}/usr" DOC_DIR="${D}/usr/share/doc/${PF}/" || die
- prepalldocs
- dohtml *html
-}