Ticket #27323: drush.patch
File drush.patch, 2.3 KB (added by chuck@…, 14 years ago) |
---|
-
www/drush/Portfile
old new 1 # $Id : Portfile 61984 2009-12-27 02:48:05Z ryandesign@macports.org$1 # $Id$ 2 2 3 3 PortSystem 1.0 4 4 5 5 name drush 6 version 2.16 version 3.3 7 7 categories www php 8 8 platforms darwin 9 maintainers acquia.com:chuck9 maintainers c_dantonio@acm.org 10 10 license GPLv2 11 11 12 12 description The DRUpal SHell … … long_description drush is a command l 15 15 away at the command prompt. 16 16 17 17 homepage http://drupal.org/project/drush 18 distname drush- All-Versions-${version}18 distname drush-6.x-${version} 19 19 master_sites http://ftp.drupal.org/files/projects/ \ 20 20 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 21 checksums md5 ed7ee13415548c643358a8a870534a5e \ 22 sha1 e3ebc58153c502ff185f3a61d38729db8329f9e3 \ 23 rmd160 56b78d988b4cc1d10e346102814b0252ac31b0aa 24 depends_lib port:php5 \ 25 port:php5-console_table 26 27 variant php52 description "use php5.2 instead of the latest php version" { 28 depends_lib-delete port:php 29 depends_lib-append port:php52 32 30 } 33 31 34 32 worksrcdir drush … … use_configure no 36 34 build { } 37 35 38 36 destroot { 39 copy ${worksrcpath} ${destroot} ${prefix}/libexec/drush37 copy ${worksrcpath} ${destroot}/${prefix}/libexec/drush 40 38 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 41 40 } 42 43 livecheck.type regex44 livecheck.regex drush-All-Versions-(\[0-9.\]+)\\.tar