[137165] trunk/dports/textproc/xmlformat/Portfile
devans at macports.org
devans at macports.org
Fri Jun 5 14:28:48 PDT 2015
Revision: 137165
https://trac.macports.org/changeset/137165
Author: devans at macports.org
Date: 2015-06-05 14:28:48 -0700 (Fri, 05 Jun 2015)
Log Message:
-----------
xmlformat: add mode line and reformat, white space only.
Modified Paths:
--------------
trunk/dports/textproc/xmlformat/Portfile
Modified: trunk/dports/textproc/xmlformat/Portfile
===================================================================
--- trunk/dports/textproc/xmlformat/Portfile 2015-06-05 21:14:18 UTC (rev 137164)
+++ trunk/dports/textproc/xmlformat/Portfile 2015-06-05 21:28:48 UTC (rev 137165)
@@ -1,42 +1,43 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
+PortSystem 1.0
-name xmlformat
-version 1.03
-categories textproc perl ruby
-license BSD Permissive
-platforms darwin
-supported_archs noarch
-maintainers nomaintainer
-description formatter for XML documents
-long_description xmlformat is a configurable formatter (or \
- pretty-printer) for XML documents. It provides control \
- over indentation, line-breaking, and text wrapping. \
- These properties can be defined on a per-element \
- basis. There is a perl and a ruby variant of this \
- program available.
+name xmlformat
+version 1.03
+categories textproc perl ruby
+license BSD Permissive
+platforms darwin
+supported_archs noarch
+maintainers nomaintainer
+description formatter for XML documents
+long_description xmlformat is a configurable formatter (or \
+ pretty-printer) for XML documents. It provides control \
+ over indentation, line-breaking, and text wrapping. \
+ These properties can be defined on a per-element \
+ basis. There is a perl and a ruby variant of this \
+ program available.
-homepage http://www.kitebird.com/software/xmlformat/
-master_sites ${homepage}
-checksums md5 23a1a4f6c49cc83ebae0f8f25d1e2069
+homepage http://www.kitebird.com/software/xmlformat/
+master_sites ${homepage}
+checksums md5 23a1a4f6c49cc83ebae0f8f25d1e2069
-depends_run bin:perl:perl5
-set ext pl
+depends_run bin:perl:perl5
+set ext pl
-variant ruby {
- set ext rb
- depends_run bin:ruby:ruby
+variant ruby {
+ set ext rb
+ depends_run bin:ruby:ruby
}
-configure {
- reinplace "s|/usr/bin/|/usr/bin/env |1" ${worksrcpath}/xmlformat.${ext}
- reinplace "s|-w||1" ${worksrcpath}/xmlformat.${ext}
+configure {
+ reinplace "s|/usr/bin/|/usr/bin/env |1" ${worksrcpath}/xmlformat.${ext}
+ reinplace "s|-w||1" ${worksrcpath}/xmlformat.${ext}
}
-build {}
+build {}
-destroot {
- xinstall -m 755 ${worksrcpath}/xmlformat.${ext} \
- ${destroot}${prefix}/bin/xmlformat
+destroot {
+ xinstall -m 755 ${worksrcpath}/xmlformat.${ext} \
+ ${destroot}${prefix}/bin/xmlformat
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150605/15924d42/attachment-0001.html>
More information about the macports-changes
mailing list