aboutsummaryrefslogtreecommitdiffstats
path: root/irc/bnc/Makefile
blob: 64fb8577b0ff46387880de963a34b8b828d57f20 (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
31
32
33
# Created by: Bill Fumerola <billf@chc-chimes.com>
# $FreeBSD$

PORTNAME=   bnc
PORTVERSION=    2.9.4
CATEGORIES= irc
MASTER_SITES=   http://home.risingnet.net/download/ \
        http://bnc.acmeshells.com/ \
        http://www.sourcefiles.org/System/Servers/
DISTNAME=   ${PORTNAME}${PORTVERSION}

MAINTAINER= douglas@t2web.com.br
COMMENT=    A simple IRC relay proxy with support for virtual hosting

GNU_CONFIGURE=  yes

DOCS=       COPYING Changelog README example.conf
BINS=       bnc mkpasswd
SCRIPTS=    bncchk bncsetup

OPTIONS_DEFINE= DOCS

post-patch:
    ${SED} -e 's,@PREFIX@,${PREFIX},g' ${WRKSRC}/bncsetup

do-install:
    ${INSTALL_PROGRAM} ${BINS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_SCRIPT} ${SCRIPTS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
    ${INSTALL_DATA} ${WRKSRC}/example.conf ${STAGEDIR}${PREFIX}/etc/bnc.conf.sample

.include <bsd.port.mk>