Modified: trunk/dports/lang/php4/Portfile (74534 => 74535)
--- 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 (74534 => 74535)
--- 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}