aboutsummaryrefslogtreecommitdiffstats
path: root/irc/bitchx/Makefile
blob: 6791d16308ff56f5f6455a65a730c9fe9a2cfc1f (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:    BitchX ircII client
# Version required: 74p2
# Date created:     26 Jan 1998
# Whom:         griffin
#
# $Id$
#

DISTNAME=   ircii-pana-74p2
PKGNAME=    bitchx-74p2
CATEGORIES= net
MASTER_SITES=   ftp://ftp.bitchx.com/pub/BitchX/source/

MAINTAINER= griffin@blackhole.iceworld.org

GNU_CONFIGURE=  yes

WRKSRC=     ${WRKDIR}/BitchX

post-patch:
    ${SED} -e s,__PREFIX__,$(PREFIX), $(WRKSRC)/include/config.h > $(WRKSRC)/include/config.h.new
    ${MV} $(WRKSRC)/include/config.h.new $(WRKSRC)/include/config.h

do-install:
    ${MKDIR} ${PREFIX}/lib/BitchX
    ${INSTALL_PROGRAM} ${WRKSRC}/source/BitchX ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/source/wserv ${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/BitchX.help ${PREFIX}/lib/BitchX

.include <bsd.port.mk>