Skip to content
Permalink
Browse files

xmlstarlet: fix usage message in manpage; indicate license; install d…

…oc files

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@77671 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
ryandesign committed Apr 8, 2011
1 parent bf645ab commit b1ad90ea694c7d9614b9226d0a7bdfd35856fd4e
Showing with 31 additions and 0 deletions.
  1. +20 −0 textproc/xmlstarlet/Portfile
  2. +11 −0 textproc/xmlstarlet/files/patch-doc-xmlstarlet.1.diff
@@ -4,8 +4,11 @@ PortSystem 1.0

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 @@ checksums sha1 d8b5976687681bf0fe80ddc01627939424485f6d \
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>
@@ -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:

0 comments on commit b1ad90e

Please sign in to comment.
You can’t perform that action at this time.