diff options
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/xmlstarlet/DESCR | 4 | ||||
-rw-r--r-- | textproc/xmlstarlet/Makefile | 21 | ||||
-rw-r--r-- | textproc/xmlstarlet/PLIST | 3 | ||||
-rw-r--r-- | textproc/xmlstarlet/distinfo | 5 | ||||
-rw-r--r-- | textproc/xmlstarlet/patches/patch-aa | 22 |
5 files changed, 55 insertions, 0 deletions
diff --git a/textproc/xmlstarlet/DESCR b/textproc/xmlstarlet/DESCR new file mode 100644 index 00000000000..76b183160ea --- /dev/null +++ b/textproc/xmlstarlet/DESCR @@ -0,0 +1,4 @@ +XMLStarlet is a command line XML toolkit which can be used to transform, +query, validate, and edit XML documents and files using simple set of shell +commands in similar way it is done for plain text files using grep/sed/awk/ +tr/diff/patch. diff --git a/textproc/xmlstarlet/Makefile b/textproc/xmlstarlet/Makefile new file mode 100644 index 00000000000..3a5d6a94296 --- /dev/null +++ b/textproc/xmlstarlet/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/08/24 11:59:23 drochner Exp $ +# + +DISTNAME= xmlstarlet-0.9.3 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmlstar/} + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://xmlstar.sourceforge.net/ +COMMENT= Command line utilities for XML manipulation + +USE_BUILDLINK3= yes +USE_PKGLOCALEDIR= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --with-libxml-prefix=${BUILDLINK_PREFIX.libxml2} +CONFIGURE_ARGS+= --with-libxslt-prefix=${BUILDLINK_PREFIX.libxslt} + +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../textproc/libxslt/buildlink3.mk" +.include "../../devel/gettext-lib/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/xmlstarlet/PLIST b/textproc/xmlstarlet/PLIST new file mode 100644 index 00000000000..d503ac40126 --- /dev/null +++ b/textproc/xmlstarlet/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/08/24 11:59:23 drochner Exp $ +bin/xml +man/man1/xmlstarlet.1 diff --git a/textproc/xmlstarlet/distinfo b/textproc/xmlstarlet/distinfo new file mode 100644 index 00000000000..d8291226c73 --- /dev/null +++ b/textproc/xmlstarlet/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/08/24 11:59:23 drochner Exp $ + +SHA1 (xmlstarlet-0.9.3.tar.gz) = b93f24eb2306a13ad665b7ab563378ed923a5d61 +Size (xmlstarlet-0.9.3.tar.gz) = 317942 bytes +SHA1 (patch-aa) = 69ee95f3cd6240768056d69c8253e8a26c00964a diff --git a/textproc/xmlstarlet/patches/patch-aa b/textproc/xmlstarlet/patches/patch-aa new file mode 100644 index 00000000000..fdb3a8b5f7e --- /dev/null +++ b/textproc/xmlstarlet/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/08/24 11:59:23 drochner Exp $ + +--- configure.orig 2004-08-24 12:27:58.000000000 +0200 ++++ configure +@@ -871,7 +871,7 @@ if test "${with_libxml_prefix+set}" = se + withval="$with_libxml_prefix" + LIBXML_PREFIX=$withval + LIBXML_CFLAGS="-I$withval/include/libxml2 -I$withval/include/libxml" +- LIBXML_LIBS="$withval/lib/libxml2.a -lz -lm -lpthread" ++ LIBXML_LIBS="-L$withval/lib -lxml2 -lz -lm -lpthread" + + fi + +@@ -920,7 +920,7 @@ if test "${with_libxslt_prefix+set}" = s + withval="$with_libxslt_prefix" + LIBXSLT_PREFIX=$withval + LIBXSLT_CFLAGS="-I$withval/include/libxslt -I$withval/include/libexslt" +- LIBXSLT_LIBS="$withval/lib/libxslt.a $withval/lib/libexslt.a -lz -lm -lpthread" ++ LIBXSLT_LIBS="-L$withval/lib -lxslt -lexslt -lz -lm -lpthread" + + fi + |