summaryrefslogtreecommitdiff
blob: bb9347083ae09db86ea3d032e822c280e99ea001 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/portmon/portmon-1.9.ebuild,v 1.1 2003/07/29 01:36:45 gregf Exp $

DESCRIPTION="Portmon is a netwok service monitoring daemon."
SRC_URI="http://aboleo.net/software/portmon/downloads/${P}.tar.gz"
HOMEPAGE="http://aboleo.net/software/portmon/"

KEYWORDS="~x86"
SLOT="0"
LICENSE="GPL-2"
IUSE=""

DEPEND="virtual/glibc"
RDEPEND="${RDEPEND}"

src_compile() {
	econf --sysconfdir=/etc/portmon || die "Configure failed" 
	emake || die "emake failed"
}

src_install() {
    into /usr
	dosbin src/portmon
	doman extras/portmon.8

	
	insinto /etc/portmon
	doins extras/portmon.hosts.sample
	dodoc AUTHORS BUGS README

	exeinto /etc/init.d
	newexe ${FILESDIR}/portmon.init portmon
}