[20129] trunk/dports/textproc
source_changes at macosforge.org
source_changes at macosforge.org
Sun Oct 22 10:45:32 PDT 2006
Revision: 20129
http://trac.macosforge.org/projects/macports/changeset/20129
Author: rhwood at macports.org
Date: 2006-10-22 10:45:31 -0700 (Sun, 22 Oct 2006)
Log Message:
-----------
New port xmlstarlet; closes ticket:10838
Added Paths:
-----------
trunk/dports/textproc/xmlstarlet/
trunk/dports/textproc/xmlstarlet/Portfile
trunk/dports/textproc/xmlstarlet/files/
trunk/dports/textproc/xmlstarlet/files/patch-configure
Added: trunk/dports/textproc/xmlstarlet/Portfile
===================================================================
--- trunk/dports/textproc/xmlstarlet/Portfile (rev 0)
+++ trunk/dports/textproc/xmlstarlet/Portfile 2006-10-22 17:45:31 UTC (rev 20129)
@@ -0,0 +1,25 @@
+# $Id: $
+
+PortSystem 1.0
+name xmlstarlet
+version 1.0.1
+categories textproc
+maintainers cedric.luthi at gmail.com
+description xml command line utilities
+long_description XMLStarlet is a set of command line utilities (tools) to \
+ transform, query, validate, and edit XML documents and \
+ files using simple set of shell commands in similar way it \
+ is done for text files with UNIX grep, sed, awk, diff, \
+ patch, join, etc utilities.
+
+homepage http://xmlstar.sourceforge.net
+master_sites sourceforge:xmlstar
+checksums md5 8deb71834bcdfb4443c258a1f0042fce \
+ sha1 48fb2fa7ac9c2c6640b4f21f44459cb08369c18b \
+ rmd160 daa43d5731d9868a2f31c34908212cbc3896a08d
+depends_lib port:libxml2 port:libxslt port:libiconv
+configure.args --with-libxml-prefix=${prefix} \
+ --with-libxslt-prefix=${prefix} \
+ --with-libiconv-prefix=${prefix} \
+ --program-transform-name=s/xml$/${name}/
+patchfiles patch-configure
Added: trunk/dports/textproc/xmlstarlet/files/patch-configure
===================================================================
--- trunk/dports/textproc/xmlstarlet/files/patch-configure (rev 0)
+++ trunk/dports/textproc/xmlstarlet/files/patch-configure 2006-10-22 17:45:31 UTC (rev 20129)
@@ -0,0 +1,29 @@
+--- configure.orig 2006-10-06 14:29:40.000000000 +0200
++++ configure 2006-10-06 15:47:22.000000000 +0200
+@@ -677,7 +677,7 @@
+ else
+ # Double any \ or $. echo might interpret backslashes.
+ cat <<\EOF_SED > conftestsed
+-s,\\,\\\\,g; s,\$,$$,g
++s,\\,\\\\,g;
+ EOF_SED
+ program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
+ rm -f conftestsed
+@@ -1095,7 +1095,7 @@
+ 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 -ldl"
++ LIBXML_LIBS="$withval/lib/libxml2.dylib"
+
+ fi
+
+@@ -1144,7 +1144,7 @@
+ 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="$withval/lib/libxslt.dylib $withval/lib/libexslt.dylib"
+
+ fi
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061022/1b5ed891/attachment.html
More information about the macports-changes
mailing list