pkgsrc/lang/php53/Makefile.common
taca 5828ab469c Importing PHP 5.3.2 as lang/php53.
This package and lang/php5 aren't installed at the same time.
Setting PHP_VERSION_DEFAULT as "5" or "53" to select PHP 5.2.x or 5.3.x.


PHP is an HTML-embedded scripting language. It is modular, with
some object-oriented features. Much of its syntax is borrowed from
C, Java and Perl with a couple of unique PHP-specific features
thrown in.  The language is designed to allow web developers to
write dynamically generated pages quickly.
2010-03-16 15:31:58 +00:00

50 lines
1.4 KiB
Makefile

# $NetBSD: Makefile.common,v 1.1.1.1 2010/03/16 15:31:58 taca Exp $
# used by lang/php53/Makefile.php
# used by lang/php/ext.mk
# used by meta-pkgs/php53-extensions/Makefile
#
# NOTE:
# The suhosin option includes a patch from http://www.hardened-php.net/
# Which tracks with the exact version number of PHP. There may be a delay
# in the patch which can leave the option broken until an updated patch
# is released. When updating PHP please don't forget to update the
# distnfo with the details of the suhosin patch as well.
#
# Check these packages when update to new release of PHP and consider to
# reset PKG_REVISION:
#
# databases/php-mysqlnd (not yet packaged)
# misc/php-intl
# textproc/php-enchant
#
# Since other PHP extensions are shared between www/php5, we can't reset
# PKGREVSION.
#
.if !defined(DISTNAME)
DISTNAME= php-${PHP_BASE_VERS}
DIST_SUBDIR= ${DISTNAME}
.endif
CATEGORIES+= www
.if !defined(PECL_VERSION)
MASTER_SITES?= http://www.php.net/distributions/ \
http://php3.de/distributions/
EXTRACT_SUFX?= .tar.bz2
.endif
MAINTAINER?= pkgsrc-users@NetBSD.org
HOMEPAGE?= http://www.php.net/
PHP_BASE_VERS= 5.3.2
PHP_EXTENSION_DIR= lib/php/20090630
PLIST_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR:Q}
PKG_SYSCONFVAR?= php
# needed due to (broken?) configure checks in php-xmlrpc and php5-dom
CONFIGURE_ENV+= PHP_LIBXML_SHARED="1"
.include "../../mk/bsd.prefs.mk"