/[gentoo-x86]/net-mail/amavis-logwatch/amavis-logwatch-1.51.03.ebuild
Gentoo

Contents of /net-mail/amavis-logwatch/amavis-logwatch-1.51.03.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Nov 23 17:14:37 2014 UTC (5 years, 2 months ago) by zlogene
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
x86 stable wrt bug #528864

(Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0xC42EB5D6)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-mail/amavis-logwatch/amavis-logwatch-1.51.03.ebuild,v 1.2 2014/11/13 15:18:45 ago Exp $
4
5 EAPI=5
6
7 DESCRIPTION="A log analyzer for amavisd-new"
8 HOMEPAGE="http://logreporters.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/logreporters/${P}.tgz"
10
11 LICENSE="MIT"
12 SLOT="0"
13 KEYWORDS="amd64 x86"
14
15 RDEPEND="dev-lang/perl"
16
17 src_prepare() {
18 # Replace the default config file location with ours.
19 local cfg_default='/usr/local/etc/${progname_prefix}-logwatch.conf'
20 local cfg_gentoo='/etc/${progname_prefix}-logwatch.conf';
21 sed -i "s~${cfg_default}~${cfg_gentoo}~" ${PN} \
22 || die 'failed to update the default config location'
23 }
24
25 src_compile() {
26 # The default make target just outputs instructions. We don't want
27 # the user to see these, so we avoid the default emake.
28 :
29 }
30
31 src_install() {
32 dodoc Bugs Changes README
33 doman ${PN}.1
34 dobin ${PN}
35 insinto /etc
36 doins ${PN}.conf
37 }

  ViewVC Help
Powered by ViewVC 1.1.20