summaryrefslogtreecommitdiff
path: root/irc/tirc/Makefile
blob: aefc12121588ad0dfdc07096ff7577137171b2a0 (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:        tirc IRC-Client
# Date created:		14 August 1999
# Whom:			Dominik Rothert <dr@domix.de>
#
# $FreeBSD$
#

PORTNAME=	tirc
PORTVERSION=	1.2
CATEGORIES=	irc
MASTER_SITES=	ftp://ftp.mayn.de/pub/unix/network/irc/tirc/

MAINTAINER=	dr@astorit.com
COMMENT=	Token's 'Internet Relay Chat' Client

USE_REINPLACE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	"--with-ansi-colours"
MAKE_FLAGS=	CONF_ARGS="--prefix=${PREFIX}"
MAN1=		tirc.1

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

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

.include <bsd.port.mk>