aboutsummaryrefslogtreecommitdiffstats
path: root/irc/bnc/Makefile
blob: f685c4af2ac770250ded1a10303b0cf0932bbf6f (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:   bnc
# Date created:        06 July 1998
# Whom:                Bill Fumerola <billf@chc-chimes.com>
#
# $FreeBSD$
#

PORTNAME=   bnc
PORTVERSION=    2.8.2
CATEGORIES= irc
MASTER_SITES=   http://www.psn.net/~andrews/dist/
DISTNAME=   ${PORTNAME}${PORTVERSION}

MAINTAINER= billf@FreeBSD.org

FETCH_BEFORE_ARGS=  -b
GNU_CONFIGURE=  YES

post-patch:
    ${SED} 's,@PREFIX@,${PREFIX},g' ${WRKSRC}/bncsetup > ${WRKSRC}/bncsetup.new
    ${MV} ${WRKSRC}/bncsetup.new ${WRKSRC}/bncsetup

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/bnc ${PREFIX}/bin
    ${INSTALL_SCRIPT} ${WRKSRC}/bncchk ${PREFIX}/bin
    ${INSTALL_SCRIPT} ${WRKSRC}/bncsetup ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/mkpasswd ${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/example.conf ${PREFIX}/etc/bnc.conf.sample

.include <bsd.port.mk>