freebsd-ports/www/drush/Makefile
Dmitry Marakasov cfae304303 - Update to 8.1.9
- While here, fix license and some whitespace and add NO_ARCH

PR:		216151
Submitted by:	idefix@fechner.net (maintainer)
2017-01-17 12:44:26 +00:00

34 lines
806 B
Makefile

# Created by: Thomas Sandford <freebsduser@paradisegreen.co.uk>
# $FreeBSD$
PORTNAME= drush
PORTVERSION= 8.1.9
CATEGORIES= www
MASTER_SITES= https://github.com/drush-ops/drush/releases/download/${DISTVERSION}/
DISTNAME= drush
EXTRACT_SUFX= .phar
MAINTAINER= idefix@fechner.net
COMMENT= Drupal command line and scripting interface
LICENSE= GPLv2+
NO_BUILD= yes
NO_WRKSUBDIR= yes
NO_ARCH= yes
USES= php:cli
# set php requirements same as drupal itself
USE_PHP= gd pcre session mbstring ctype json hash simplexml dom pdo filter phar
PLIST_FILES= bin/drush bin/drush.phar
do-extract:
@${MKDIR} ${WRKSRC}/
${CP} ${_DISTDIR}/drush.phar ${WRKSRC}/
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/drush.phar ${STAGEDIR}${PREFIX}/bin/
${LN} -s drush.phar ${STAGEDIR}${PREFIX}/bin/drush
.include <bsd.port.mk>