Skip to content

Instantly share code, notes, and snippets.

@henrrrik
Forked from bangpound/Portfile
Created April 23, 2010 07:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save henrrrik/376320 to your computer and use it in GitHub Desktop.
Save henrrrik/376320 to your computer and use it in GitHub Desktop.
# $Id$
# Based on work of chuck@acquia.com that's in the MacPorts repository.
PortSystem 1.0
name drush
version 3.1
categories www php
platforms darwin
maintainers bangpound.org:bjd
license GPLv2
description The DRUpal SHell
long_description drush is a command line shell and Unix scripting interface for Drupal, a veritable Swiss Army \
knife designed to make life easier for those of us who spend some of our working hours hacking \
away at the command prompt.
homepage http://drupal.org/project/drush
distname drush-All-versions-${version}
master_sites http://ftp.drupal.org/files/projects/ \
http://ftp.osuosl.org/pub/drupal/files/projects/
checksums md5 e768e504674428879a047d8cfdd4926f
worksrcdir drush
use_configure no
build { }
destroot {
copy ${worksrcpath} ${destroot}${prefix}/libexec/drush
ln -s ${prefix}/libexec/drush/drush ${destroot}${prefix}/bin/drush
}
livecheck.type regex
livecheck.regex drush-All-versions-(\[0-9.\]+)\\.tar
@bangpound
Copy link

I've removed the dependency on php52 back at http://gist.github.com/324809.

Thanks for the patches. If you clone the gist, you can add the local git tree as a source to macports for drush and drush_make. Unfortunately, the online editor loses the directory structure and any file with a duplicate filename.

The gist does make it easy to inspect the files and cut and paste as needed tho... Maybe this should move over to github proper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment