aboutsummaryrefslogtreecommitdiffstats
path: root/irc/cgiirc/Makefile
blob: 02b558fbc2b08751ffb86117f28a656bd506d4fa (plain) (blame)
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
# New ports collection makefile for:    cgiirc
# Date created:     2005-07-17
# Whom:         Vsevolod Stakhov <vsevolod@highsecure.ru>
#
# $FreeBSD$
#

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

MAINTAINER= vsevolod@highsecure.ru
COMMENT=    IRC web gate written on 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>