/[gentoo-x86]/net-misc/pmsvn/pmsvn-1.0.5.ebuild
Gentoo

Contents of /net-misc/pmsvn/pmsvn-1.0.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Tue Sep 11 20:34:06 2012 UTC (7 years, 4 months ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Version bump

(Portage version: 2.1.11.14/cvs/Linux x86_64)

1 hwoarang 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/net-misc/pmsvn/pmsvn-1.0.4.ebuild,v 1.1 2012/08/31 19:27:17 hwoarang Exp $
4    
5     EAPI=4
6    
7     DESCRIPTION="Server's configuration management and monitoring tool"
8     HOMEPAGE="http://sourceforge.net/projects/pmsvn/"
9     SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
10    
11     LICENSE="GPL-3"
12     SLOT="0"
13     KEYWORDS="~amd64 ~x86"
14     IUSE=""
15    
16     DEPEND=""
17     RDEPEND="net-analyzer/nrpe
18     >=app-shells/bash-4.0_p37
19     >=sys-apps/sed-4.2
20     >=dev-vcs/subversion-1.6.9"
21    
22     S="${WORKDIR}"
23    
24     src_prepare() {
25     # move configuration file from /etc/${PN}.conf to /etc/${PN}/${PN}.conf
26     sed -i "/etc\/${PN}.conf/s:etc/${PN}.conf:etc/${PN}/${PN}.conf:" ${PN} \
27     || die "failed to fix path for configuration file"
28     }
29    
30     src_install() {
31     dosbin "${PN}"
32     dodoc README
33     insinto /etc/${PN}/
34     doins pmsvn.conf.sample
35     }
36    
37     pkg_postinst(){
38     elog
39     elog "A configuration file sample is located at /etc/pmsvn/pmsvn.conf.sample."
40     elog
41     }

  ViewVC Help
Powered by ViewVC 1.1.20