# New ports collection makefile for:	infobot
# Date created:				17 November 1999
# Whom:					perlguy@perlguy.com
#
# $FreeBSD: ports/irc/infobot/Makefile,v 1.4 2003/02/21 12:17:13 knu Exp $
#

PORTNAME=	infobot
PORTVERSION=	0.44.5
CATEGORIES=	irc
MASTER_SITES=	http://www.infobot.org/src/ \
		http://www.infobot.org/src/prior/

DISTNAME=	${PORTNAME}${PORTVERSION}

MAINTAINER=	perlguy@perlguy.com
COMMENT=	Bot written in Perl with a rabid AI

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_PERL5=	yes
NO_BUILD=	yes
PLIST_SUB+=	VERSION="${PORTVERSION}"

do-install:
	@if [ ! -d ${DATADIR}-${PORTVERSION} ]; then \
		${MKDIR} ${DATADIR}-${PORTVERSION}; \
	fi
	${CP} -R ${WRKSRC}/* ${DATADIR}-${PORTVERSION}/

.include <bsd.port.mk>
