diff options
author | tobez <tobez@FreeBSD.org> | 2003-05-02 02:36:00 +0800 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2003-05-02 02:36:00 +0800 |
commit | 5bd165cc6b48e9edf1c2575efdb2c798dca7bbcf (patch) | |
tree | 1e1c06deeb8cdd8507507360ce232c78a5cce1fa /textproc/p5-YAML | |
parent | fbe4b92f86c85164b8a656823578ec8264d88ad4 (diff) | |
download | freebsd-ports-gnome-5bd165cc6b48e9edf1c2575efdb2c798dca7bbcf.tar.gz freebsd-ports-gnome-5bd165cc6b48e9edf1c2575efdb2c798dca7bbcf.tar.zst freebsd-ports-gnome-5bd165cc6b48e9edf1c2575efdb2c798dca7bbcf.zip |
Add textproc/p5-YAML, an implementation of YAML in Perl.
Diffstat (limited to 'textproc/p5-YAML')
-rw-r--r-- | textproc/p5-YAML/Makefile | 39 | ||||
-rw-r--r-- | textproc/p5-YAML/distinfo | 1 | ||||
-rw-r--r-- | textproc/p5-YAML/pkg-descr | 14 | ||||
-rw-r--r-- | textproc/p5-YAML/pkg-plist | 13 |
4 files changed, 67 insertions, 0 deletions
diff --git a/textproc/p5-YAML/Makefile b/textproc/p5-YAML/Makefile new file mode 100644 index 000000000000..ecc59b871c06 --- /dev/null +++ b/textproc/p5-YAML/Makefile @@ -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> diff --git a/textproc/p5-YAML/distinfo b/textproc/p5-YAML/distinfo new file mode 100644 index 000000000000..9f558cd21682 --- /dev/null +++ b/textproc/p5-YAML/distinfo @@ -0,0 +1 @@ +MD5 (YAML-0.35.tar.gz) = 03f1c4446fae2bcc7d606b0b3ded0632 diff --git a/textproc/p5-YAML/pkg-descr b/textproc/p5-YAML/pkg-descr new file mode 100644 index 000000000000..44119cc597e1 --- /dev/null +++ b/textproc/p5-YAML/pkg-descr @@ -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 diff --git a/textproc/p5-YAML/pkg-plist b/textproc/p5-YAML/pkg-plist new file mode 100644 index 000000000000..cd7a57815bf0 --- /dev/null +++ b/textproc/p5-YAML/pkg-plist @@ -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 |