# cd /usr/ports/x11/dwm
# make fetch
# make patch
# edit /usr/ports/pobj/dwm-...
# make install
# make clean
- I copy them to local ports tree
- make extract
- do changes in source
- make build
- make update-patches
- make clean patch
- make package
$ make patch
$ cd $(make show=WRKDIST)
*modify what you need*
$ cd -
$ make reinstall
$ make clean=all
$ diff -u