[134367] trunk/dports/textproc/xercesc3/Portfile

scantor at macports.org scantor at macports.org
Mon Mar 23 11:05:00 PDT 2015


Revision: 134367
          https://trac.macports.org/changeset/134367
Author:   scantor at macports.org
Date:     2015-03-23 11:05:00 -0700 (Mon, 23 Mar 2015)
Log Message:
-----------
Revision that renames bin files to address defect #45722

Modified Paths:
--------------
    trunk/dports/textproc/xercesc3/Portfile

Modified: trunk/dports/textproc/xercesc3/Portfile
===================================================================
--- trunk/dports/textproc/xercesc3/Portfile	2015-03-23 17:33:11 UTC (rev 134366)
+++ trunk/dports/textproc/xercesc3/Portfile	2015-03-23 18:05:00 UTC (rev 134367)
@@ -5,10 +5,8 @@
 
 name                xercesc3
 conflicts           xercesc
-if {[file exists ${prefix}/bin/memparse]} {
-    conflicts-append libmemcached
-}
 version             3.1.2
+revision            1
 categories          textproc xml shibboleth
 maintainers         snc scantor
 license             Apache-2
@@ -36,6 +34,13 @@
 
 depends_lib         port:icu
 
+post-destroot {
+    # Rename the bin programs with a prefix to avoid conflicts
+    foreach f [glob -tails -directory ${destroot}${prefix}/bin *] {
+        move ${destroot}${prefix}/bin/${f} ${destroot}${prefix}/bin/Xerces${f}
+    }
+}
+
 livecheck.type      regex
 livecheck.url       http://www.apache.org/dist/xerces/c/3/sources/
 livecheck.regex     xerces-c-(\\d+\\.\\d+\\.\\d+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150323/f9b26cca/attachment.html>


More information about the macports-changes mailing list