[77671] trunk/dports/textproc/xmlstarlet
ryandesign at macports.org
ryandesign at macports.org
Fri Apr 8 01:04:20 PDT 2011
Revision: 77671
http://trac.macports.org/changeset/77671
Author: ryandesign at macports.org
Date: 2011-04-08 01:04:19 -0700 (Fri, 08 Apr 2011)
Log Message:
-----------
xmlstarlet: fix usage message in manpage; indicate license; install doc files
Modified Paths:
--------------
trunk/dports/textproc/xmlstarlet/Portfile
Added Paths:
-----------
trunk/dports/textproc/xmlstarlet/files/
trunk/dports/textproc/xmlstarlet/files/patch-doc-xmlstarlet.1.diff
Modified: trunk/dports/textproc/xmlstarlet/Portfile
===================================================================
--- trunk/dports/textproc/xmlstarlet/Portfile 2011-04-08 07:51:52 UTC (rev 77670)
+++ trunk/dports/textproc/xmlstarlet/Portfile 2011-04-08 08:04:19 UTC (rev 77671)
@@ -4,8 +4,11 @@
name xmlstarlet
version 1.1.0
+revision 1
categories textproc
maintainers nomaintainer
+license MIT
+
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 \
@@ -21,10 +24,27 @@
rmd160 c3710b2c311cac6a1a340778cb36690c528fd0bf
depends_lib port:libxml2 port:libxslt port:libiconv
+
+patchfiles patch-doc-xmlstarlet.1.diff
+
configure.args --with-libxml-prefix=${prefix} \
--with-libxslt-prefix=${prefix} \
--with-libiconv-prefix=${prefix} \
--mandir=${prefix}/share/man \
--program-transform-name=s/xml$/${name}/
+post-destroot {
+ set docdir ${destroot}${prefix}/share/doc/${name}
+ xinstall -d ${docdir}
+ xinstall -m 644 -W ${worksrcpath} \
+ AUTHORS \
+ COPYING \
+ NEWS \
+ README \
+ TODO \
+ doc/xmlstarlet-ug.pdf \
+ doc/xmlstarlet.pdf \
+ ${docdir}
+}
+
livecheck.regex <title>${name} (.*) released.*</title>
Added: trunk/dports/textproc/xmlstarlet/files/patch-doc-xmlstarlet.1.diff
===================================================================
--- trunk/dports/textproc/xmlstarlet/files/patch-doc-xmlstarlet.1.diff (rev 0)
+++ trunk/dports/textproc/xmlstarlet/files/patch-doc-xmlstarlet.1.diff 2011-04-08 08:04:19 UTC (rev 77671)
@@ -0,0 +1,11 @@
+--- doc/xmlstarlet.1.orig 2011-03-26 22:36:31.000000000 -0500
++++ doc/xmlstarlet.1 2011-04-08 02:58:53.000000000 -0500
+@@ -46,7 +46,7 @@
+ .SH "COMMANDS"
+
+ .PP
+-Type: xml <command> \-\-help <ENTER> for command help
++Type: xmlstarlet <command> \-\-help <ENTER> for command help
+
+ .PP
+ Available commands include:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110408/a453af72/attachment.html>
More information about the macports-changes
mailing list