freebsd-ports/www/drush/Makefile
Martin Wilke cc1723422f Drush is a command line shell and Unix scripting interface for the Drupal CMS
and is designed to make life easier for those who spend some of their working
hours hacking away at the command prompt.

WWW: http://drupal.org/project/drush

PR:		ports/146185
Submitted by:	Thomas Sandford <freebsduser at paradisegreen.co.uk>
2010-05-02 08:30:09 +00:00

37 lines
927 B
Makefile

# New ports collection makefile for: www/drush
# Date created: April 29th 2010
# Whom: Thomas Sandford <freebsduser@paradisegreen.co.uk>
#
# $FreeBSD$
#
PORTNAME= drush
PORTVERSION= 3.0
CATEGORIES= www
MASTER_SITES= http://ftp.drupal.org/files/projects/
DISTNAME= drush-All-versions-${PORTVERSION}
MAINTAINER= freebsduser@paradisegreen.co.uk
COMMENT= Drupal command line and scripting interface
NO_BUILD= yes
# set php requirements same as drupal itself
USE_PHP= gd pcre session xml mbstring
IGNORE_WITH_PHP=4
WANT_PHP_WEB= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
.include <bsd.port.pre.mk>
do-configure:
@${REINPLACE_CMD} -e 's|XXXDATADIRXXX|${DATADIR}|g' ${WRKSRC}/drush
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
.include <bsd.port.post.mk>