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
This commit is contained in:
parent
2df535091b
commit
2f837d7164
1 changed files with 16 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue