[92402] trunk/dports/perl/p5-html-treebuilder-xpath/Portfile

jmr at macports.org jmr at macports.org
Fri Apr 27 12:50:08 PDT 2012


Revision: 92402
          https://trac.macports.org/changeset/92402
Author:   jmr at macports.org
Date:     2012-04-27 12:50:07 -0700 (Fri, 27 Apr 2012)
Log Message:
-----------
p5-html-treebuilder-xpath: fix dependencies, description

Modified Paths:
--------------
    trunk/dports/perl/p5-html-treebuilder-xpath/Portfile

Modified: trunk/dports/perl/p5-html-treebuilder-xpath/Portfile
===================================================================
--- trunk/dports/perl/p5-html-treebuilder-xpath/Portfile	2012-04-27 19:36:38 UTC (rev 92401)
+++ trunk/dports/perl/p5-html-treebuilder-xpath/Portfile	2012-04-27 19:50:07 UTC (rev 92402)
@@ -9,12 +9,14 @@
 maintainers         nomaintainer
 supported_archs     noarch
 
-description         HTML::TreeBuilder::XPath (no description available)
+description         add XPath support to HTML::TreeBuilder
 
 long_description    ${description}
 
 checksums           rmd160  0d32cb3e3b57b233c5b1311adc2585da50c4381e \
                     sha256  25ebbdb2444a0a599ae5e7a457d75e09efcdf3266a5c5700b1403ccb7488a4f3
 
-depends_lib-append  port:p5-xml-xpathengine \
-                    port:p5-html-tree
+if {${perl5.major} != ""} {
+depends_lib-append  port:p${perl5.major}-xml-xpathengine \
+                    port:p${perl5.major}-html-tree
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120427/4ba477d1/attachment-0001.html>


More information about the macports-changes mailing list