# New ports collection makefile for:   onis
# Date created:                                29 March 2003
# Whom:                                        koji@jet.es
#
# $FreeBSD: ports/irc/onis/Makefile,v 1.3 2005/03/13 10:48:18 krion Exp $
#

PORTNAME=	onis
PORTVERSION=	0.6.1
CATEGORIES=	irc
MASTER_SITES=	http://verplant.org/onis/ \
		http://www.bsdberlin.org/~dako/distfiles/irc/

MAINTAINER=	dako@bsdberlin.org
COMMENT=	A script that converts IRC logfiles into an HTML statistics page

NO_BUILD=	YES
USE_PERL5=	YES

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500601
IGNORE=	This port requires perl 5.6.x or later. Install lang/perl5 and try again.
.endif

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

.include <bsd.port.post.mk>
