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