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:
parent
8a540197e0
commit
e7d05a7642
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97441
@ -155,6 +155,7 @@
|
||||
SUBDIR += libebml
|
||||
SUBDIR += liblingoteach
|
||||
SUBDIR += liblrdf
|
||||
SUBDIR += libparsifal
|
||||
SUBDIR += libpathan
|
||||
SUBDIR += libtre
|
||||
SUBDIR += libuninameslist
|
||||
|
24
textproc/libparsifal/Makefile
Normal file
24
textproc/libparsifal/Makefile
Normal 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>
|
1
textproc/libparsifal/distinfo
Normal file
1
textproc/libparsifal/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (libparsifal-0.7.3.tar.gz) = b00720303679fb7e185b1101553433e9
|
15
textproc/libparsifal/files/patch-conf:ltmain.sh
Normal file
15
textproc/libparsifal/files/patch-conf:ltmain.sh
Normal 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"
|
20
textproc/libparsifal/pkg-descr
Normal file
20
textproc/libparsifal/pkg-descr
Normal 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/
|
10
textproc/libparsifal/pkg-plist
Normal file
10
textproc/libparsifal/pkg-plist
Normal 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
|
Loading…
Reference in New Issue
Block a user