aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/oicq/Makefile
blob: 34aaa544c1c74312a412ab3bd718c734617b13cb (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:    oicq
# Date created:     10 Nov 2003
# Whom:         Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
#
# $FreeBSD$
#

PORTNAME=   oicq
PORTVERSION=    1.2
CATEGORIES= chinese net
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= perl-oicq
DISTNAME=   Net-OICQ-${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Implements OICQ messaging protocol

BUILD_DEPENDS=  ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
        ${SITE_PERL}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor \
        ${SITE_PERL}/Crypt/OICQ.pm:${PORTSDIR}/security/p5-Crypt-OICQ

PERL_CONFIGURE= yes

MAN3=       Net::OICQ.3

DEPRECATED= Does not work with newer OICQ protocol
EXPIRATION_DATE=    2007-02-01

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500800 # inherits from security/p5-Crypt-OICQ
IGNORE=     requires perl 5.8.x or later. Install lang/perl5.8 then try again
.endif

post-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/q ${PREFIX}/bin

.include <bsd.port.post.mk>