Initial import of YAML-0.35

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.

ok sturm@
This commit is contained in:
msf 2004-05-19 21:13:34 +00:00
parent 41d52c9780
commit 5b02444b6d
5 changed files with 86 additions and 0 deletions

24
devel/p5-YAML/Makefile Normal file
View File

@ -0,0 +1,24 @@
# $OpenBSD: Makefile,v 1.1.1.1 2004/05/19 21:13:34 msf Exp $
COMMENT= "YAML ain't a markup language"
V= 0.35
DISTNAME= YAML-0.35
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=YAML/}
MAINTAINER= Mathieu Sauve-Frankel <msf@openbsd.org>
# Artistic
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
RUN_DEPENDS= ::textproc/p5-XML-Simple
CONFIGURE_STYLE= perl
.include <bsd.port.mk>

3
devel/p5-YAML/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (YAML-0.35.tar.gz) = 03f1c4446fae2bcc7d606b0b3ded0632
RMD160 (YAML-0.35.tar.gz) = 3ca68e7be7ccb379b3f6520679bb51fb92d8bad0
SHA1 (YAML-0.35.tar.gz) = fb97a08a56f3b2dd80c62d7b33ee0c5da480ef32

View File

@ -0,0 +1,36 @@
$OpenBSD: patch-Makefile_PL,v 1.1.1.1 2004/05/19 21:13:34 msf Exp $
--- Makefile.PL.orig 2002-06-24 23:59:08.000000000 -0400
+++ Makefile.PL 2004-04-29 09:53:45.000000000 -0400
@@ -1,19 +1,19 @@
use ExtUtils::MakeMaker;
-my @programs;
+my @programs = ('ysh', 'xyx', 'yaml2outline', 'phone2yaml' );
-for (split "\n", <<'QUERIES') {
-ysh|y|YAML Shell
-xyx|y|YAML<->XML transform
-yaml2outline|y|YAML-to-Outline converter
-phone2yaml|y|Palm phone list converter
-QUERIES
- my ($program, $default, $description) = split /\|/, $_;
- if (prompt("Do you want to install '$program', the $description?",
- $default) =~ /^y/) {
- push(@programs, $program);
- }
-}
+#for (split "\n", <<'QUERIES') {
+#ysh|y|YAML Shell
+#xyx|y|YAML<->XML transform
+#yaml2outline|y|YAML-to-Outline converter
+#phone2yaml|y|Palm phone list converter
+#QUERIES
+# my ($program, $default, $description) = split /\|/, $_;
+# if (prompt("Do you want to install '$program', the $description?",
+# $default) =~ /^y/) {
+# push(@programs, $program);
+# }
+#}
WriteMakefile(
NAME => 'YAML',

3
devel/p5-YAML/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
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.

20
devel/p5-YAML/pkg/PLIST Normal file
View File

@ -0,0 +1,20 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/05/19 21:13:34 msf Exp $
bin/phone2yaml
bin/xyx
bin/yaml2outline
bin/ysh
${P5SITE}/YAML.pm
${P5SITE}/YAML.pod
${P5SITE}/YAML/Error.pm
${P5SITE}/YAML/Family.pm
${P5SITE}/YAML/Node.pm
${P5SITE}/YAML/Transfer.pm
@comment ${P5ARCH}/auto/YAML/.packlist
man/man1/phone2yaml.1
man/man1/xyx.1
man/man1/yaml2outline.1
man/man1/ysh.1
man/man3p/YAML.3p
man/man3p/YAML::Node.3p
@comment @dirrm ${P5ARCH}/auto/YAML
@dirrm ${P5SITE}/YAML