# New ports collection makefile for:   ocsinventory-agent
# Date created:				14 August 2007
# Whom:					Dennis Cabooter
#
# $FreeBSD: ports/net-mgmt/ocsinventory-agent/Makefile,v 1.5 2008/06/09 00:31:45 araujo Exp $
#

PORTNAME=	Ocsinventory
PORTVERSION=	0.0.9.2
PORTREVISION=	1
CATEGORIES=	net-mgmt
MASTER_SITES=	http://nana.rulezlan.org/~goneri/ocsinventory-agent/
PKGNAMESUFFIX=	-Agent
DISTNAME=	${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}

MAINTAINER=	freebsd@rootxs.org
COMMENT=	Keep track of the computers configuration and software

BUILD_DEPENDS=	${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
		${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple \
		${SITE_PERL}/Net/IP.pm:${PORTSDIR}/net-mgmt/p5-Net-IP \
		${SITE_PERL}/Proc/Daemon.pm:${PORTSDIR}/devel/p5-Proc-Daemon \
		dmidecode:${PORTSDIR}/sysutils/dmidecode \
		lspci:${PORTSDIR}/sysutils/pciutils

USE_PERL5=	yes
PERL_CONFIGURE=	yes
IS_INTERACTIVE=	yes

MAN1=		ocsinventory-agent.1

.include <bsd.port.mk>
