2010-12-05 12:34:14 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.3 2010/12/05 17:34:14 landry Exp $
|
2009-07-27 12:25:55 -04:00
|
|
|
|
|
|
|
COMMENT = command line access to most of drupal
|
2010-12-05 12:34:14 -05:00
|
|
|
CATEGORIES = www www/drupal6 devel
|
2009-07-27 12:25:55 -04:00
|
|
|
MASTER_SITES = ftp://ftp.drupal.org/pub/drupal/files/projects/
|
|
|
|
MASTER_SITES0 = http://download.pear.php.net/package/
|
|
|
|
HOMEPAGE = http://drupal.org/
|
|
|
|
PKG_ARCH = *
|
|
|
|
DISTNAME = drush-All-Versions-2.0
|
|
|
|
WRKDIST = ${WRKDIR}/drush
|
|
|
|
PKGNAME = drush-2.0
|
2010-12-05 12:34:14 -05:00
|
|
|
REVISION = 0
|
2009-07-27 12:25:55 -04:00
|
|
|
DISTFILES = ${DISTNAME}.tar.gz Console_Table-1.1.3.tgz:0
|
|
|
|
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
RUN_DEPENDS = www/drupal6/core
|
2009-07-27 12:25:55 -04:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
${SUBST_CMD} -c ${FILESDIR}/drush ${WRKBUILD}/drush
|
|
|
|
cp ${WRKDIR}/Console_Table-1.1.3/Table.php ${WRKBUILD}/includes/table.inc
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/libexec/drush
|
|
|
|
cp -R ${WRKDIST}/* ${PREFIX}/libexec/drush
|
|
|
|
-rm ${PREFIX}/libexec/drush/drush
|
|
|
|
-rm ${PREFIX}/libexec/drush/drush.bat
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/drush ${PREFIX}/bin
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|