Date: Wed, 21 May 2008 23:03:53 -0400 From: "Marc Spitzer" <mspitzer@gmail.com> To: "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org> Subject: Re: hier 7 question Message-ID: <8c50a3c30805212003v71fc1f31u22d9a7e407e76fa2@mail.gmail.com> In-Reply-To: <20080522025134.GA3427@shepherd> References: <8c50a3c30805181720w113c309bv62e699c7dadb9253@mail.gmail.com> <20080519013135.GA12308@lor.one-eyed-alien.net> <8c50a3c30805211648t42957785ocf87fb2558acb976@mail.gmail.com> <20080522025134.GA3427@shepherd>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 21, 2008 at 10:51 PM, Sahil Tandon <sahil@tandon.net> wrote: > * 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. > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8c50a3c30805212003v71fc1f31u22d9a7e407e76fa2>