Created attachment 173627 [details] patch testbuilds are fine, portlint besides a few .info noises is happy, too. See https://lists.freebsd.org/pipermail/freebsd-ports/2016-August/104360.html
I tested your patch and it compiles fine. But it seems to have missing dependencies. If you install it and simply run it with: drush --version you get: 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: wget "https://github.com/drush-ops/drush/releases/download/8.1.3/drush.phar" chmod +x drush.phar ./drush.phar --version Drush Version : 8.1.3
http://drupal.stackexchange.com/questions/105828/undefined-error-0-or-unable-to-load-autoload-php-drush-now-requires-composer
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. My idea: 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: Author: pi Date: Tue Aug 23 19:44:21 UTC 2016 New revision: 420739 URL: https://svnweb.freebsd.org/changeset/ports/420739 Log: www/drush: 6.5.0 -> 8.1.3 - submitter becomes maintainer PR: 211807 Changes: https://github.com/drush-ops/drush/releases/ Submitted by: Matthias Fechner <idefix@fechner.net> Approved by: Geoffroy Desvernay <dgeo@centrale-marseille.fr> (maintainer) Changes: head/www/drush/Makefile head/www/drush/distinfo head/www/drush/pkg-plist
Committed, thanks!