Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # no RCS Id here, please
  2. BROKEN-hppa = no __sync_bool_compare_and_swap support nor asm fallback
  3. # XXX use the bundled libtool because it needs some specific options we
  4. # don't have.
  5. USE_LIBTOOL= No
  6. PV= 5.3
  7. V= ${PV}.28
  8. SUHOSIN_PHPV= 5.3.24
  9. SUHOSIN_P_V= 0.9.10unofficial
  10. REVISION= 4
  11. REVISION-main= 6
  12. REVISION-odbc= 5
  13. SHARED_LIBS = \
  14. foooo 0.0
  15. INI_TEMPLATES= development production
  16. AUTOCONF_VERSION= 2.13
  17. # fpm
  18. PKGNAME-fpm?= php-fpm-${V}
  19. MULTI_PACKAGES+= -fpm
  20. COMMENT-fpm= stand-alone FPM version of PHP
  21. CONFIGURE_ARGS+= --enable-fpm \
  22. --with-fpm-user=www \
  23. --with-fpm-group=www
  24. LIB_DEPENDS-fpm= ${LIB_DEPENDS-main}
  25. WANTLIB-fpm= ${WANTLIB-main}
  26. RUN_DEPENDS-fpm= ${RUN_DEPENDS-main} \
  27. php-${V}:lang/php/${PV}
  28. # pcntl
  29. PKGNAME-pcntl?= php-pcntl-${V}
  30. MULTI_PACKAGES+= -pcntl
  31. COMMENT-pcntl= PCNTL extensions for php5
  32. CONFIGURE_ARGS+= --enable-pcntl=shared
  33. LIB_DEPENDS-pcntl=
  34. WANTLIB-pcntl= pthread
  35. # sqlite
  36. MULTI_PACKAGES+= -sqlite
  37. COMMENT-sqlite= sqlite database access extensions for php5
  38. CONFIGURE_ARGS+= --with-sqlite=shared,${LOCALBASE} --enable-sqlite-utf8
  39. LIB_DEPENDS-sqlite= databases/sqlite
  40. WANTLIB-sqlite= sqlite>=8 pthread
  41. .include "Makefile.inc"
  42. .include <bsd.port.mk>