CC: | jnbek1972 [...] gmail.com |
Subject: | Make possible to run pm2port from any directory. |
It would be nice to be able to run this from any directory to generate the port directory.
cd /tmp
pm2port Games::NES::SpriteMaker
and have the p5-Games-NES-SpriteMaker directory created in whatever a directory with the $Cwd/$port_category outputting the pertinent path info:
pm2port Games::NES::SpriteMaker
Creating p5-Games-NES-SpriteMaker port...
# Stuff here
Successfully created games/p5-Games-NES-SpriteMaker
then I can
cp -r games/p5-Games-NES-SpriteMaker /usr/ports/games/
cd /usr/ports/games/p5-Games-NES-SpriteMaker; make install clean
I understand that adding the port category may be troublesome, but at the very least I'd like to be able to run pm2port anywhere and get a port directory structure/Makefile generated even if it's just:
$Cwd/p5-Games-NES-SpriteMaker
Thanks