summaryrefslogtreecommitdiff
path: root/www/php4/Makefile.common
blob: d8ab0a983f0f4a208f52198fd10bb90658cf2ec1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $NetBSD: Makefile.common,v 1.24 2002/03/01 22:51:42 jlam Exp $

DISTNAME?=		php-${PHP_DIST_VERS}
CATEGORIES+=		www php4
MASTER_SITES=		http://www.php.net/distributions/ \
			http://php3.de/distributions/ \
			ftp://ftp.php.net/pub/distributions/

MAINTAINER?=		jlam@netbsd.org
HOMEPAGE?=		http://www.php.net/

# Version numbering scheme:
#
# PHP_DIST_VERS		version number on the php distfile
# PHP_BASE_VERS		pkgsrc-mangled version number (convert pl -> .)
#
PHP_DIST_VERS=		4.1.2
PHP_BASE_VERS=		${PHP_DIST_VERS}

# Location of installed PHP4 loadable modules under ${PREFIX}.
# This is derived from the value of `php-config --extension-dir`.
# The number for the last part of the path represents a specific version
# of the Zend API.
#
PHP_EXTENSION_DIR=	lib/php/20010901
PLIST_SUBST+=		PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR}

PKG_SYSCONFVAR?=	php

.include "../../mk/bsd.prefs.mk"