OK, first to say:
I didn´t code anything, i just tried this and it worked!
Download Wolfendoom here: http://www.swefurcon.se/files/wolfendoom/
Add the files from the addon folder to your prboom directory, or atleast the episodes you want to play (original.wad + original.deh is the normal Wolfenstein 3D for example), Then add a new entry into your dmenu.cfg with the episode you want to play, looking like this, but don´t forget to edit the paths if they differ:
MenuItem Doom
{
Icon = "res/ports/doom.png"
Name = "Doom"
Executable = "chmod +x prboom ; ./prboom -file original.wad -deh original.deh"
WorkDir = "/usr/local/ports/prboom"
}
Then you can start shooting Nazis.
ATTENTION: On my first try my SD card got corrupt and prboom didn´t start after that, so i had to format my card. It´d be wise to make a backup of your card or atleast the most important things prior running WolfenDoom.
Have fun!