Makefile.pear 499 B

123456789101112131415
  1. # $OpenBSD: Makefile.pear,v 1.4 2016/04/01 18:46:06 sthen Exp $
  2. # Default Makefile to install a PHP PEAR module
  3. default:
  4. install:
  5. cp ${WRKDIR}/package.xml ${.CURDIR}
  6. mkdir -p ${PREFIX}/lib/php
  7. env PHP_PEAR_METADATA_DIR=/var/www/pear/lib ${LOCALBASE}/bin/pear \
  8. install -f -n -R ${WRKINST} -n ${.CURDIR}/package.xml
  9. # These directories and files are not needed
  10. @cd ${WRKINST}/var/www/pear && rm -rf cache lib/.channels lib/.channels/__uri.reg \
  11. lib/.depdb* lib/.registry/.channel*