From owner-freebsd-ports@FreeBSD.ORG Thu May 22 03:03:55 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37E25106566C for ; Thu, 22 May 2008 03:03:55 +0000 (UTC) (envelope-from mspitzer@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.178]) by mx1.freebsd.org (Postfix) with ESMTP id E15BA8FC17 for ; Thu, 22 May 2008 03:03:54 +0000 (UTC) (envelope-from mspitzer@gmail.com) Received: by el-out-1112.google.com with SMTP id m34so982363ele.13 for ; Wed, 21 May 2008 20:03:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=M6GZVrPFzbRH9qUmDz4844RjVjIPYCMYKwb1p6qGM54=; b=Mr1pZnmud5gAyoQTEbqAp661ZneK+YmdGD+7lheHIC5CdaihmjQNMq/uSu9CEgtfgnK9OBeyu7IpoBi090z7kvxI8fPAXOEIgZAf4WP2I1iDFXZDIb57MWQlyDeBQy8oPBqBdvvYJGsm5ECuEcl/tcVVehpNLwwrYVg9anzlc+k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XpyHrKB1twQKCEgRnRXgfXqultMI9c56nkPuwNUenj6w94r34ZNFmUYWWxHcsn/ndFFWUcF+mJ7b9Iy/FZj2O0HAh0Za9yQcqmjlvBQLEn3IPctuODHD/heG4tai/pUTK2TgUugDNZdY6LHWlsuLQdAIviK1QJvfDL8uIqeEwhE= Received: by 10.142.113.17 with SMTP id l17mr4183874wfc.259.1211425433625; Wed, 21 May 2008 20:03:53 -0700 (PDT) Received: by 10.143.123.5 with HTTP; Wed, 21 May 2008 20:03:53 -0700 (PDT) Message-ID: <8c50a3c30805212003v71fc1f31u22d9a7e407e76fa2@mail.gmail.com> Date: Wed, 21 May 2008 23:03:53 -0400 From: "Marc Spitzer" To: "freebsd-ports@freebsd.org" In-Reply-To: <20080522025134.GA3427@shepherd> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8c50a3c30805181720w113c309bv62e699c7dadb9253@mail.gmail.com> <20080519013135.GA12308@lor.one-eyed-alien.net> <8c50a3c30805211648t42957785ocf87fb2558acb976@mail.gmail.com> <20080522025134.GA3427@shepherd> Subject: Re: hier 7 question X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 03:03:55 -0000 On Wed, May 21, 2008 at 10:51 PM, Sahil Tandon wrote: > * Marc Spitzer [05-21-2008]: > >> On Sun, May 18, 2008 at 9:31 PM, Brooks Davis 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