aboutsummaryrefslogtreecommitdiffstats
path: root/irc/p5-POE-Component-IRC-Plugin-POE-Knee/Makefile
blob: 48d3d00e3149a8b305cbc96792a63b4b0b7b711f (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
# New ports collection makefile for:    POE-Component-IRC-Plugin-POE-Knee
# Date created:    31 may 2008
# Whom:        Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   POE-Component-IRC-Plugin-POE-Knee
PORTVERSION=    1.08
PORTREVISION=   1
CATEGORIES= irc perl5 devel
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= miwi@FreeBSD.org
COMMENT=    A POE::Component::IRC plugin that runs Acme::POE::Knee races

BUILD_DEPENDS=  p5-Math-Random>=0.69:${PORTSDIR}/math/p5-Math-Random \
        p5-POE-Component-IRC>=0:${PORTSDIR}/irc/p5-POE-Component-IRC \
        p5-POE>=0:${PORTSDIR}/devel/p5-POE
RUN_DEPENDS:=   ${BUILD_DEPENDS}

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

MAN3=       POE::Component::IRC::Plugin::POE::Knee.3

post-install:
.ifndef(NOPORTEXAMPLES)
    @${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>