aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/vicq/Makefile
blob: 7f7383ba757b0a361ad635897c1991d0be1b35ea (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
# 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

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>