aboutsummaryrefslogtreecommitdiffstats
path: root/irc/p5-POE-Component-IRC/Makefile
blob: fd190f9ce6b99663857da5f3cc6a3a35e39350b2 (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
# ex:ts=8
# New ports collection makefile for:    POE::Component::IRC
# Date created:     Aug 19, 2001
# Whom:         ijliao
#
# $FreeBSD$
#

PORTNAME=   POE-Component-IRC
PORTVERSION=    2.6
CATEGORIES= irc devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= POE
PKGNAMEPREFIX=  p5-

MAINTAINER= dan-freebsd@spot.org

BUILD_DEPENDS=  ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/POE.pm:${PORTSDIR}/devel/p5-POE
RUN_DEPENDS=    ${BUILD_DEPENDS}

PLIST_SUB=  EXAMPLESDIR="share/examples/${PORTNAME}"
PERL_CONFIGURE= yes

MANPREFIX=  ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3=       POE::Component::Filter-CTCP.3 \
        POE::Component::IRC.3 \
        POE::Component::Filter-IRC.3

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

.include <bsd.port.mk>