1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name drush |
---|
6 | version 2.1 |
---|
7 | categories www php |
---|
8 | platforms darwin |
---|
9 | |
---|
10 | maintainers chuck@acquia.com |
---|
11 | description The DRUpal SHell |
---|
12 | long_description drush is a command line shell and Unix scripting interface for Drupal, a veritable Swiss Army \ |
---|
13 | knife designed to make life easier for those of us who spend some of our working hours hacking \ |
---|
14 | away at the command prompt. |
---|
15 | |
---|
16 | homepage http://drupal.org/project/drush |
---|
17 | distfiles drush-All-Versions-$version.tar.gz |
---|
18 | master_sites http://ftp.drupal.org/files/projects/ \ |
---|
19 | http://ftp.osuosl.org/pub/drupal/files/projects/ |
---|
20 | checksums md5 dd4b55c7d1e98f35c51c69788d6dffee \ |
---|
21 | sha1 d49d05baa26d8ce7aa7f0250c6f0e01ba2f5aebb \ |
---|
22 | rmd160 5d78cd177ae53d4844ca8f6cdb427ec286393881 |
---|
23 | depends_lib port:php52 |
---|
24 | |
---|
25 | variant drupal5 description "use with Drupal 5 port" { |
---|
26 | depends_lib-append port:drupal5 |
---|
27 | } |
---|
28 | |
---|
29 | variant drupal6 description "use with Drupal 6 port" { |
---|
30 | depends_lib-append port:drupal6 |
---|
31 | } |
---|
32 | |
---|
33 | worksrcdir drush |
---|
34 | use_configure no |
---|
35 | build { } |
---|
36 | |
---|
37 | destroot { |
---|
38 | xinstall -d -m 0755 ${destroot}/${prefix}/libexec/drush |
---|
39 | eval file copy [glob ${worksrcpath}/*] ${destroot}/${prefix}/libexec/drush |
---|
40 | ln -s ${prefix}/libexec/drush/drush ${destroot}/${prefix}/bin/drush |
---|
41 | } |
---|