So MacPorts is the most painless way of installing stuff on my machine. But I want some custom options on my php5 install. How do I do this?
With a downloaded version of php, I would do this: ./php_folder/configure --with-config-file-scan-dir=/etc/php.d
With MacPorts I install it with this: sudo port install php5 +apache2 +mysql5 +pear
But I want to do something like this... sudo port install php5 +apache2 +mysql5 +pear --with-config-file-scan-dir=/etc/php.d
I just have no idea how to do it. Documentation says I can create a portfile but that looks a bit overkill for what I want to do.