aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-POE-Component-Client-Traceroute/Makefile
blob: a66b8697dc6d8a0ca463a819f7f8af6032aa50e4 (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-POE-Component-Client-Traceroute
# Date created:     2006-08-09
# Whom:         Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=   POE-Component-Client-Traceroute
PORTVERSION=    0.21
CATEGORIES= net perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= POE
PKGNAMEPREFIX=  p5-

MAINTAINER= tjs@cdpa.nsysu.edu.tw
COMMENT=    A non-blocking traceroute client

RUN_DEPENDS=    p5-POE>=0.11:${PORTSDIR}/devel/p5-POE
BUILD_DEPENDS=  ${RUN_DEPENDS}

PERL_CONFIGURE= yes

MAN3=   POE::Component::Client::Traceroute.3

post-install:
.if !defined(NOPORTDOCS)
    @${ECHO_MSG} "===>   Installing examples for ${PKGNAME}"
    @${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500702
RUN_DEPENDS+=   ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
.endif

.include <bsd.port.post.mk>