Set PATH environment variable for PostgreSQL server in smf manifest.

I have some PL/Perl modules (HTML::HTMLDoc is one of them) that don't work on SmartOS.
Problem is that module calls htmldoc binary (located in /opt/local/bin) and to find it we have to set the PATH variable in the SMF manifest. Would this be desirable for other SMF manifests?