ports/102712: [NEW PORT] devel/libyaml: A YAML 1.1 parser and emitter written in C

Ying-Chieh Liao ijliao at csie.nctu.edu.tw
Thu Aug 31 01:30:23 UTC 2006


>Number:         102712
>Category:       ports
>Synopsis:       [NEW PORT] devel/libyaml: A YAML 1.1 parser and emitter written in C
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 31 01:30:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Liao
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD FreeBSD.csie.nctu.edu.tw 6.1-STABLE FreeBSD 6.1-STABLE #9: Thu May 11 14:31:45 CST 2006
>Description:
LibYAML is a YAML 1.1 parser and emitter written in C.

LibYAML covers presenting and parsing processes. Thus LibYAML defines the
following two processors:
   * Parser, which takes an input stream of bytes and produces a sequence
     of parsing events.
   * Emitter, which takes a sequence of events and produces a stream of
     bytes. 

The processes of parsing and presenting are inverse to each other. Any
sequence of events produced by parsing a well-formed YAML document should
be acceptable by the Emitter, which should produce an equivalent document.
Similarly, any document produced by emitting a sequence of events should
be acceptable for the Parser, which should produce an equivalent sequence
of events.

The job of resolving implicit tags, composing and serializing representation
trees, as well as constructing and representing native objects is left to
applications and bindings. Although some of these processes may be covered
in the latter releases, they are not in the scope of the initial release of
LibYAML.

WWW: http://pyyaml.org/wiki/LibYAML

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- libyaml-0.0.1.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	libyaml
#	libyaml/Makefile
#	libyaml/distinfo
#	libyaml/pkg-descr
#	libyaml/files
#	libyaml/files/patch-tests-Makefile.in
#	libyaml/files/patch-config-ltmain.sh
#
echo c - libyaml
mkdir -p libyaml > /dev/null 2>&1
echo x - libyaml/Makefile
sed 's/^X//' >libyaml/Makefile << 'END-of-libyaml/Makefile'
X# ex:ts=8
X# Ports collection makefile for:	libyaml
X# Date created:			Aug 31, 2006
X# Whom:				ijliao
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libyaml
XPORTVERSION=	0.0.1
XCATEGORIES=	devel
XMASTER_SITES=	http://pyyaml.org/download/libyaml/
XDISTNAME=	yaml-${PORTVERSION}
X
XMAINTAINER=	ports at FreeBSD.org
XCOMMENT=	A YAML 1.1 parser and emitter written in C
X
XGNU_CONFIGURE=	yes
XUSE_LDCONFIG=	yes
X
XPLIST_FILES=	include/yaml.h \
X		lib/libyaml-0.so \
X		lib/libyaml-0.so.0 \
X		lib/libyaml.a \
X		lib/libyaml.so
X
X.include <bsd.port.mk>
END-of-libyaml/Makefile
echo x - libyaml/distinfo
sed 's/^X//' >libyaml/distinfo << 'END-of-libyaml/distinfo'
XMD5 (yaml-0.0.1.tar.gz) = 8affdebeb0da9ed6a4cefba210b432d4
XSHA256 (yaml-0.0.1.tar.gz) = a8f1b4910898eecdc611d6c0a527e225ce82fe3a030f344ee690b86c07c6f52e
XSIZE (yaml-0.0.1.tar.gz) = 410784
END-of-libyaml/distinfo
echo x - libyaml/pkg-descr
sed 's/^X//' >libyaml/pkg-descr << 'END-of-libyaml/pkg-descr'
XLibYAML is a YAML 1.1 parser and emitter written in C.
X
XLibYAML covers presenting and parsing processes. Thus LibYAML defines the
Xfollowing two processors:
X   * Parser, which takes an input stream of bytes and produces a sequence
X     of parsing events.
X   * Emitter, which takes a sequence of events and produces a stream of
X     bytes. 
X
XThe processes of parsing and presenting are inverse to each other. Any
Xsequence of events produced by parsing a well-formed YAML document should
Xbe acceptable by the Emitter, which should produce an equivalent document.
XSimilarly, any document produced by emitting a sequence of events should
Xbe acceptable for the Parser, which should produce an equivalent sequence
Xof events.
X
XThe job of resolving implicit tags, composing and serializing representation
Xtrees, as well as constructing and representing native objects is left to
Xapplications and bindings. Although some of these processes may be covered
Xin the latter releases, they are not in the scope of the initial release of
XLibYAML.
X
XWWW: http://pyyaml.org/wiki/LibYAML
END-of-libyaml/pkg-descr
echo c - libyaml/files
mkdir -p libyaml/files > /dev/null 2>&1
echo x - libyaml/files/patch-tests-Makefile.in
sed 's/^X//' >libyaml/files/patch-tests-Makefile.in << 'END-of-libyaml/files/patch-tests-Makefile.in'
X--- tests/Makefile.in.orig	Thu Aug 31 09:16:34 2006
X+++ tests/Makefile.in	Thu Aug 31 09:16:46 2006
X@@ -201,7 +201,7 @@
X sysconfdir = @sysconfdir@
X target_alias = @target_alias@
X AM_CPPFLAGS = -I$(top_srcdir)/include
X-AM_CFLAGS = -Wno-pointer-sign
X+#AM_CFLAGS = -Wno-pointer-sign
X LDADD = $(top_builddir)/src/libyaml.la
X TESTS = test-version test-reader
X all: all-am
END-of-libyaml/files/patch-tests-Makefile.in
echo x - libyaml/files/patch-config-ltmain.sh
sed 's/^X//' >libyaml/files/patch-config-ltmain.sh << 'END-of-libyaml/files/patch-config-ltmain.sh'
X--- config/ltmain.sh.orig	Thu Aug 31 09:21:40 2006
X+++ config/ltmain.sh	Thu Aug 31 09:21:52 2006
X@@ -6003,10 +6003,12 @@
X 	fi
X 
X 	# Install the pseudo-library for information purposes.
X+	if /usr/bin/false ; then
X 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
X 	instname="$dir/$name"i
X 	$show "$install_prog $instname $destdir/$name"
X 	$run eval "$install_prog $instname $destdir/$name" || exit $?
X+	fi
X 
X 	# Maybe install the static library, too.
X 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
END-of-libyaml/files/patch-config-ltmain.sh
exit
--- libyaml-0.0.1.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list