To setup a source port, first install the game as normal. Then go the source port's web site, download the source port's Windows version (usually stored in a ZIP archive), and extract the archive into the location where the game was installed. Running the source port executable (e.g. the file named prboom.exe for PrBoom, zdoom.exe for ZDoom and so on) should then start the game.