pecl.port.mk 807 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # $OpenBSD: pecl.port.mk,v 1.6 2016/03/19 21:18:38 naddy Exp $
  2. # PHP PECL module
  3. MODULES += lang/php
  4. CATEGORIES += www
  5. PKGNAME ?= pecl-${DISTNAME:S/pecl-//:S/_/-/:L}
  6. _PECLMOD ?= ${DISTNAME:S/pecl-//:C/-[0-9].*//:L}
  7. .if !defined(MASTER_SITES)
  8. MASTER_SITES ?= http://pecl.php.net/get/
  9. HOMEPAGE ?= http://pecl.php.net/package/${_PECLMOD}
  10. EXTRACT_SUFX ?= .tgz
  11. .endif
  12. # XXX CONFIGURE_STYLE would be nice but it can't be set here
  13. AUTOCONF_VERSION ?= 2.62
  14. AUTOMAKE_VERSION ?= 1.9
  15. LIBTOOL_FLAGS += --tag=disable-static
  16. DESTDIRNAME ?= INSTALL_ROOT
  17. BUILD_DEPENDS += www/pear \
  18. ${MODGNU_AUTOCONF_DEPENDS} \
  19. ${MODGNU_AUTOMAKE_DEPENDS}
  20. MODPHP_DO_SAMPLE ?= ${_PECLMOD}
  21. MODPHP_DO_PHPIZE ?= Yes
  22. .if !target(do-test) && ${NO_TEST:L:Mno}
  23. TEST_TARGET = test
  24. TEST_FLAGS = NO_INTERACTION=1
  25. USE_GMAKE ?= Yes
  26. .endif