Add textproc/p5-YAML, an implementation of YAML in Perl.

This commit is contained in:
Anton Berezin 2003-05-01 18:36:00 +00:00
parent 2631ac4263
commit 7bde380462
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79955
5 changed files with 68 additions and 0 deletions

View file

@ -293,6 +293,7 @@
SUBDIR += p5-XML-XSH
SUBDIR += p5-XML-XSLT
SUBDIR += p5-XML-XUpdate-LibXML
SUBDIR += p5-YAML
SUBDIR += p5-dTemplate
SUBDIR += p5-libxml
SUBDIR += p5-podlators

39
textproc/p5-YAML/Makefile Normal file
View file

@ -0,0 +1,39 @@
# New ports collection makefile for: textproc/p5-YAML
# Date created: 01 May 2003
# Whom: Anton Berezin <tobez@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= YAML
PORTVERSION= 0.35
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= YAML
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= "YAML implementation in Perl"
PERL_CONFIGURE= yes
CONFIGURE_ARGS+= </dev/null
MAN1= phone2yaml.1 ysh.1 yaml2outline.1 xyx.1
MAN3= YAML.3 YAML::Node.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
post-install:
@${ECHO} ""
@${ECHO} "You are using an old version of Perl."
@${ECHO} ""
@${ECHO} "YAML.pm module is known to be buggy with your"
@${ECHO} "version of Perl. It should mostly work, but"
@${ECHO} "it will not be able to dump Perl code correctly."
@${ECHO} ""
@${ECHO} "Perhaps you should consider an upgrade."
@${ECHO} ""
.endif
.include <bsd.port.post.mk>

View file

@ -0,0 +1 @@
MD5 (YAML-0.35.tar.gz) = 03f1c4446fae2bcc7d606b0b3ded0632

View file

@ -0,0 +1,14 @@
The YAML.pm module implements a YAML Loader and Dumper based on the YAML
1.0 specification, http://www.yaml.org/spec/
YAML is a generic data serialization language that is optimized for
human readability. It can be used to express the data structures of most
modern programming languages, including Perl.
For information on the YAML syntax, please refer to the YAML
specification.
WWW: http://search.cpan.org/search?dist=YAML
-Anton

View file

@ -0,0 +1,13 @@
bin/xyx
bin/ysh
bin/yaml2outline
bin/phone2yaml
%%SITE_PERL%%/%%PERL_ARCH%%/auto/YAML/.packlist
%%SITE_PERL%%/YAML/Transfer.pm
%%SITE_PERL%%/YAML/Node.pm
%%SITE_PERL%%/YAML/Error.pm
%%SITE_PERL%%/YAML/Family.pm
%%SITE_PERL%%/YAML.pod
%%SITE_PERL%%/YAML.pm
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/YAML 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/YAML 2>/dev/null || true