[86249] trunk/dports/textproc

ryandesign at macports.org ryandesign at macports.org
Sun Oct 23 15:32:20 PDT 2011


Revision: 86249
          http://trac.macports.org/changeset/86249
Author:   ryandesign at macports.org
Date:     2011-10-23 15:32:16 -0700 (Sun, 23 Oct 2011)
Log Message:
-----------
xmlpatch: new port, version 0.3.3; see #31733

Added Paths:
-----------
    trunk/dports/textproc/xmlpatch/
    trunk/dports/textproc/xmlpatch/Portfile
    trunk/dports/textproc/xmlpatch/files/
    trunk/dports/textproc/xmlpatch/files/patch-tests-check_diff.c.diff

Added: trunk/dports/textproc/xmlpatch/Portfile
===================================================================
--- trunk/dports/textproc/xmlpatch/Portfile	                        (rev 0)
+++ trunk/dports/textproc/xmlpatch/Portfile	2011-10-23 22:32:16 UTC (rev 86249)
@@ -0,0 +1,50 @@
+# -*- 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
+
+name                xmlpatch
+version             0.3.3
+categories          textproc
+platforms           darwin
+maintainers         urchin.earth.li:twic
+license             LGPL-2.1+
+
+# where possible, informative values are copied from the Debian package
+# definition in the upstream source; failing that, the home page.
+
+description         an XML patching handler library
+
+long_description    The xmlpatch library is framework utilizing XML path \
+                    language (XPath) selectors with the aid of which a set of \
+                    patches can be applied to an existing initial XML document.
+
+homepage            http://xmlpatch.sourceforge.net/
+master_sites        sourceforge:project/xmlpatch/xmlpatch/${version}
+distname            lib${distname}
+
+checksums           rmd160  2c6445291134bf408711c980401041df127ddf32 \
+                    sha256  7236eec7bc450580c99c2d465ce2573687bb0229aa469e961bcbb0ffcb029d55
+
+depends_lib         port:libxml2 \
+                    path:lib/pkgconfig/glib-2.0.pc:glib2
+
+depends_build       port:check
+
+# patch tests to work with current version of check (not yet fixed in upstream)
+patchfiles          patch-tests-check_diff.c.diff
+
+test.run            yes
+test.target         check
+
+post-destroot {
+    set docdir ${destroot}${prefix}/share/doc/${name}
+    xinstall -d ${docdir}
+    xinstall -m 644 -W ${worksrcpath} \
+        COPYING \
+        ChangeLog \
+        LEGAL_NOTICE \
+        README \
+        TODO \
+        ${docdir}
+}


Property changes on: trunk/dports/textproc/xmlpatch/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/textproc/xmlpatch/files/patch-tests-check_diff.c.diff
===================================================================
--- trunk/dports/textproc/xmlpatch/files/patch-tests-check_diff.c.diff	                        (rev 0)
+++ trunk/dports/textproc/xmlpatch/files/patch-tests-check_diff.c.diff	2011-10-23 22:32:16 UTC (rev 86249)
@@ -0,0 +1,11 @@
+--- tests/check_diff.c.orig	2010-03-03 13:30:12.000000000 +0000
++++ tests/check_diff.c	2011-10-23 12:22:16.000000000 +0100
+@@ -259,7 +259,7 @@
+ static void
+ add_test (TCase *tc, int i)
+ {
+-    _tcase_add_test (tc, arr_tests[i].fn, arr_tests[i].name, 0, 0, 1);
++    _tcase_add_test (tc, arr_tests[i].fn, arr_tests[i].name, 0, 0, 0, 1);
+ }
+ 
+ static void
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111023/8fe2eea8/attachment-0001.html>


More information about the macports-changes mailing list