Created attachment 173627 [details]
testbuilds are fine, portlint besides a few .info noises is happy, too.
I tested your patch and it compiles fine.
But it seems to have missing dependencies.
If you install it and simply run it with:
Unable to load autoload.php. Run composer install to fetch dependencies and write this file (http://docs.drush.org/en/master/install-alternative/). Or if you prefer, use the drush.phar which already has depdencies included (http://docs.drush.org/en/master/install).
I think it will be better to use drush.phar (https://github.com/drush-ops/drush/releases/download/8.1.3/drush.phar) and store it as drush in /usr/local/bin.
Just did it manually:
chmod +x drush.phar
Drush Version : 8.1.3
Matthias: If I download drush.phar as described and execute it outside /usr/local/bin, it hangs. It works as /usr/local/bin/drush. So, while this is a bit strange, that approach might work.
Walter: I vaguely grasp what composer will do, but I have no idea on how to
integrate that into the port. Any ideas ?
I was too quick, composer will not help with this problem, I misunderstood.
Drush.phar may be included in this port with a second Makefile, e.g. Makefile.phar, Which will only fetch, extract and copy it to the right place. And simply add a pkg-message file which describes what drush.phar do.
Hi all, sorry I don't have time to look at this, introduction on composer makes it much more hard to KISS here…
My first idea was to delete the port. If someone want to take maintainership let me know.
maybe adding devel/php-composer as dependency ?
Created attachment 173893 [details]
Update to 8.1.3.
I do not know how to build a makefile that fetches correctly from github.
I attached a patch that at least brings the port a working 8.1.3 version of drush.
Please feel free to modify the patch that it has a nice syntax.
Reporter is committer, assign accordingly
Maintainer has provided feedback, reads as implicit approval (for this change and/or maintainership change)
If it is ok, I would take over to be a maintainer for this port.
A commit references this bug:
Date: Tue Aug 23 19:44:21 UTC 2016
New revision: 420739
www/drush: 6.5.0 -> 8.1.3
- submitter becomes maintainer
Submitted by: Matthias Fechner <firstname.lastname@example.org>
Approved by: Geoffroy Desvernay <email@example.com> (maintainer)