Re: New Port Advice

2009-09-03 Thread Stuart Henderson
On 2009/09/03 18:57, Brad Tilley wrote: > On Tue, Sep 1, 2009 at 7:36 PM, Stuart Henderson wrote: > > > you can set a "do-install:" target in the port Makefile. if you look > > around the ports tree you'll find plenty of examples. > > Thanks Stuart for the advice. I have two more questions. The >

Re: New Port Advice

2009-09-03 Thread Brad Tilley
On Tue, Sep 1, 2009 at 7:36 PM, Stuart Henderson wrote: > you can set a "do-install:" target in the port Makefile. if you look > around the ports tree you'll find plenty of examples. Thanks Stuart for the advice. I have two more questions. The do-install section below works fine... is that an acc

Re: New Port Advice

2009-09-01 Thread Stuart Henderson
On 2009/09/01 19:04, Brad Tilley wrote: > On Tue, Sep 1, 2009 at 2:39 PM, Stuart Henderson wrote: > > On 2009/09/01 14:26, Brad Tilley wrote: > > > A version number of some sort is required, see packages-specs(7) > > I've renamed 'random.zip' to 'ent-1.0.zip' and hosted it myself for now. > > >

Re: New Port Advice

2009-09-01 Thread Brad Tilley
On Tue, Sep 1, 2009 at 3:06 PM, Matthias Kilian wrote: > You should just set ALL_TARGET = ent in the port Makefile. No reason > to add a patch. Thanks a lot. That worked great. > Please have a look at bsd.port.mk(5) (warning: that's a lot of > stuff) or, for a starter, on Bernds porting tutorial

Re: New Port Advice

2009-09-01 Thread Brad Tilley
On Tue, Sep 1, 2009 at 2:39 PM, Stuart Henderson wrote: > On 2009/09/01 14:26, Brad Tilley wrote: > A version number of some sort is required, see packages-specs(7) I've renamed 'random.zip' to 'ent-1.0.zip' and hosted it myself for now. > What's the reason for making it static? The author me

Re: New Port Advice

2009-09-01 Thread Bryan
On Tue, Sep 1, 2009 at 14:08, Matthias Kilian wrote: > On Tue, Sep 01, 2009 at 09:06:49PM +0200, Matthias Kilian wrote: >> http://www.openbsd.outback.org/papers/opencon07-portstutorial/index.html > > Copy&Waste error alert! The correct url is: > > http://www.openbsd.org/papers/opencon07-portstutori

Re: New Port Advice

2009-09-01 Thread Matthias Kilian
On Tue, Sep 01, 2009 at 09:06:49PM +0200, Matthias Kilian wrote: > http://www.openbsd.outback.org/papers/opencon07-portstutorial/index.html Copy&Waste error alert! The correct url is: http://www.openbsd.org/papers/opencon07-portstutorial/index.html (noticed by Jim Razmus)

Re: New Port Advice

2009-09-01 Thread Matthias Kilian
[ not commenting on what sthen@ already commented ] On Tue, Sep 01, 2009 at 02:26:24PM -0400, Brad Tilley wrote: > 2. How much tweaking of the author's make file is acceptable, I added > a target for make all You should just set ALL_TARGET = ent in the port Makefile. No reason to add a patch. >

Re: New Port Advice

2009-09-01 Thread Stuart Henderson
On 2009/09/01 14:26, Brad Tilley wrote: > Hi guys, > > I'm working on a port (my first) of a tool I use at times on Windows > and Linux. It's called ent and it does statistical tests on streams of > data. It attempts to tell if data is random and/or encrypted. I have a > basic port that works, bui

New Port Advice

2009-09-01 Thread Brad Tilley
Hi guys, I'm working on a port (my first) of a tool I use at times on Windows and Linux. It's called ent and it does statistical tests on streams of data. It attempts to tell if data is random and/or encrypted. I have a basic port that works, builds and installs on i386, amd64 and sparc64 in curre