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 | 2f837d7164c2ec335ccd90446deae131f21b78fd (patch) | |
tree | 6239298f32bd49b65df180a73c39387f3d59e955 /lang | |
parent | 2df535091b4b128c1280e0d92a0f8d8951fb0be2 (diff) | |
download | pkgsrc-2f837d7164c2ec335ccd90446deae131f21b78fd.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')
-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 |