diff options
Diffstat (limited to 'lang/php5/Makefile')
-rw-r--r-- | lang/php5/Makefile | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/lang/php5/Makefile b/lang/php5/Makefile index cefb0525992..082f6420a90 100644 --- a/lang/php5/Makefile +++ b/lang/php5/Makefile @@ -1,15 +1,15 @@ -# $NetBSD: Makefile,v 1.13 2005/05/22 20:08:10 jlam Exp $ +# $NetBSD: Makefile,v 1.13.2.1 2005/09/03 15:12:32 salo Exp $ # PKGNAME= php-${PHP_BASE_VERS} -PKGREVISION= # empty +PKGREVISION= 1 CATEGORIES= lang HOMEPAGE= http://www.php.net/ COMMENT= PHP Hypertext Preprocessor version 5 USE_PKGINSTALL= YES -USE_TOOLS+= gmake +USE_TOOLS+= gmake gzcat LIBTOOL_OVERRIDE= # empty .include "Makefile.php" @@ -17,9 +17,19 @@ LIBTOOL_OVERRIDE= # empty CGIDIR= ${PREFIX}/libexec/cgi-bin EGDIR= ${PREFIX}/share/examples/php +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +XMLRPC_DISTFILE= XML_RPC-1.4.0.tgz +SITES_${XMLRPC_DISTFILE}= http://pear.php.net/get/ +DISTFILES= ${EXTRACT_ONLY} ${XMLRPC_DISTFILE} + CONF_FILES= ${EGDIR}/php.ini-recommended ${PKG_SYSCONFDIR}/php.ini OWN_DIRS= ${PREFIX}/${PHP_EXTENSION_DIR} +post-extract: + ${RM} -f ${WRKSRC}/pear/packages/XML_RPC-1.2.2.tar + ${GZCAT} ${DISTDIR}/${XMLRPC_DISTFILE} \ + >${WRKSRC}/pear/packages/${XMLRPC_DISTFILE:S/.tgz/.tar/} + post-install: ${INSTALL_PROGRAM} ${WRKSRC}/sapi/cli/php ${PREFIX}/bin/php ${INSTALL_DATA} ${WRKSRC}/sapi/cli/php.1 ${PREFIX}/man/man1/php.1 |