Ticket #27323: drush.patch

File drush.patch, 2.3 KB (added by chuck@…, 13 years ago)
  • www/drush/Portfile

    old new  
    1 # $Id: Portfile 61984 2009-12-27 02:48:05Z ryandesign@macports.org $
     1# $Id$
    22
    33PortSystem          1.0
    44
    55name                drush
    6 version             2.1
     6version             3.3
    77categories          www php
    88platforms           darwin
    9 maintainers         acquia.com:chuck
     9maintainers         c_dantonio@acm.org
    1010license             GPLv2
    1111
    1212description         The DRUpal SHell
    long_description drush is a command l 
    1515                    away at the command prompt.
    1616
    1717homepage            http://drupal.org/project/drush
    18 distname            drush-All-Versions-${version}
     18distname            drush-6.x-${version}
    1919master_sites        http://ftp.drupal.org/files/projects/ \
    2020                    http://ftp.osuosl.org/pub/drupal/files/projects/
    21 checksums           md5     dd4b55c7d1e98f35c51c69788d6dffee \
    22                     sha1    d49d05baa26d8ce7aa7f0250c6f0e01ba2f5aebb \
    23                     rmd160  5d78cd177ae53d4844ca8f6cdb427ec286393881
    24 depends_lib         port:php52
    25 
    26 variant drupal5 conflicts drupal6 description "use with Drupal 5 port" {
    27   depends_lib-append      port:drupal5
    28 }
    29 
    30 variant drupal6 conflicts drupal5 description "use with Drupal 6 port" {
    31   depends_lib-append      port:drupal6
     21checksums           md5 ed7ee13415548c643358a8a870534a5e \
     22                    sha1 e3ebc58153c502ff185f3a61d38729db8329f9e3 \
     23                    rmd160 56b78d988b4cc1d10e346102814b0252ac31b0aa
     24depends_lib         port:php5 \
     25                    port:php5-console_table
     26
     27variant php52 description "use php5.2 instead of the latest php version" {
     28  depends_lib-delete      port:php
     29  depends_lib-append      port:php52
    3230}
    3331
    3432worksrcdir          drush
    use_configure no 
    3634build { }
    3735
    3836destroot {
    39   copy ${worksrcpath} ${destroot}${prefix}/libexec/drush
     37  copy ${worksrcpath} ${destroot}/${prefix}/libexec/drush
    4038  ln -s ${prefix}/libexec/drush/drush ${destroot}${prefix}/bin/drush
     39  ln -s ${prefix}/lib/php/Console_Table/Table.php ${destroot}/${prefix}/libexec/drush/includes/table.inc
    4140}
    42 
    43 livecheck.type      regex
    44 livecheck.regex     drush-All-Versions-(\[0-9.\]+)\\.tar