Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / lang / php54 / Makefile.common
blob7e61b6b7c81b99901111ccacf9e226b27e901481
1 # $NetBSD: Makefile.common,v 1.10 2013/03/16 01:58:53 taca Exp $
2 # used by lang/php54/Makefile.php
3 # used by lang/php/ext.mk
4 # used by meta-pkgs/php54-extensions/Makefile
7 # NOTE:
8 # The suhosin option includes a patch from http://www.hardened-php.net/
9 # Which tracks with the exact version number of PHP.  There may be a delay
10 # in the patch which can leave the option broken until an updated patch
11 # is released.  When updating PHP please don't forget to update the
12 # distnfo with the details of the suhosin patch as well.
14 # Check these packages when update to new release of PHP and consider to
15 # reset PKG_REVISION:
17 #       databases/php-mysqlnd (not yet packaged)
18 #       misc/php-intl
19 #       textproc/php-enchant
21 # Since other PHP extensions are shared between www/php5, we can't reset
22 # PKGREVSION.
25 .if !defined(DISTNAME)
26 DISTNAME=               php-${PHP_BASE_VERS}
27 .endif
28 CATEGORIES+=            www
30 .if !defined(PECL_VERSION)
31 MASTER_SITES?=          http://www.php.net/distributions/ \
32                         http://uk.php.net/distributions/ \
33                         http://de.php.net/distributions/ \
34                         http://us.php.net/distributions/
35 EXTRACT_SUFX?=          .tar.bz2
36 .endif
38 MAINTAINER?=            pkgsrc-users@NetBSD.org
39 HOMEPAGE?=              http://www.php.net/
41 PHP_BASE_VERS=          5.4.14
43 PHP_EXTENSION_DIR=      lib/php/20120301
44 PLIST_SUBST+=           PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR}
46 PKG_SYSCONFVAR?=        php
48 # needed due to (broken?) configure checks in php-xmlrpc and php5-dom
49 CONFIGURE_ENV+=         PHP_LIBXML_SHARED="1"
51 .include "../../mk/bsd.prefs.mk"