Skip to content

Commit

Permalink
Port: php4
Browse files Browse the repository at this point in the history
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 a08b200
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions 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
Expand Down Expand Up @@ -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"
}

Expand Down

0 comments on commit a08b200

Please sign in to comment.