mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
877dce2447
Approved by: bapt@ (co-mentor)
30 lines
733 B
Makefile
30 lines
733 B
Makefile
# Created by: Vsevolod Stakhov <vsevolod@highsecure.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cgiirc
|
|
PORTVERSION= 0.5.10
|
|
CATEGORIES= irc www perl5
|
|
MASTER_SITES= http://cgiirc.org/releases/ \
|
|
SF/${PORTNAME}/cgi-irc/${PORTVERSION}
|
|
|
|
MAINTAINER= rodrigo@FreeBSD.org
|
|
COMMENT= IRC web gateway written in Perl
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= perl5
|
|
NO_BUILD= yes
|
|
|
|
NO_STAGE= 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>
|