Revision: 74535 http://trac.macports.org/changeset/74535 Author: ryandesign@macports.org Date: 2010-12-20 14:34:03 -0800 (Mon, 20 Dec 2010) Log Message: ----------- php4, php52: note that these versions are obsolete Modified Paths: -------------- trunk/dports/lang/php4/Portfile trunk/dports/lang/php52/Portfile Modified: trunk/dports/lang/php4/Portfile =================================================================== --- trunk/dports/lang/php4/Portfile 2010-12-20 20:54:03 UTC (rev 74534) +++ trunk/dports/lang/php4/Portfile 2010-12-20 22:34:03 UTC (rev 74535) @@ -397,6 +397,12 @@ } } +notes " +PHP 4 is obsolete. Please update to PHP 5 (the php5 port).\ +For information on how to update your code, please see\ +http://www.php.net/manual/en/migration5.php +" + post-activate { if {[file exists ${prefix}/etc/php.ini] && ![file exists ${phpinidir}/php.ini]} { move ${prefix}/etc/php.ini ${phpinidir} Modified: trunk/dports/lang/php52/Portfile =================================================================== --- trunk/dports/lang/php52/Portfile 2010-12-20 20:54:03 UTC (rev 74534) +++ trunk/dports/lang/php52/Portfile 2010-12-20 22:34:03 UTC (rev 74535) @@ -457,6 +457,12 @@ } } +notes " +PHP 5.2 is obsolete. Please update to PHP 5.3 (the php5 port).\ +For information on how to update your code, please see\ +http://www.php.net/manual/en/migration53.php +" + post-activate { if {[file exists ${prefix}/etc/php.ini] && ![file exists ${phpinidir}/php.ini]} { move ${prefix}/etc/php.ini ${phpinidir}