1 |
zlogene 14/07/26 18:06:27 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: lxr-0.9.8-r1.ebuild |
5 |
Log: |
6 |
Revision bump: EAPI=5 |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xC42EB5D6) |
9 |
|
10 |
Revision Changes Path |
11 |
1.22 www-apps/lxr/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/lxr/ChangeLog?rev=1.22&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/lxr/ChangeLog?rev=1.22&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/lxr/ChangeLog?r1=1.21&r2=1.22 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/www-apps/lxr/ChangeLog,v |
20 |
retrieving revision 1.21 |
21 |
retrieving revision 1.22 |
22 |
diff -u -r1.21 -r1.22 |
23 |
--- ChangeLog 12 Sep 2013 21:44:22 -0000 1.21 |
24 |
+++ ChangeLog 26 Jul 2014 18:06:26 -0000 1.22 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for www-apps/lxr |
27 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/www-apps/lxr/ChangeLog,v 1.21 2013/09/12 21:44:22 creffett Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/www-apps/lxr/ChangeLog,v 1.22 2014/07/26 18:06:26 zlogene Exp $ |
31 |
+ |
32 |
+*lxr-0.9.8-r1 (26 Jul 2014) |
33 |
+ |
34 |
+ 26 Jul 2014; Mikle Kolyada <zlogene@g.o> +lxr-0.9.8-r1.ebuild: |
35 |
+ Revision bump: EAPI=5 |
36 |
|
37 |
*lxr-0.9.8 (12 Sep 2013) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 www-apps/lxr/lxr-0.9.8-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/lxr/lxr-0.9.8-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/lxr/lxr-0.9.8-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: lxr-0.9.8-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/www-apps/lxr/lxr-0.9.8-r1.ebuild,v 1.1 2014/07/26 18:06:26 zlogene Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
inherit perl-module webapp multilib eutils depend.apache |
56 |
|
57 |
DESCRIPTION="general purpose source code indexer and cross-referener with a web-based frontend" |
58 |
HOMEPAGE="http://sourceforge.net/projects/lxr" |
59 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
KEYWORDS="~amd64 ~ppc ~x86" |
63 |
IUSE="cvs freetext mysql postgres" |
64 |
WEBAPP_MANUAL_SLOT="yes" |
65 |
SLOT="0" |
66 |
|
67 |
RDEPEND="dev-util/ctags |
68 |
freetext? ( >=www-apps/swish-e-2.1 ) |
69 |
dev-lang/perl |
70 |
dev-perl/DBI |
71 |
dev-perl/File-MMagic |
72 |
cvs? ( dev-vcs/rcs ) |
73 |
postgres? ( dev-perl/DBD-Pg ) |
74 |
mysql? ( dev-perl/DBD-mysql )" |
75 |
|
76 |
need_apache2 |
77 |
|
78 |
pkg_setup() { |
79 |
webapp_pkg_setup |
80 |
} |
81 |
|
82 |
src_prepare() { |
83 |
|
84 |
epatch "${FILESDIR}/${PN}-0.9.8-initdb-mysql.patch" |
85 |
|
86 |
sed -i \ |
87 |
-e 's|/usr/local/bin/swish-e|/usr/bin/swish-e|' \ |
88 |
-e 's|/usr/bin/ctags|/usr/bin/exuberant-ctags|' \ |
89 |
-e "s|'glimpse|#'glimpse|g" \ |
90 |
-e "s:/path/to/lib:${VENDOR_LIB}:" \ |
91 |
templates/lxr.conf || die "sed failed" |
92 |
sed -i \ |
93 |
-e 's|Apache::Registry|ModPerl::PerlRun|' \ |
94 |
.htaccess-apache1 || die "sed failed" |
95 |
sed -i \ |
96 |
-e 's|require Local;|require LXR::Local;|' \ |
97 |
-e 's|use Local;|use LXR::Local;|' \ |
98 |
-e 's|package Local;|package LXR::Local;|' \ |
99 |
Local.pm lib/LXR/Common.pm diff find ident search source || die "sed failed" |
100 |
} |
101 |
|
102 |
# prevent eclasses from overriding this |
103 |
src_compile() { :; } |
104 |
|
105 |
src_install() { |
106 |
perlinfo |
107 |
webapp_src_preinst |
108 |
|
109 |
insinto "${VENDOR_LIB}" |
110 |
doins -r lib/LXR |
111 |
insinto "${VENDOR_LIB}"/LXR |
112 |
doins Local.pm |
113 |
|
114 |
dodoc BUGS CREDITS.txt ChangeLog HACKING INSTALL notes .htaccess* swish-e.conf |
115 |
|
116 |
exeinto "${MY_HTDOCSDIR}" |
117 |
doexe diff find genxref ident search source |
118 |
insinto "${MY_HTDOCSDIR}" |
119 |
doins .htaccess* templates/* |
120 |
|
121 |
webapp_configfile "${MY_HTDOCSDIR}"/lxr.conf "${MY_HTDOCSDIR}"/.htaccess-apache1 |
122 |
webapp_sqlscript mysql initdb-mysql |
123 |
webapp_sqlscript postgresql initdb-postgres |
124 |
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
125 |
webapp_hook_script "${FILESDIR}"/reconfig |
126 |
webapp_src_install |
127 |
} |
128 |
|
129 |
pkg_postinst() { |
130 |
webapp_pkg_postinst |
131 |
} |
132 |
|
133 |
pkg_prerm() { |
134 |
webapp_pkg_prerm |
135 |
} |