1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

add libparsifal 0.7.3

Lightweight XML Parser
This commit is contained in:
Ying-Chieh Liao 2004-01-06 06:46:09 +00:00
parent 8a540197e0
commit e7d05a7642
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97441
6 changed files with 71 additions and 0 deletions

View File

@ -155,6 +155,7 @@
SUBDIR += libebml
SUBDIR += liblingoteach
SUBDIR += liblrdf
SUBDIR += libparsifal
SUBDIR += libpathan
SUBDIR += libtre
SUBDIR += libuninameslist

View File

@ -0,0 +1,24 @@
# ex:ts=8
# Ports collection makefile for: libparsifal
# Date created: Jan 6, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= libparsifal
PORTVERSION= 0.7.3
CATEGORIES= textproc
MASTER_SITES= http://www.saunalahti.fi/~samiuus/toni/xmlproc/
MAINTAINER= ports@FreeBSD.org
COMMENT= Lightweight XML Parser
USE_REINPLACE= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
post-patch:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e "s| ||"
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (libparsifal-0.7.3.tar.gz) = b00720303679fb7e185b1101553433e9

View File

@ -0,0 +1,15 @@
--- conf/ltmain.sh.orig Tue Jan 6 14:43:27 2004
+++ conf/ltmain.sh Tue Jan 6 14:43:42 2004
@@ -4247,10 +4247,12 @@
fi
# Install the pseudo-library for information purposes.
+ if /usr/bin/false ; then
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
instname="$dir/$name"i
$show "$install_prog $instname $destdir/$name"
$run eval "$install_prog $instname $destdir/$name" || exit $?
+ fi
# Maybe install the static library, too.
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"

View File

@ -0,0 +1,20 @@
Parsifal is minimal non-validating XML parser written in ANSI C. Parsifal
implements the subset of SAX2 including namespace support.
Parsifal can be used for parsing XML based messages (such as SOAP and RSS) and
for application specific data processing e.g. config files, data files etc.
Parsifal can also be used for limited document-oriented processing and for
parsing modular documents because it contains supports for internal and
external general entities - it doesn't support currently parameter entities or
other DTD features. Parsifal can be used for processing large data files and
streams too since its SAX based and consumes very little memory not to mention
it is fast enough for most purposes 'cos its written in C.
Using Parsifal in place of large XML processing libraries (e.g. libxml, xerces)
or even in the place of small Expat (which is considerably bigger and more
complicated) can be justified for limited memory environments and in
applications requiring bundled parser. If you need higher level tools, for
example library supporting DTD validation or dom/xpath processing, you should
look for other libs of course.
WWW: http://www.saunalahti.fi/~samiuus/toni/xmlproc/

View File

@ -0,0 +1,10 @@
include/libparsifal/bistream.h
include/libparsifal/isrcmem.h
include/libparsifal/parsifal.h
include/libparsifal/xmlhash.h
include/libparsifal/xmlsbuf.h
include/libparsifal/xmlvect.h
@dirrm include/libparsifal
lib/libparsifal-0.7.3.so
lib/libparsifal.a
lib/libparsifal.so