aboutsummaryrefslogtreecommitdiffstats
path: root/www/drush/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2011-06-03 04:41:14 +0800
committerpav <pav@FreeBSD.org>2011-06-03 04:41:14 +0800
commit5ba5e35e8d17c09fd3f41efaf314c27b2499d953 (patch)
tree88175b41a26bdd7a0930736e3b8a7a65909d4dc2 /www/drush/Makefile
parent1f66c4e66b36bc3381e33ec7f502b7ac76609118 (diff)
downloadfreebsd-ports-gnome-5ba5e35e8d17c09fd3f41efaf314c27b2499d953.tar.gz
freebsd-ports-gnome-5ba5e35e8d17c09fd3f41efaf314c27b2499d953.tar.zst
freebsd-ports-gnome-5ba5e35e8d17c09fd3f41efaf314c27b2499d953.zip
- Update to 4.4
- Transfer maintainership to the submitter PR: ports/156885 Submitted by: geoffroy desvernay <dgeo@centrale-marseille.fr> Approved by: Thomas Sandford <freebsduser@paradisegreen.co.uk> (maintainer)
Diffstat (limited to 'www/drush/Makefile')
-rw-r--r--www/drush/Makefile20
1 files changed, 13 insertions, 7 deletions
diff --git a/www/drush/Makefile b/www/drush/Makefile
index d306aa8c0411..8883a5f2f8b1 100644
--- a/www/drush/Makefile
+++ b/www/drush/Makefile
@@ -6,20 +6,25 @@
#
PORTNAME= drush
-PORTVERSION= 3.0
+PORTVERSION= 4.4
CATEGORIES= www
MASTER_SITES= http://ftp.drupal.org/files/projects/
-DISTNAME= drush-All-versions-${PORTVERSION}
+DISTNAME= drush-7.x-${PORTVERSION}
-MAINTAINER= freebsduser@paradisegreen.co.uk
+MAINTAINER= dgeo@centrale-marseille.fr
COMMENT= Drupal command line and scripting interface
+RUN_DEPENDS= ${LOCALBASE}/share/pear/Console/Table.php:${PORTSDIR}/devel/pear-Console_Table
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
NO_BUILD= yes
# set php requirements same as drupal itself
-USE_PHP= gd pcre session xml mbstring
+USE_PHP= gd pcre session xml mbstring ctype
IGNORE_WITH_PHP=4
-WANT_PHP_WEB= yes
+WANT_PHP_CLI= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -30,7 +35,8 @@ do-configure:
do-install:
${MKDIR} ${DATADIR}
- ( cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${DATADIR} '! ( -name drush -or -name drush.bat -or -name *.orig -or -name *.bak )' )
- ${INSTALL_SCRIPT} ${WRKSRC}/drush ${PREFIX}/bin
+ ( cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${DATADIR} '! ( -name drush.bat -or -name *.orig -or -name *.bak -or -name .gitignore -or -name LICENSE.txt )' )
+ ${CHMOD} 755 ${DATADIR}/drush
+ ${LN} -s ${DATADIR}/drush ${PREFIX}/bin/drush
.include <bsd.port.post.mk>