aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-YAML/Makefile
blob: 8352a71698e52d33850d35e0ffa856b235cbc88b (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
# New ports collection makefile for:    textproc/p5-YAML
# Date created:             01 May 2003
# Whom:                 Anton Berezin <tobez@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   YAML
PORTVERSION=    0.66
CATEGORIES= textproc perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= YAML
PKGNAMEPREFIX=  p5-

MAINTAINER= tobez@FreeBSD.org
COMMENT=    YAML implementation in Perl

BUILD_DEPENDS=  \
    p5-Test-Base>=0.47:${PORTSDIR}/devel/p5-Test-Base
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes
CONFIGURE_ARGS+=    </dev/null

MAN1=   ysh.1
MAN3=   \
    Test::YAML.3 \
    YAML.3 \
    YAML::Base.3 \
    YAML::Dumper.3 \
    YAML::Dumper::Base.3 \
    YAML::Error.3 \
    YAML::Loader.3 \
    YAML::Loader::Base.3 \
    YAML::Marshall.3 \
    YAML::Node.3 \
    YAML::Tag.3 \
    YAML::Types.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500803
post-install:
    @${ECHO_MSG} ""
    @${ECHO_MSG} "===> You are using an old version of Perl."
    @${ECHO_MSG} ""
    @${ECHO_MSG} "===> YAML.pm module is known to be buggy with your"
    @${ECHO_MSG} "===> version of Perl.  It should mostly work, but"
    @${ECHO_MSG} "===> it will not be able to dump Perl code correctly."
    @${ECHO_MSG} ""
    @${ECHO_MSG} "===> Perhaps you should consider an upgrade."
    @${ECHO_MSG} ""
.endif

.include <bsd.port.post.mk>