openbsd-ports/www/drush/Makefile
2022-08-26 11:01:28 +00:00

30 lines
732 B
Makefile

COMMENT = command line access to most of Drupal
CATEGORIES = www devel
DISTNAME= drush-8.4.11
HOMEPAGE= https://www.drush.org/
# packaged from https://github.com/drush-ops/drush/tree/8.4.11
# plus dependencies fetched using "composer install" as of 20220826
MASTER_SITES= https://spacehopper.org/mirrors/
MODULES= lang/php
PERMIT_PACKAGE= Yes
NO_BUILD= Yes
RUN_DEPENDS= archivers/gtar \
${MODPHP_PDO_DEPENDS}
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/libexec/drush
cp -R ${WRKDIST}/* ${PREFIX}/libexec/drush
cd ${PREFIX}/libexec/drush; \
rm drush includes/environment.inc${PATCHORIG}; \
rm -r ${PREFIX}/libexec/drush/tests
${SUBST_CMD} -m 555 -c ${FILESDIR}/drush ${PREFIX}/bin/drush
.include <bsd.port.mk>