Skip to content
Permalink
Browse files

Port: php4

Version:		4.4.1
Revision:		1
Bug:			https://trac.macports.org/ticket/4010
Approved by:	me (no response from maintainer on bug)

Update port www/php4
Correct some post-install messages to have correct paths

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@15421 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
blb committed Dec 11, 2005
1 parent 7d30efc commit a08b2008e917a72f72186264c8e005ae16c2514c
Showing with 5 additions and 5 deletions.
  1. +5 −5 www/php4/Portfile
@@ -1,4 +1,4 @@
# $Id: Portfile,v 1.24 2005/11/30 08:32:44 mww Exp $
# $Id: Portfile,v 1.25 2005/12/11 09:37:07 blb Exp $

PortSystem 1.0
name php4
@@ -187,19 +187,19 @@ post-destroot {
}

post-install {
ui_msg "\nIf this your first install, you might want"
ui_msg "\nIf this is your first install, you might want"

if { [variant_isset apache] } {
ui_msg " * enable php in apache :\n"

ui_msg "cd ${prefix}/libexec/apache"
ui_msg "apxs -a -e -n \"php4\" libphp4.so\n"
ui_msg "${prefix}/apache/bin/apxs -a -e -n \"php4\" libphp4.so\n"
ui_msg "* copy ${prefix}/etc/php.ini-dist to ${prefix}/etc/php.ini"
}

if { [variant_isset apache2] } {
ui_msg "cd ${prefix}/apache2/libs"
ui_msg "apxs -a -e -n \"php4\" libphp4.so\n"
ui_msg "cd ${prefix}/apache2/modules"
ui_msg "${prefix}/apache2/bin/apxs -a -e -n \"php4\" libphp4.so\n"
ui_msg "* copy ${prefix}/etc/php.ini-dist to ${prefix}/etc/php.ini"
}

0 comments on commit a08b200

Please sign in to comment.
You can’t perform that action at this time.