aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/vicq/Makefile
blob: 3137b191d01c9c7808a905aea421d3957b25e7b4 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
# 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=    ${SITE_PERL}/${PERL_ARCH}/Term/ReadLine/Gnu.pm:${PORTSDIR}/devel/p5-ReadLine-Gnu

WRKSRC=     ${WRKDIR}/${PORTNAME}

PERL_CONFIGURE= yes


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

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.pre.mk>

.if ${PERL_LEVEL} >= 500800
SIGNAL_PATCH=p5.8-patch-sigalrm
post-patch:
    @${ECHO_MSG} "===>  Applying patch ${SIGNAL_PATCH} for ${PKGNAME}"
    @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/${SIGNAL_PATCH}
.endif

.include <bsd.port.post.mk>