aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Perlanet/Makefile
blob: cc07981419e13d508a086e2627823fe0d67e897b (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
57
# New ports collection makefile for:    p5-Perlanet
# Date created:     2010-12-11
# Whom:         Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=   Perlanet
PORTVERSION=    0.56
CATEGORIES= www perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:DAVECROSS
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    A program for creating programs that aggregate web feeds

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual

BUILD_DEPENDS=  p5-CHI>=0:${PORTSDIR}/devel/p5-CHI \
        p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \
        p5-HTML-Tidy>=0:${PORTSDIR}/textproc/p5-HTML-Tidy \
        p5-HTML-Scrubber>=0:${PORTSDIR}/www/p5-HTML-Scrubber \
        p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \
        p5-MooseX-ConfigFromFile>=0:${PORTSDIR}/devel/p5-MooseX-ConfigFromFile \
        p5-MooseX-Traits>=0:${PORTSDIR}/devel/p5-MooseX-Traits \
        p5-Template-Toolkit>=0:${PORTSDIR}/www/p5-Template-Toolkit \
        p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny \
        p5-URI>=0:${PORTSDIR}/net/p5-URI \
        p5-XML-Feed>=0.22:${PORTSDIR}/textproc/p5-XML-Feed \
        p5-YAML>=0:${PORTSDIR}/textproc/p5-YAML
RUN_DEPENDS:=   ${BUILD_DEPENDS}

PERL_MODBUILD=  yes

MAN1=       perlanet.1
MAN3=       Perlanet.3 \
        Perlanet::Entry.3 \
        Perlanet::Feed.3 \
        Perlanet::Simple.3 \
        Perlanet::Trait::Cache.3 \
        Perlanet::Trait::FeedFile.3 \
        Perlanet::Trait::OPML.3 \
        Perlanet::Trait::Scrubber.3 \
        Perlanet::Trait::TemplateToolkit.3 \
        Perlanet::Trait::Tidy.3 \
        Perlanet::Trait::YAMLConfig.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501000
BUILD_DEPENDS+= p5-IO-Compress>=0:${PORTSDIR}/archivers/p5-IO-Compress
RUN_DEPENDS+=   p5-IO-Compress>=0:${PORTSDIR}/archivers/p5-IO-Compress
.endif

.include <bsd.port.post.mk>