umm.. you'll have quite a learning curve ahead of you, but preserver.
open up terminal.app and type -
>ls .profile
You should see a response like -
eric@quark:~>ls .profile
.profile
eric@quark:~>
this means that the file ".profile" exists. If instead you get something like -
eric@quark:~>ls .profile
ls: .profile: No such file or directory
eric@quark:~>
Then you should type -
>touch .profile
this will create the file with no contents.
Next type -
>open .profile
(I assume you don't know about vi, so TextEdit.app will have to do for now).
Paste in the macports environment settings, save, and open a new terminal window. macports should now work.