2003-07-18 00:50:55 +02:00
|
|
|
# $NetBSD: Makefile.common,v 1.30 2003/07/17 22:55:59 grant Exp $
|
2000-12-17 10:19:32 +01:00
|
|
|
|
2002-03-01 23:51:42 +01:00
|
|
|
DISTNAME?= php-${PHP_DIST_VERS}
|
2000-12-17 18:18:01 +01:00
|
|
|
CATEGORIES+= www php4
|
2003-03-22 02:18:20 +01:00
|
|
|
MASTER_SITES?= http://www.php.net/distributions/ \
|
2001-02-07 16:39:33 +01:00
|
|
|
http://php3.de/distributions/ \
|
2000-12-17 10:19:32 +01:00
|
|
|
ftp://ftp.php.net/pub/distributions/
|
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER?= jlam@NetBSD.org
|
2002-03-01 23:51:42 +01:00
|
|
|
HOMEPAGE?= http://www.php.net/
|
2000-12-17 10:19:32 +01:00
|
|
|
|
2001-10-16 06:54:23 +02:00
|
|
|
# Version numbering scheme:
|
|
|
|
#
|
|
|
|
# PHP_DIST_VERS version number on the php distfile
|
|
|
|
# PHP_BASE_VERS pkgsrc-mangled version number (convert pl -> .)
|
|
|
|
#
|
2002-10-14 08:21:05 +02:00
|
|
|
PHP_DIST_VERS= 4.2.3
|
2001-10-16 06:54:23 +02:00
|
|
|
PHP_BASE_VERS= ${PHP_DIST_VERS}
|
2000-12-17 10:19:32 +01:00
|
|
|
|
2002-04-12 19:59:57 +02:00
|
|
|
DISTFILES?= ${PHP_DISTFILE}
|
|
|
|
PHP_DISTFILE= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
|
2000-12-17 10:19:32 +01:00
|
|
|
# Location of installed PHP4 loadable modules under ${PREFIX}.
|
2001-01-15 17:32:27 +01:00
|
|
|
# This is derived from the value of `php-config --extension-dir`.
|
2001-10-16 06:54:23 +02:00
|
|
|
# The number for the last part of the path represents a specific version
|
|
|
|
# of the Zend API.
|
2001-01-15 17:32:27 +01:00
|
|
|
#
|
2002-10-14 08:21:05 +02:00
|
|
|
PHP_EXTENSION_DIR= lib/php/20020429
|
2000-12-17 10:19:32 +01:00
|
|
|
PLIST_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR}
|
|
|
|
|
2002-02-28 07:14:45 +01:00
|
|
|
PKG_SYSCONFVAR?= php
|
|
|
|
|
2001-04-30 05:25:15 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|