aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-POE/Makefile
blob: 2f04ad3f56746f6662024a97f73b9c9adc6a2b82 (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
40
41
42
# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$

PORTNAME=   POE
PORTVERSION=    1.367
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Multitasking and networking framework for perl

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual

BUILD_DEPENDS=  p5-Curses>=1.08:${PORTSDIR}/devel/p5-Curses \
        p5-HTTP-Message>=0:${PORTSDIR}/www/p5-HTTP-Message \
        p5-IO-Pipely>=0.005:${PORTSDIR}/devel/p5-IO-Pipely \
        p5-IO-Tty>=1.08:${PORTSDIR}/devel/p5-IO-Tty \
        p5-POE-Test-Loops>=1.360:${PORTSDIR}/devel/p5-POE-Test-Loops \
        p5-Socket-GetAddrInfo>=0.20:${PORTSDIR}/net/p5-Socket-GetAddrInfo \
        p5-Term-ReadKey>=2.21:${PORTSDIR}/devel/p5-Term-ReadKey \
        p5-URI>=1.30:${PORTSDIR}/net/p5-URI \
        p5-libwww>=5.79:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS:=   ${BUILD_DEPENDS}

OPTIONS_DEFINE= EXAMPLES

CONFIGURE_ARGS= --default
NO_ARCH=    yes
USES=       perl5 shebangfix
USE_PERL5=  configure

PORTEXAMPLES=   *

SHEBANG_FILES=  examples/*.perl lib/POE/Wheel/Curses.pm

post-install:
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>