Changeset 97948


Ignore:
Timestamp:
Sep 20, 2012, 6:01:48 PM (12 years ago)
Author:
blair@…
Message:

py-httplib2: use the standard ${name} != ${subport} condition for subports.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-httplib2/Portfile

    r97824 r97948  
    2424                  sha256 baa7bf431fa9d3c1016562de717e1ebb322a99df72a2918f6b5b8f65fa65bc2e
    2525
    26 if {${name} == ${subport}} {
     26if {${name} != ${subport}} {
     27  livecheck.type    none
     28} else {
    2729  livecheck.type    regex
    2830  livecheck.url     ${homepage}downloads/list
    2931  livecheck.regex   {httplib(\d-\d+(?:\.\d+)*).tar.gz}
    30 } else {
    31   livecheck.type    none
    3232}
Note: See TracChangeset for help on using the changeset viewer.