aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/p5-Net-DirectConnect/Makefile
blob: a2b311a665777dde36fb7072b46b83fa02f57c10 (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
# New ports collection makefile for:    p5-Net-DirectConnect
# Date created:     2010-01-16
# Whom:         Oleg Alexeenkov <proler@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   Net-DirectConnect
PORTVERSION=    0.11
CATEGORIES= net-p2p net perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= proler@gmail.com
COMMENT=    Perl Direct Connect lib and client

BUILD_DEPENDS=  p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite \
        p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \
        p5-IO-Socket-INET6>=0:${PORTSDIR}/net/p5-IO-Socket-INET6 \
        p5-IO-Socket-SSL>=0:${PORTSDIR}/security/p5-IO-Socket-SSL \
        p5-Net-DirectConnect-TigerHash>=0:${PORTSDIR}/net-p2p/p5-Net-DirectConnect-TigerHash \
        p5-Socket6>=0:${PORTSDIR}/net/p5-Socket6 \
        p5-lib-abs>=0:${PORTSDIR}/devel/p5-lib-abs
RUN_DEPENDS:=   ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN1=       dcget.1 dcshare.1
MAN3=       Net::DirectConnect.3 Net::DirectConnect::filelist.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501001
BUILD_DEPENDS+= p5-IO-Compress>=0:${PORTSDIR}/archivers/p5-IO-Compress
RUN_DEPENDS+=   p5-IO-Compress>=0:${PORTSDIR}/archivers/p5-IO-Compress
.endif

.include <bsd.port.post.mk>