35 lines
1009 B
Makefile
35 lines
1009 B
Makefile
# $OpenBSD: Makefile,v 1.4 2012/04/09 16:12:12 espie Exp $
|
|
|
|
COMMENT = command line access to most of drupal
|
|
CATEGORIES = www www/drupal6 devel
|
|
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-7.x-5.1
|
|
WRKDIST = ${WRKDIR}/drush
|
|
PKGNAME = drush-5.1
|
|
DISTFILES = ${DISTNAME}.tar.gz Console_Table-1.1.3.tgz:0
|
|
MODULES = lang/php
|
|
MODPHP_BUILDDEP ?= No
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
RUN_DEPENDS = www/drupal6/core>=6
|
|
|
|
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>
|