aboutsummaryrefslogtreecommitdiffstats
path: root/irc/tirc/Makefile
blob: 996250c092b69b629d9083e14de4f132a151da27 (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
# New ports collection makefile for:        tirc IRC-Client
# Version required: 1.2
# Date created:     14 August 1999
# Whom:         Dominik Rothert <dr@domix.de>
#
# $Id$
#

DISTNAME=   tirc-1.2
CATEGORIES= irc
MASTER_SITES=   http://www.domix.de/fbsd/ports/distfiles/

MAINTAINER= dr@domix.de

GNU_CONFIGURE=  yes
MAKE_FLAGS= CONF_ARGS="--prefix=${PREFIX}"
MAN1=       tirc.1

post-patch:
    @${PERL} -pi -e 's:__PREFIX__:${PREFIX}:g' ${WRKSRC}/*.c
    @${PERL} -pi -e 's:__PREFIX__:${PREFIX}:g' ${WRKSRC}/*.1

post-install:
    strip ${PREFIX}/bin/tirc
    ${MKDIR} ${PREFIX}/share/tirc
    ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/dot.tircrc ${PREFIX}/share/tirc/tircrc

.include <bsd.port.mk>