diff options
author | jdolecek <jdolecek@pkgsrc.org> | 2006-05-07 09:29:35 +0000 |
---|---|---|
committer | jdolecek <jdolecek@pkgsrc.org> | 2006-05-07 09:29:35 +0000 |
commit | f0ed2fc9659470372de8f3bbb798974ca2b7b099 (patch) | |
tree | 6239298f32bd49b65df180a73c39387f3d59e955 /lang/php5/Makefile | |
parent | d8a40a9d3c2a45818a95968617744c32ad50aa61 (diff) | |
download | pkgsrc-f0ed2fc9659470372de8f3bbb798974ca2b7b099.tar.gz |
fetch PEAR installation archive too, to avoid use of wget by PHP installation
PR: pkg/33432 by Martti Kuparinen
XXX PEAR should be moved to separate package
Diffstat (limited to 'lang/php5/Makefile')
-rw-r--r-- | lang/php5/Makefile | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/lang/php5/Makefile b/lang/php5/Makefile index 078885a15ed..5cb9ac9e22e 100644 --- a/lang/php5/Makefile +++ b/lang/php5/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2006/05/06 22:42:44 jdolecek Exp $ +# $NetBSD: Makefile,v 1.31 2006/05/07 09:29:35 jdolecek Exp $ PKGNAME= php-${PHP_BASE_VERS} #PKGREVISION= # empty @@ -31,6 +31,21 @@ EGDIR= ${PREFIX}/share/examples/php CONF_FILES= ${EGDIR}/php.ini-recommended ${PKG_SYSCONFDIR}/php.ini OWN_DIRS= ${PREFIX}/${PHP_EXTENSION_DIR} +# fetch pear PHAR explicitly; the PHP installation tries to wget it if it's not +# present; use DIST_SUBDIR, since the pear file is not versioned +DIST_SUBDIR= ${PKGNAME} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ + install-pear-nozlib.phar + +# do not checksum the pear file - it's not versioned and might (and +# very probably will) change over time +IGNOREFILES= install-pear-nozlib.phar + +SITES.install-pear-nozlib.phar = http://pear.php.net/ + +post-extract: + ${CP} ${DISTDIR}/install-pear-nozlib.phar ${WRKSRC}/pear/ + post-install: ${INSTALL_PROGRAM} ${WRKSRC}/sapi/cli/php ${PREFIX}/bin/php ${INSTALL_DATA} ${WRKSRC}/sapi/cli/php.1 ${PREFIX}/${PKGMANDIR}/man1/php.1 |