freebsd-ports/textproc/p5-YAML/Makefile
Mark Linimon 9839011ec3 Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.

Work done by:	gabor
Sponsored by:	Google Summer of Code 2007
Hat:		portmgr
2007-09-08 01:12:10 +00:00

55 lines
1.2 KiB
Makefile

# New ports collection makefile for: textproc/p5-YAML
# Date created: 01 May 2003
# Whom: Anton Berezin <tobez@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= YAML
PORTVERSION= 0.65
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>