salt rc.d scripts (Was: RUN_DEPENDS for python based port)

Chris Rees utisoft at
Sun Dec 25 13:29:38 UTC 2011

On 23 Dec 2011 20:14, "Christer Edwards" <christer.edwards at> wrote:
> On Fri, Dec 23, 2011 at 8:09 AM, Greg Larkin <glarkin at> wrote:
> > You get the award for persistence, so pat yourself on the back!
> That's one way to look at it :)
> So, I've been double-validating every aspect of this port as I want to
> make sure it's 100% before I submit it, and I ran into one more issue.
> I'm using a files/ to tweak the upstream to
> match port standards. The one thing it is not doing is installing the
> configuration (data_files) as ".sample". I did some digging and the
> Python documentation says that the can not rename data_files
> when it installs them[1]. Did I screw up the patch, or is there a
> different way it should be done?
> I get this error when building the port:
> running install_data
> error: can't copy 'conf/master.sample': doesn't exist or not a regular
> *** Error code 1
> This is a pastebin of my

Easy fix:

In Makefile,

.for file in # config filenames here
       ${MV} ${WRKSRC}/${file} ${WRKSRC}/${file}.sample


More information about the freebsd-ports mailing list