Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2008 22:51:35 -0400
From:      Sahil Tandon <sahil@tandon.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: hier 7 question
Message-ID:  <20080522025134.GA3427@shepherd>
In-Reply-To: <8c50a3c30805211648t42957785ocf87fb2558acb976@mail.gmail.com>
References:  <8c50a3c30805181720w113c309bv62e699c7dadb9253@mail.gmail.com> <20080519013135.GA12308@lor.one-eyed-alien.net> <8c50a3c30805211648t42957785ocf87fb2558acb976@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Marc Spitzer <mspitzer@gmail.com> [05-21-2008]:

> On Sun, May 18, 2008 at 9:31 PM, Brooks Davis <brooks@freebsd.org> wrote:
> > On Sun, May 18, 2008 at 08:20:03PM -0400, Marc Spitzer wrote:
> >> Hello,
> >>
> >> I am porting ATF, http://www.netbsd.org/~jmmv/atf/, a unit testing
> >> framework for C, C++ and Shell.  The thing is is that it installs a
> >> bunch of self tests in ${PREFIX}/tests/atf.  Is this the right place
> >> for it?  From Hier(7) binaries should not go under share/.  Otherwise
> >> I think it is done.  Personally I think the tests/port could be a
> >> handy thing to have.  What is your opinion/advice on this?
> >
> > libexec/ seems like it might be the right place.
> >
> 
> Forgive me for an ignorant question but assuming I can not figure out
> how to add a knob onto the configure script,  what would be the proper
> way to move the files under libexec?  I could just move ${PREFIX}/test
> to ${PREFIX}/libexec but that seems extra hackish.  I do not want a
> solution but a pointer would be nice.

It's not hackish to put executables in libexec.  See 5.14.5 of the Porter's 
Handbook and adjust your Makefile to install the file(s) there.

-- 
Sahil Tandon <sahil@tandon.net>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080522025134.GA3427>