Update sysutils/bacula9-docs to version 9.2.2
[dports.git] / www / drush / Makefile
1 # Created by: Thomas Sandford <freebsduser@paradisegreen.co.uk>
2 # $FreeBSD$
3
4 PORTNAME=       drush
5 DISTVERSION=    8.1.16
6 PORTREVISION=   1
7 CATEGORIES=     www
8 MASTER_SITES=   https://github.com/drush-ops/drush/releases/download/${DISTVERSION}/
9 PKGNAMESUFFIX=  ${PHP_PKGNAMESUFFIX}
10 DISTNAME=       drush
11 EXTRACT_SUFX=   .phar
12
13 MAINTAINER=     mfechner@FreeBSD.org
14 COMMENT=        Drupal command line and scripting interface
15
16 LICENSE=        GPLv2+
17
18 NO_BUILD=       yes
19 NO_WRKSUBDIR=   yes
20 NO_ARCH=        yes
21
22 USES=           php:cli,flavors
23 # set php requirements same as drupal itself
24 USE_PHP=        gd pcre session mbstring ctype json hash simplexml dom pdo filter phar
25
26 PLIST_FILES=    bin/drush bin/drush.phar
27
28 do-extract:
29         @${MKDIR} ${WRKSRC}/
30         ${CP} ${_DISTDIR}/drush.phar ${WRKSRC}/
31
32 do-install:
33         ${INSTALL_SCRIPT} ${WRKSRC}/drush.phar ${STAGEDIR}${PREFIX}/bin/
34         ${LN} -s drush.phar ${STAGEDIR}${PREFIX}/bin/drush
35
36 .include <bsd.port.mk>