aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2003-05-01 18:36:00 +0000
committerAnton Berezin <tobez@FreeBSD.org>2003-05-01 18:36:00 +0000
commit7bde380462a75816071b61e3547144ba70cc48d5 (patch)
treec8a64157254262a6b6ce7a6006225b8898f46fef
parent2631ac4263eebe52d38e907d971c5f5d74070dca (diff)
downloadports-7bde380462a75816071b61e3547144ba70cc48d5.tar.gz
ports-7bde380462a75816071b61e3547144ba70cc48d5.zip
Notes
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-YAML/Makefile39
-rw-r--r--textproc/p5-YAML/distinfo1
-rw-r--r--textproc/p5-YAML/pkg-descr14
-rw-r--r--textproc/p5-YAML/pkg-plist13
5 files changed, 68 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 09cd5f687a40..a69eeee2a65e 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -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
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