From a shell prompt, cd into the directory where the distribution was unpacked.
Execute the command:
where directory is the top-level directory where the software is to be installed. If directory is not specified, /opt/local will be used.
This creates a "makefile". If any of the configuration settings could not be automatically determined, you will be warned that the makefile may need manual adjustment (although this is rare).
You may want to inspect the generated makefile anyway, just to see.
Once you have a working installation, you may as well remove the temporary files from the distribution directory, by executing the command:
make cleanThis does not remove the makefile, but it does clear out the real junk.