On Wed, May 21, 2008 at 10:51 PM, Sahil Tandon <[EMAIL PROTECTED]> wrote:
> * Marc Spitzer <[EMAIL PROTECTED]> [05-21-2008]:
>
>> On Sun, May 18, 2008 at 9:31 PM, Brooks Davis <[EMAIL PROTECTED]> 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.
>

Forgive my poor explanation.  I do not have a problem with putting
things in libexec, especially if they actually belong there.  My
problem stems from ignorance in two ways:
1: I know almost nothing about autoconf and friends from a developer POV
2: My knowledge of ports is slightly better, getting better all the time though.

The configure script does not have a --testdir knob that I can set to
${PREFIX}/libexec/test to install the test programs their, although it
does have one for everything else.  I can just just do 'mv
${prefix}/test ${prefix}/libexec' to move it over, but that is what I
was saying looks very hackish.  So I guess my question is what would
be the correct way to move a directory tree over with out steping on
any preexisting directory there?

Thanks,

marc

-- 
Freedom is nothing but a chance to be better.
Albert Camus
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to