diff options
author | jdolecek <jdolecek> | 2004-11-01 19:46:18 +0000 |
---|---|---|
committer | jdolecek <jdolecek> | 2004-11-01 19:46:18 +0000 |
commit | a3c3c907aead526d714126ec8b923fa1f5532fea (patch) | |
tree | 8c8756d7e0c8428da2c72ccc5434bec278d90e66 /lang | |
parent | ccc19c2ccdf364cdcb98fe78cc6546c283cd037d (diff) | |
download | pkgsrc-a3c3c907aead526d714126ec8b923fa1f5532fea.tar.gz |
Make sure to install the _CLI_ version to ${PREFIX}/bin/php, and _CGI_
to ${PREFIX}/libexec/cgi-bin; install also couple more files same way
as PHP4
Of particular note is that CLI ignores setting of register_argc_argv
(treats as if it would be On), so it's no longer necessary to do anything
special for Pear packages to work. g/c MESSAGE warning about the Pear issue.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/php5/MESSAGE | 10 | ||||
-rw-r--r-- | lang/php5/Makefile | 14 | ||||
-rw-r--r-- | lang/php5/PLIST | 6 |
3 files changed, 16 insertions, 14 deletions
diff --git a/lang/php5/MESSAGE b/lang/php5/MESSAGE deleted file mode 100644 index 2bef2523d55..00000000000 --- a/lang/php5/MESSAGE +++ /dev/null @@ -1,10 +0,0 @@ -=========================================================================== -$NetBSD: MESSAGE,v 1.1.1.1 2004/10/29 20:31:54 jdolecek Exp $ - -You must edit your "${PKG_SYSCONFDIR}/etc/php.ini" if you want -to use PEAR packages: - - register_argc_argv = On - register_globals = On - -=========================================================================== diff --git a/lang/php5/Makefile b/lang/php5/Makefile index de4d26f3bfc..d69c216b88b 100644 --- a/lang/php5/Makefile +++ b/lang/php5/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.1.1.1 2004/10/29 20:31:54 jdolecek Exp $ +# $NetBSD: Makefile,v 1.2 2004/11/01 19:46:18 jdolecek Exp $ # PKGNAME= php-${PHP5_VERSION} +PKGREVISION= 1 CATEGORIES= lang MAINTAINER= pancake@phreaker.net @@ -15,13 +16,20 @@ LIBTOOL_OVERRIDE= # empty .include "Makefile.common" +CGIDIR= ${PREFIX}/libexec/cgi-bin EGDIR= ${PREFIX}/share/examples/php CONF_FILES= ${EGDIR}/php.ini-recommended ${PKG_SYSCONFDIR}/php.ini OWN_DIRS= ${PREFIX}/${PHP_EXTENSION_DIR} post-install: - @${INSTALL_DATA_DIR} ${EGDIR} - cd ${WRKSRC} && ${INSTALL_DATA} php.ini-dist php.ini-recommended ${EGDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/sapi/cli/php ${PREFIX}/bin/php + ${INSTALL_DATA} ${WRKSRC}/sapi/cli/php.1 ${PREFIX}/man/man1/php.1 + ${INSTALL_DATA_DIR} ${CGIDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/sapi/cgi/php ${CGIDIR} + ${INSTALL_DATA_DIR} ${EGDIR} + cd ${WRKSRC}; ${INSTALL_DATA} php.ini-dist php.ini-recommended ${EGDIR} + ${INSTALL_DATA_DIR} ${PREFIX}/share/php + ${INSTALL_DATA} ${WRKSRC}/php.gif ${PREFIX}/share/php .include "../../mk/bsd.pkg.mk" diff --git a/lang/php5/PLIST b/lang/php5/PLIST index 6c46ce32ab6..f0f2d61dd11 100644 --- a/lang/php5/PLIST +++ b/lang/php5/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2004/10/29 20:31:54 jdolecek Exp $ +@comment $NetBSD: PLIST,v 1.2 2004/11/01 19:46:18 jdolecek Exp $ bin/pear bin/php bin/php-config @@ -232,8 +232,12 @@ lib/php/data/PEAR/package.dtd lib/php/data/PEAR/template.spec lib/php/doc/Archive_Tar/docs/Archive_Tar.txt lib/php/pearcmd.php +libexec/cgi-bin/php +man/man1/php.1 share/examples/php/php.ini-dist share/examples/php/php.ini-recommended +share/php/php.gif +@dirrm share/php @dirrm share/examples/php @dirrm lib/php/doc/Archive_Tar/docs @dirrm lib/php/doc/Archive_Tar |