summaryrefslogtreecommitdiffstats
path: root/net-im/vicq/Makefile
blob: 1433d0cad83a6787c117793d511fd8df63c5aac8 (plain)
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
34
35
36
37
38
39
# New ports collection makefile for:	vicq
# Date created:				06 December 2001
# Whom:					Kevin Lo<kevlo@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	vicq
PORTVERSION=	0.4.2
PORTREVISION=	1
CATEGORIES=	net-im
MASTER_SITES=	http://gonzo.kiev.ua/projects/vicq.old/

MAINTAINER=	kevlo@FreeBSD.org
COMMENT=	A text-based ICQ implementation


RUN_DEPENDS=	p5-ReadLine-Gnu>=0:${PORTSDIR}/devel/p5-ReadLine-Gnu

WRKSRC=		${WRKDIR}/${PORTNAME}

PERL_CONFIGURE=	yes

SIGNAL_PATCH=p5.8-patch-sigalrm

post-extract:
	${MV} ${WRKSRC}/Net/vICQ/*  ${WRKSRC}
	${RM} ${WRKSRC}/install.pl

post-patch:
	@${ECHO_MSG} "===>  Applying patch ${SIGNAL_PATCH} for ${PKGNAME}"
	@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/${SIGNAL_PATCH}

post-install:
	${INSTALL_SCRIPT} ${WRKSRC}/vicq ${PREFIX}/bin
	${MKDIR} ${PREFIX}/share/examples/vicq
	${INSTALL_DATA} ${WRKSRC}/vicqrc.example ${PREFIX}/share/examples/vicq

.include <bsd.port.mk>
OpenPOWER on IntegriCloud