pkgsrc/www/php4/Makefile
wiz b979f7222a Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced,
not @VARIABLE@, nor @@VARIABLE@@).
By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX,
X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST.
Clean up some packages while I'm there; add RCS tags to most MESSAGEs.
Remove some uninteresting MESSAGEs.
2001-01-29 11:34:21 +00:00

22 lines
649 B
Makefile

# $NetBSD: Makefile,v 1.8 2001/01/29 11:34:47 wiz Exp $
.include "../../www/php4/Makefile.common"
PKGNAME= php-${PHP_VERS}
CATEGORIES+= lang
MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://www.php.net/
CONFLICTS+= ap-php-4.0.3pl1
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/libexec/cgi-bin
${LN} -sf ../../bin/php ${PREFIX}/libexec/cgi-bin/php
${TOUCH} ${PREFIX}/${PHP_EXTENSION_DIR}/.directory
${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc
${INSTALL_DATA} ${WRKSRC}/php.ini-optimized ${PREFIX}/etc
${INSTALL_DATA_DIR} ${PREFIX}/share/php4
${INSTALL_DATA} ${WRKSRC}/php4.gif ${PREFIX}/share/php4
.include "../../mk/bsd.pkg.mk"