45492d07f0
* Define PHP's version at one place. * Remove obsolete description in comments. * Add "used by www/php-fpm/Makefile" in php5[34]/Makefile.php. * Remove commented out support for suhosin extension from php54. * Add PHP_CHECK_INSTALLED and PHP_EXTENSION_DIR to php/phpversion.mk. No functional should be made.
24 lines
614 B
Makefile
24 lines
614 B
Makefile
# $NetBSD: common.mk,v 1.1 2013/07/21 17:29:47 taca Exp $
|
|
# used by lang/php53/Makefile.common
|
|
# used by lang/php54/Makefile.common
|
|
#
|
|
.if !defined(PHPCOMMON_MK)
|
|
PHPCOMMON_MK= defined
|
|
|
|
DISTNAME?= php-${PHP_BASE_VERS}
|
|
|
|
.if !defined(PECL_VERSION)
|
|
MASTER_SITES?= http://www.php.net/distributions/ \
|
|
http://uk.php.net/distributions/ \
|
|
http://de.php.net/distributions/ \
|
|
http://us.php.net/distributions/
|
|
EXTRACT_SUFX?= .tar.bz2
|
|
.endif
|
|
|
|
HOMEPAGE?= http://www.php.net/
|
|
|
|
PLIST_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR}
|
|
PKG_SYSCONFVAR?= php
|
|
|
|
.include "../../lang/php/phpversion.mk"
|
|
.endif # PHPCOMMON_MK
|