We have a number of in-house utilities that we push out as packages. Right now these are built using the standard make framework, with a bunch of hand-crafted glue to build and sign the packages before pushing them to our internal distribution server.
I would really like to take advantage of <bsd.port.mk> to automate as much of the packing process as I can. The problem is that port builds assume you're obtaining the program source from external distribution files, whereas I want to build right out of the port directory itself, i.e. have the program source live under /usr/ports/foo/bar/src/. Has anyone come up with an idiomatic solution to this that doesn't involve surgery on /usr/share/mk/*port*? --lyndon