/[gentoo-x86]/net-irc/cgiirc/cgiirc-0.5.9.ebuild
Gentoo

Contents of /net-irc/cgiirc/cgiirc-0.5.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Mar 7 10:32:15 2008 UTC (6 years, 6 months ago) by hollow
Branch: MAIN
Changes since 1.2: +3 -1 lines
add missing need_httpd_cgi
(Portage version: 2.1.4.4)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-irc/cgiirc/cgiirc-0.5.9.ebuild,v 1.2 2008/03/07 10:30:35 hollow Exp $
4
5 inherit webapp eutils
6
7 DESCRIPTION="A perl/CGI program to use IRC from a web browser"
8 HOMEPAGE="http://cgiirc.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 KEYWORDS="~x86 ~ppc ~amd64"
13 IUSE=""
14
15 need_httpd_cgi
16
17 pkg_setup() {
18 webapp_pkg_setup
19 elog "Note that file locations have changed."
20 elog "CGI:IRC will be installed into cgi-bin/${P}"
21 }
22
23 src_unpack() {
24 unpack ${A}
25 cd "${S}"
26 ecvs_clean
27 }
28
29 src_install() {
30 webapp_src_preinst
31
32 local docs="README cgiirc.config.full ipaccess.example"
33
34 dodoc docs/{CHANGES,TODO} ${docs}
35 dohtml docs/help.html
36 rm -rf docs/ ${docs}
37
38 insinto "${MY_CGIBINDIR}"/${P}
39 doins -r .
40 fperms +x "${MY_CGIBINDIR}"/${P}/irc.cgi
41
42 webapp_configfile "${MY_CGIBINDIR}"/${P}/cgiirc.config
43 webapp_src_install
44 }

  ViewVC Help
Powered by ViewVC 1.1.20