pkgsrc/www/php4/Makefile.common
jlam b23d2e8626 Adapt to use shared INSTALL/DEINSTALL scripts by using the logic in
bsd.pkg.install.mk:

	* Remove old DEINSTALL/INSTALL scripts.
	* Move some text printed at POST-INSTALL time into the MESSAGE file.
	* Adjust rc.d scripts to respect rc.conf settings, so that the
	  script may be directly copied into /etc/rc.d.
2001-11-19 16:23:08 +00:00

34 lines
1 KiB
Makefile

# $NetBSD: Makefile.common,v 1.18 2001/11/19 16:23:15 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_PKG_VERS pkgsrc revisions of php (nbX, etc.)
# PHP_VERS pkgsrc version number of package
#
PHP_DIST_VERS= 4.0.6
PHP_BASE_VERS= ${PHP_DIST_VERS}
PHP_PKG_VERS?= # empty
PHP_VERS= ${PHP_BASE_VERS}${PHP_PKG_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/20001222
PLIST_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR}
.include "../../mk/bsd.prefs.mk"
MESSAGE_SUBST+= CONFDIR=${CONFDIR}