aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Mixin-Linewise/Makefile
blob: 328a8afb3fd9375bc32b8df1133ff29bee1ab7bf (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
# New ports collection makefile for:    p5-Mixin-Linewise
# Date created:     2009-03-10
# Whom:         bapt <baptiste.daroussin@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   Mixin-Linewise
PORTVERSION=    0.003
PORTREVISION=   1
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:RJBS
PKGNAMEPREFIX=  p5-

MAINTAINER= bapt@FreeBSD.org
COMMENT=    Write your linewise code for handles; this does the rest

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual

.include <bsd.port.pre.mk>

BUILD_DEPENDS+= p5-Sub-Exporter>=0.900:${PORTSDIR}/devel/p5-Sub-Exporter \
    p5-IO-String>=0:${PORTSDIR}/devel/p5-IO-String
RUN_DEPENDS+=   p5-Sub-Exporter>=0.900:${PORTSDIR}/devel/p5-Sub-Exporter \
    p5-IO-String>=0:${PORTSDIR}/devel/p5-IO-String

.if ${PERL_LEVEL} < 501001
TEST_DEPENDS+=  p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
.endif

PERL_CONFIGURE= yes

MAN3=       Mixin::Linewise::Readers.3 \
        Mixin::Linewise::Writers.3 \
        Mixin::Linewise.3
PLIST_FILES+=   %%SITE_PERL%%/Mixin/Linewise/Readers.pm \
        %%SITE_PERL%%/Mixin/Linewise/Writers.pm \
        %%SITE_PERL%%/Mixin/Linewise.pm \
        %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mixin/Linewise/.packlist
PLIST_DIRS+=    %%SITE_PERL%%/Mixin/Linewise \
        %%SITE_PERL%%/Mixin \
        %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mixin/Linewise \
        %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mixin

.include <bsd.port.post.mk>