aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Gungho/Makefile
blob: 04c4f8ee34ef9000c9291bef9bc65f985b832881 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$

PORTNAME=   Gungho
PORTVERSION=    0.09.008
PORTREVISION=   2
CATEGORIES= www perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:DMAKI
PKGNAMEPREFIX=  p5-
DISTNAME=   ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}

MAINTAINER= perl@FreeBSD.org
COMMENT=    Event Based High Performance Web Crawler Framework

BUILD_DEPENDS=  p5-Best>=0:${PORTSDIR}/devel/p5-Best \
        p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \
        p5-Class-C3-Componentised>=0:${PORTSDIR}/devel/p5-Class-C3-Componentised \
        p5-Class-C3-XS>=0.02:${PORTSDIR}/devel/p5-Class-C3-XS \
        p5-Class-C3>=0.16:${PORTSDIR}/devel/p5-Class-C3 \
        p5-Class-Data-Inheritable>=0:${PORTSDIR}/devel/p5-Class-Data-Inheritable \
        p5-Class-Inspector>=0:${PORTSDIR}/devel/p5-Class-Inspector \
        p5-Config-Any>=0:${PORTSDIR}/devel/p5-Config-Any \
        p5-Danga-Socket-Callback>=0:${PORTSDIR}/devel/p5-Danga-Socket-Callback \
        p5-Danga-Socket>=1.57:${PORTSDIR}/devel/p5-Danga-Socket \
        p5-Data-Throttler-Memcached>=0.0003:${PORTSDIR}/devel/p5-Data-Throttler-Memcached \
        p5-Data-Throttler>=0:${PORTSDIR}/devel/p5-Data-Throttler \
        p5-Event-Notify>=0.00004:${PORTSDIR}/devel/p5-Event-Notify \
        p5-Exception-Class>=0:${PORTSDIR}/devel/p5-Exception-Class \
        p5-HTML-RobotsMETA>=0:${PORTSDIR}/www/p5-HTML-RobotsMETA \
        p5-HTTP-Parser>=0:${PORTSDIR}/www/p5-HTTP-Parser \
        p5-IO-Async>=0:${PORTSDIR}/devel/p5-IO-Async \
        p5-Log-Dispatch>=0:${PORTSDIR}/devel/p5-Log-Dispatch \
        p5-POE-Component-Client-DNS>=0:${PORTSDIR}/dns/p5-POE-Component-Client-DNS \
        p5-POE-Component-Client-HTTP>=0.81:${PORTSDIR}/www/p5-POE-Component-Client-HTTP \
        p5-POE-Component-Client-Keepalive>=0:${PORTSDIR}/net/p5-POE-Component-Client-Keepalive \
        p5-POE>=0.9999:${PORTSDIR}/devel/p5-POE \
        p5-Path-Class>=0:${PORTSDIR}/devel/p5-Path-Class \
        p5-Regexp-Common>=0:${PORTSDIR}/textproc/p5-Regexp-Common \
        p5-UNIVERSAL-isa>=0.06:${PORTSDIR}/devel/p5-UNIVERSAL-isa \
        p5-UNIVERSAL-require>=0:${PORTSDIR}/devel/p5-UNIVERSAL-require \
        p5-URI>=0:${PORTSDIR}/net/p5-URI \
        p5-WWW-RobotRules-Parser>=0:${PORTSDIR}/www/p5-WWW-RobotRules-Parser \
        p5-Web-Scraper-Config>=0:${PORTSDIR}/www/p5-Web-Scraper-Config \
        p5-YAML>=0:${PORTSDIR}/textproc/p5-YAML \
        p5-libwww>=0:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS:=   ${BUILD_DEPENDS}

USES=       perl5 shebangfix
USE_PERL5=  configure
SHEBANG_FILES=  script/*

post-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/script/gungho ${STAGEDIR}${PREFIX}/bin/gungho

.include <bsd.port.mk>