summaryrefslogtreecommitdiff
path: root/lang/php5/Makefile
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2006-02-17 09:48:01 +0000
committeradam <adam@pkgsrc.org>2006-02-17 09:48:01 +0000
commit95763fcf7cb2720ee66c9d18f363101b3807a70b (patch)
tree8e25735a0f6177ad3a6749cfc0a6a7fff7206a3a /lang/php5/Makefile
parentfcf951a43d55b8a1bba12f36ef870659f28ccb96 (diff)
downloadpkgsrc-95763fcf7cb2720ee66c9d18f363101b3807a70b.tar.gz
Install bin/pear with correct file permissions
Diffstat (limited to 'lang/php5/Makefile')
-rw-r--r--lang/php5/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/php5/Makefile b/lang/php5/Makefile
index c76854bc932..1ba0bb7789a 100644
--- a/lang/php5/Makefile
+++ b/lang/php5/Makefile
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2006/02/06 06:39:59 martti Exp $
-#
+# $NetBSD: Makefile,v 1.28 2006/02/17 09:48:01 adam Exp $
PKGNAME= php-${PHP_BASE_VERS}
#PKGREVISION= 1
@@ -36,7 +35,8 @@ OWN_DIRS= ${PREFIX}/${PHP_EXTENSION_DIR}
# file during installation; this replaces former patches/patch-al
post-install:
${SED} -e 's,\(-d output_buffering=1\) \(\$$INCDIR/pearcmd.php\),\1 -n \2,' ${PREFIX}/bin/pear > ${PREFIX}/bin/pear.new && \
- ${MV} ${PREFIX}/bin/pear.new ${PREFIX}/bin/pear
+ ${MV} ${PREFIX}/bin/pear.new ${PREFIX}/bin/pear && \
+ ${CHMOD} 755 ${PREFIX}/bin/pear
${INSTALL_PROGRAM} ${WRKSRC}/sapi/cli/php ${PREFIX}/bin/php
${INSTALL_DATA} ${WRKSRC}/sapi/cli/php.1 ${PREFIX}/${PKGMANDIR}/man1/php.1
${INSTALL_DATA_DIR} ${CGIDIR}