# New ports collection makefile for:	cgiirc
# Date created:		2005-07-17
# Whom:			Vsevolod Stakhov <vsevolod@highsecure.ru>
#
# $FreeBSD: ports/irc/cgiirc/Makefile,v 1.7 2006/06/19 20:06:53 shaun Exp $
#

PORTNAME=	cgiirc
PORTVERSION=	0.5.9
CATEGORIES=	irc www perl5
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR=	cgiirc

MAINTAINER=	shaun@FreeBSD.org
COMMENT=	IRC web gateway written in Perl

USE_PERL5=	yes
NO_BUILD=	yes

pre-install:
	@${MV} ${WRKSRC}/cgiirc.config ${WRKSRC}/cgiirc.config.sample 2>/dev/null || true

do-install:
	${MKDIR} ${PREFIX}/www/cgiirc
	${CP} -rp ${WRKSRC}/* ${PREFIX}/www/cgiirc
	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/www/cgiirc
	@[ -f ${PREFIX}/www/cgiirc/cgiirc.config ] || \
	${CP} ${WRKSRC}/cgiirc.config.sample ${PREFIX}/www/cgiirc/cgiirc.config

.include <bsd.port.mk>


syntax highlighted by Code2HTML, v. 0.9.1