summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2012-10-16 14:56:36 +0000
committerChristoph Junghans <ottxor@gentoo.org>2012-10-16 14:56:36 +0000
commitec2728b5f1683b463866e54c1e5d6e044e04a301 (patch)
treee88392bb356f1a700e6e5e6b61c28fb851fd467d /app-text/sloccount
parentstable ppc pcc64, bug #438562 (diff)
downloadhistorical-ec2728b5f1683b463866e54c1e5d6e044e04a301.tar.gz
historical-ec2728b5f1683b463866e54c1e5d6e044e04a301.tar.bz2
historical-ec2728b5f1683b463866e54c1e5d6e044e04a301.zip
added prefix support (bug #435258)
Package-Manager: portage-2.2.0_alpha138/cvs/Linux i686 Manifest-Sign-Key: 0xC2000586
Diffstat (limited to 'app-text/sloccount')
-rw-r--r--app-text/sloccount/ChangeLog7
-rw-r--r--app-text/sloccount/Manifest18
-rw-r--r--app-text/sloccount/sloccount-2.26-r2.ebuild16
3 files changed, 30 insertions, 11 deletions
diff --git a/app-text/sloccount/ChangeLog b/app-text/sloccount/ChangeLog
index fc9241dbe793..36cf658366cc 100644
--- a/app-text/sloccount/ChangeLog
+++ b/app-text/sloccount/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-text/sloccount
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/sloccount/ChangeLog,v 1.23 2010/10/12 20:52:02 jer Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/sloccount/ChangeLog,v 1.24 2012/10/16 14:53:28 ottxor Exp $
+
+ 16 Oct 2012; Christoph Junghans <ottxor@gentoo.org> sloccount-2.26-r2.ebuild:
+ added prefix support (bug #435258)
*sloccount-2.26-r2 (12 Oct 2010)
diff --git a/app-text/sloccount/Manifest b/app-text/sloccount/Manifest
index 2ffb2b1fbe17..403a8eb55b19 100644
--- a/app-text/sloccount/Manifest
+++ b/app-text/sloccount/Manifest
@@ -1,7 +1,21 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX sloccount-2.26-coreutils-tail-n-fix.patch 468 SHA256 79ef08b0ba5f892878fe410b6e360566202acea9d1abcf07481e9218393f7c6a SHA512 200ccf47b4ca21a17cbe06ccf7b9a8022c794d1b5c0e0f59477b74a37704a6d5a106d4a7791ab84f6387032c938c132ffc1971e4db6532b21d5a0f2fef6df03e WHIRLPOOL e756041390e1ef3fcd6b7528832ea6d2adf58a1761346a1ce6942efe0dc9b469273f3d97317bd16d61761b5641a73a808006ec1cd20d1e7892c66aa5937c86d0
AUX sloccount-2.26-libexec.patch 2293 SHA256 c098bc1ba364a43cfb39805f6d7c46c7f3d72f4969c0bfb2dd4d62ef750df1f7 SHA512 87101dc6c6632d38ff25b842b3342ee7caae0a926ce7c62f07360691a1494f8fefb8a039743d6cc49e3ca53a2eb179a06a97763ff5cf6224056a0916317afa35 WHIRLPOOL a09040e640099af129a5e912ccf1b8f6f09b408f6fc8b9c415254ac1d7b11783875187727b835688e930b8d4a6fdac59a1dd9112fed96a26ac85b65b029d9611
DIST sloccount-2.26.tar.gz 190948 SHA256 fa7fa2bbf2f627dd2d0fdb958bd8ec4527231254c120a8b4322405d8a4e3d12b SHA512 ed6ab315a56dbdc86c654b94e790c9ea9e2dcad0db26b63c0973c33eb7fa634b4ade0a1f3c6ccfd5172ea95f648c1dd3b0ae2575b0aa44b3fec708c24a6aca54 WHIRLPOOL dd809909e10601ec733a7e5426183553c00c2cd25164db2d9085c975f689209067c206094caa84ef5085fc27a7188509fced271928e2d28ccb5a6b0749f7cd77
EBUILD sloccount-2.26-r1.ebuild 1088 SHA256 afd75776079ce2b1ee2231c31b31a3377e1e5440ccc30f617d577a5c14741a70 SHA512 dd8a667c10fc467c33a555431376c36a0599ce20e6fa82fb865e183ac3e2a3d4ee6963b0007b5f7d91f91079fb8a0878f78b12a1b08f4cdcce34812efc66f254 WHIRLPOOL 421f545708e881b82bed63397238f4ca1ce3d85c94b642ae3611b6d5d2b202d79698a2c87484873a46a011100fd09ce53a211e9ef5316e5e9756aa8d28017b1e
-EBUILD sloccount-2.26-r2.ebuild 1124 SHA256 dc715b3eeb605758542bca8b47ffb7214d256b5a0ba5b599f3ad55b463fb4d47 SHA512 05a19c596ae6dd08eed1686673e1555b3850c09ab84cbe23a4783cf81a5f6ff41b9b985e0bf7d169d77a01bc3884de6f1317ac7b3838ba7b5cdc5c82530d98ec WHIRLPOOL 92e0647f268654fbb5d1b92948041541f1ba63bb5ddd71d54931a0c36659ecfba8aa042453f98c1b7bbeffe15e0aab4a5db5bc53f48ed43871b7133933308b05
-MISC ChangeLog 3228 SHA256 e61da30bf004bacae8b6d1ae1bfb6c9859d75f73957ca5484b4aba1cbb121543 SHA512 0e8fd54a410405bbfdeb01d511daf64fa79bf6d835425faa9b4b179aa6a60b63d70901ed067013bef9d1681c54ae224badb1925b95dce01b262d29e1d143041e WHIRLPOOL 2ae0e963872d8ab5e3edd1c6271f4a2bd747adb9c51785bb1d3d677030514fc25865534579af1d0557bb1d4136efcff0bee34f0e4e1a932f1b09446600fd5a73
+EBUILD sloccount-2.26-r2.ebuild 1259 SHA256 256b5a8248fbd0aa422127d0d71a914a769d1ef2c820160d6a75b87131733f93 SHA512 4cd8904a20c899c8e822086be2207f6ba8d3d6509d3c76b0f8296dfb22b17042bccf21716b1cc83597ed3abce3702633c29cb5c13c89ff1a45c4ffc44dd4f4ab WHIRLPOOL ac653a52baed1d8578e031e503bfb69603ac7b4e3852aeccdba6c281f58a1bfa25445608018d3cb18e3628345e5e5dae0d2ad43a6adefc2e6c2375446c86d8d5
+MISC ChangeLog 3349 SHA256 80647887c5216a1a0006e27f3a6aefde24a1d0fea9d6bab5dea12aa67e53ac02 SHA512 ca668ebe2e75a9280c7209cc3df0ab039c153665a8ebe113ea4f95ff11e375ab081c44427d554283b57f1bf8403d23fc81b177d388577fab14a94e706bb1b3f9 WHIRLPOOL 21f3b644f4cbf0816c1ee101da77d4bec7dc90a07835b8203d6a9e997024853fcc41dfc1c4ea5bf88bb50afcc65b057fe4c6db092a043e472d7ce0ef4cad1a3e
MISC metadata.xml 202 SHA256 76dbb4a720140d78f0ddfb2b2782c03852169c201c1f507eb17ef4d2a82f212a SHA512 bd1c14da72bdd52e3bea3056f5b9f908c31d6915b651d15d80a0a7d26778c97cde493ae9ca4352bd313eb16ddbed9b169c6b620c7f4a9b77973f7077fa8d997c WHIRLPOOL c073cc4c903e3377c7aee652c5661a1657cc5ba70c3deb4b2d7b2d0e31a78fb8b362b2f255de3faddbf4c46250d14d2d5d39a6a13b910ad18f8d53df362163a0
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJQfXTpAAoJEOeBhlrCAAWGoNkIAJtIIqMipdbqwGFgGnK8f47O
+E4Q5KGninQCZx54lBrA9MfBdw9wT7CskNebhmpNi3rNtCLlL9brRyt66EKYWvyiL
+HXuWgdX9sgFMEf5VEpaXIlBymFXauqis2cn6GKDQ8mvmI9LqgugcaC1UP8X5WjBM
+8hFhI+5a08J450xAtiHSbRyFGoQoJV/d3PQdkPJE5aC1oOAs7zXc32/iVesImM3J
+Twp1XLpU+vwOZ2HnuyBYxVIx0KAYt+UE2nAjB8+MO3675un+dlHLTjxhmrT4IFOZ
+JDI+r39Bprfi6I4WnIgKDc7TrCeNJSaT4nLg6sT1gWLOHa4T6/6YYekAbrdkowQ=
+=Lhv0
+-----END PGP SIGNATURE-----
diff --git a/app-text/sloccount/sloccount-2.26-r2.ebuild b/app-text/sloccount/sloccount-2.26-r2.ebuild
index 29ca02dd5fca..6b24ef00b7a5 100644
--- a/app-text/sloccount/sloccount-2.26-r2.ebuild
+++ b/app-text/sloccount/sloccount-2.26-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/sloccount/sloccount-2.26-r2.ebuild,v 1.1 2010/10/12 20:52:02 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/sloccount/sloccount-2.26-r2.ebuild,v 1.2 2012/10/16 14:53:28 ottxor Exp $
-EAPI="2"
+EAPI="4"
inherit eutils toolchain-funcs
@@ -12,7 +12,7 @@ SRC_URI="http://www.dwheeler.com/sloccount/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
IUSE=""
RDEPEND="dev-lang/perl
>=sys-apps/sed-4
@@ -29,14 +29,16 @@ src_prepare() {
-e '/^DOC_DIR/ { s/-$(RPM_VERSION)//g }' \
-e '/^MYDOCS/ { s/[^ =]\+\.html//g }' \
makefile || die "sed makefile failed"
+
+ #fixed hard-codes libexec_dir in sloccount
+ sed -i "s|libexec_dir=|&\"${EPREFIX}\"|" sloccount || die
}
src_compile() {
- emake CC=$(tc-getCC) || die "emake failed"
+ emake CC=$(tc-getCC)
}
src_install() {
- einstall PREFIX="${D}/usr" DOC_DIR="${D}/usr/share/doc/${PF}/" || die
- prepalldocs
+ emake PREFIX="${ED}/usr" DOC_DIR="${ED}/usr/share/doc/${PF}/" install
dohtml *html
}