Created attachment 168650 [details] v0 Keep PORT* variabels abstraction simple by not forcing consumers to manipulate plist in case of empty directories somewhere in the hierarchy. Since pkg(8) won't copy empty dirs without @dir let's go beynd and remove them from STAGDIR as well.
Do you plan to fix all the ports that will fail to package with DEVELOPER_MODE due to "duplicate directory listing: foo, fatal (developer mode)"?
Comment on attachment 168650 [details] v0 No, the patch was mainly for illustration and needs more work.